- Oct 22, 2019
-
-
Tomasz Drwięga authored
* Implement Printable for tuples. * Add debugging function. * Add debug 1. * Implement for everything. * RuntimeDebug derive. * Introduce RuntimeDebug. * Add some dummy logging. * Replace RuntimeDebug with Debug. * Revert "Replace RuntimeDebug with Debug." This reverts commit bc47070a. * Working on Debug for all. * Fix bounds. * Add debug utils. * Implement runtime logging. * Add some docs and clean up. * Clean up derives. * Fix custom derive impl. * Bump runtime. * Fix long lines. * Fix doc test. * Use CARGO_CFG_STD. * Revert "Use CARGO_CFG_STD." This reverts commit ea429566. * Use parse_macro_input * Update lockfile. * Apply review suggestions. * Remove stray re-export. * Add no-std impl. * Update lockfile.
-
Ashley authored
* Remove sr-arithmetic/fuzzer from workspace to fix windows builds * Remove sr-arithmetic/fuzzer from check_runtime.sh
-
Nikolay Volf authored
-
* refactor map macro for more general use Signed-off-by: yjhmelody <[email protected]> * use $(,)? Signed-off-by: yjhmelody <[email protected]> * Update core/primitives/src/lib.rs Co-Authored-By: thiolliere <[email protected]> * Update core/primitives/src/lib.rs Co-Authored-By: thiolliere <[email protected]>
-
Tomasz Drwięga authored
-
asynchronous rob authored
* parse decl_storage getters with fn keyword * test for get in decl_storage * update all decl_storage! getters * bump version * adjust missed doc line
-
Tomasz Drwięga authored
* Update impl-serde to patch RPC. * Add test. * Fix long line.
-
- Oct 21, 2019
-
-
Nikolay Volf authored
-
CrocdileChan authored
* use ThreadPool to spawn_worker() * use ThreadPool to implement spawn_worker(fn) * use ThreadPool to implement spawn_worker(f) * update [dependencies] threadpool and num_cpus version * rm 'extern crate num_cpus' * cargo.lock update * merge the newest cargo.lock * Update Cargo.lock * use Mutex to wrap OffchainWorkers.thread_pool * format use crate * use parking_lot::Mutex instead of std::sync::Mutex
-
* Change DefaultMaxDepth from 1024 to 32 * bump impl and spec version
-
- Oct 20, 2019
-
-
Bastian Köcher authored
-
- Oct 19, 2019
-
-
Caio authored
Fix some Clippy issues
-
Andrew Dirksen authored
Improves user experience.
-
Ashley authored
* Split up sr_arithmetic.rs * Add some basic fuzzing * Add more tests * Add printing to fuzzing * Clean things up * Remove arbitrary * Remove comments * More cleaning, fix small error that was causing a panic * Add rational128 * Remove old random tests * introduce panic * fuzzing should panic properly * Bit of cleanup * Add a test uncovered via fuzzing that fails! * Few small changes * Move sr-arithmetic to its own crate * Fix fuzzing * Got rid of fuzzer Cargo.lock * Added no_std * re-export assert_eq_error_rate * bump impl and spec version * re add convert into * Add an ignore to the test * Enabled benchmarking * Reindent * Clean up biguint fuzzer * Clean up biguint more * shuffle sr-primitives/traits about * Remove unused dependencies * Apply clippy suggestions * upgrade primitive-types versions * Run tests against num-bigint * Get rid of allocation in assert_biguints_eq * Add an optimisation to multiply_by_rational * rename parts_per_x -> per_things * Change fuzzer cargo.toml * Remove allocation from BigUint PartialEq impl * Remove accidental indentation * Renmove Lazy and Convert traits * Copy assert_eq_error_rate macro back to sr-primitives * Add documentation to fuzzers * fix sr-primitives assert_eq_error_rate * add cfg(test) * Update core/sr-arithmetic/src/traits.rs Co-Authored-By: Kian Paimani <[email protected]> * Update core/sr-arithmetic/src/traits.rs Co-Authored-By: Kian Paimani <[email protected]> * Update core/sr-arithmetic/fuzzer/src/biguint.rs Co-Authored-By: Kian Paimani <[email protected]> * Allow rounding up in rational128 * Make changes to biguint.rs * Update core/sr-arithmetic/src/traits.rs Co-Authored-By: Kian Paimani <[email protected]> * Final touches * Convert to num_bigint::BigUint to compare * remove unused mut * more small changes * shuffle sr-primitives trait imports * more code review * move assert_eq_error_rate to lib.rs * Update core/sr-arithmetic/fuzzer/src/biguint.rs Co-Authored-By: Bastian Köcher <[email protected]> * Get rid of S * Simplify rational128 honggfuzz link * Insignificantly change rational128 fuzzing code * Slightly tidy up some of the arithmetic logic * Get rid of sr_arithmetic again(?) and fix sr-primitives/weights * Apply updates to sr_arithmetic.rs to crate
-
- Oct 18, 2019
-
-
* grandpa: support pluggable custom voting rules * grandpa: add docs to grandpa voting rule * grandpa: make voting rule mandatory * grandpa: add test for voting rule * node: add GRANDPA voting rule * grandpa: pass backend to VotingRule * core: fix docs in SelectChain::finality_target * grandpa: implement 3/4 of unfinalized chain restriction as voting rule * grandpa: rename AlwaysBehindBestBlock voting rule * grandpa: fix tests * grandpa: remove useless test * grandpa: extend environemnt voting rule test * grandpa: add proofs to unreachable statements * grandpa: fix typo * grandpa: fix docs
-
Svyatoslav Nikolsky authored
* support block revert operation in cache * #[cfg(test)] -> fn unused_sink() * swap conditions * post-merge fix
-
Ximin Luo authored
* Make build work with rustc 1.37 stable and RUSTC_BOOTSTRAP=1 * Bump versions to run CI
-
Arkadiy Paronyan authored
* Persist block announcements * Renamed sync requests to fork targets * Fixed pruning detection condition
-
Bastian Köcher authored
specified
-
Max Inden authored
* core/finality-grandpa: Improve code comments * core/finality-grandpa: Rename VoteOrPrecommit to PrevoteOrPrecommit According to the Grandpa paper [1]: > A vote is a block hash, together with some metadata such as round number and the type of vote, such as prevote or precommit, all signed with a voter’s private key. To reduce confusion this patch makes the code consistent with the research paper. [1] https://github.com/w3f/consensus/blob/master/pdf/grandpa.pdf * core/finality-grandpa: Add comment for NetworkStream concept * core/finality-grandpa: Improve round_communication doc comment * core/finality-grandpa: Rename PrevoteOrPrecommit to Vote * core/finality-grandpa: Represent NetworkStream state machine as enum * core/finality-grandpa: Improve KeepTopics comment
-
h4x3rotab authored
In `core/client/src/client.rs`: "innacurate" -> "inaccurate"
-
Shawn Tabrizi authored
* Stuck on service * Make service compile * Remove Grandpa dependency * Update node-template/runtime/Cargo.toml Co-Authored-By: Kian Paimani <[email protected]> * Fix build * Update crypto import * Update node-template/src/service.rs Co-Authored-By: André Silva <[email protected]> * Update node-template/src/service.rs Co-Authored-By: André Silva <[email protected]> * Update node-template/src/service.rs Co-Authored-By: André Silva <[email protected]> * Update node-template/src/service.rs Co-Authored-By: André Silva <[email protected]> * Update node-template/runtime/src/lib.rs Co-Authored-By: André Silva <[email protected]> * Fix macro dependency * Trying to add grandpa back * Update node-template/src/chain_spec.rs Co-Authored-By: André Silva <[email protected]> * Update node-template/src/chain_spec.rs Co-Authored-By: André Silva <[email protected]> * Update node-template/src/chain_spec.rs Co-Authored-By: André Silva <[email protected]> * Update node-template/src/service.rs Co-Authored-By: André Silva <[email protected]> * Update node-template/src/service.rs Co-Authored-By: André Silva <[email protected]> * Unused import * Use grandpa block import
-
-
Kian Paimani authored
* Update CONTRIBUTING.adoc * fix typos * Update CONTRIBUTING.adoc Co-Authored-By: André Silva <[email protected]>
-
cheme authored
* fix child_storage_hash * extract common implementation for ext and testing * cleaning impl. * replace ExtBasisMut by actual Ext * remove extbasis. * Update tests to use Ext from test externalities. * use Ext constructor for getting ext from TestExternalities. * Add missing extensions from ext. * fix wasmi test * Fix merge error.
-
kwingram25 authored
* Use Bytes for contract input_data * Update srml/contracts/rpc/src/lib.rs
-
- Oct 17, 2019
-
-
André Silva authored
* grandpa: don't expire next round messages * grandpa: fix test * grandpa: first round in set is 1 * grandpa: fix test * grandpa: update doc
-
-
Kian Paimani authored
* Initial draft that compiles * Extract payment stuff from balances * Extract multiplier update stuff from system * Some fixes. * Update len-fee as well * some review comments. * Remove todo * bump
-
Bastian Köcher authored
-
Ashley authored
* Add an error type to Babe * Add an error type to PoW * Simplify error enum variant names * Update core/consensus/babe/src/lib.rs Co-Authored-By: Bastian Köcher <[email protected]> * Add missing newline * Split up DataProvider into CreateInherents and CheckInherents
-
- Oct 16, 2019
-
-
Bastian Köcher authored
* Make `wasmi_execution` public to use it from tests * Make `WasmRuntime` accessible as well * Add `call_in_wasm` instead of making stuff public * Use `WasmRuntime` * Move test * More feedback
-
thiolliere authored
* split implementation in multiple files: * transformation -> genesis_config/ getters.rs instance_trait.rs metadata.rs mod.rs store_trait.rs * mod.rs -> parser.rs * impl.rs -> storage_struct.rs * parser is isolated into parse module, it could be improved as well but this can be done in another PR * modules contains a defintion of decl_storage input which must be ok to work with. * implementation change: * T: Trait might be more often bound to 'static (anyway we only use static one and it is needed for metadata current implementation). * GenesisConfig no longer requires its fields to be Clone (possible since to EncodeLike feature) * builder for map storages must return precise type Vec<(key, value)>
-
Tomasz Drwięga authored
* Move srml-system RPC out. * Fix tests for system-rpc module. * Contracts RPC moved. * Fix rpc test. * Clean up. * Update lockfile. * Bump runtime version. * Update srml/contracts/rpc/runtime-api/src/lib.rs Co-Authored-By: Bastian Köcher <[email protected]> * Bump impl version.
-
Ashley authored
* Add a Node Role RPC call * Formatting * Fix tests * Change tests to use NodeRole::Authority so I don't forget to update the test * Improve role checking * return a vec instead * fix tests
-
Fabio Tudone authored
* Fix #1536: do not require to construct a block for encoding it * Bump `impl_version` * Improve `Block::encode_from` signature and rustdoc (from review by @bkchr)
-
- Oct 15, 2019
-
-
Demi Obenour authored
-
André Silva authored
* core: use trait object for genesis constructor * chain-spec-builder: use structopt * chain-spec-builder: add new command to generate authority keys * chain-spec-builder: use ? in main * chain-spec-builder: fix stored and printed suri from seed * chain-spec-builder: add comment about created keystore folders * chain-spec-builder: simplify file write
-
Tomasz Drwięga authored
* Fix handling transaction pool errors. * Add test. * Review suggestions.
-
André Silva authored
-