- Jun 27, 2019
-
-
Bastian Köcher authored
* Add failing test case * move storage maps to blake2_128 (#2268) * remove default hash, introduce twox_128 and blake2 * use blake2_128 & create ext_blake2_128 * refactor code * add benchmark * factorize generator * fix * parameterizable hasher * some fix * fix * fix * fix * metadata * fix * remove debug print * map -> blake2_256 * fix test * fix test * Apply suggestions from code review Co-Authored-By: thiolliere <[email protected]> * impl twox 128 concat (#2353) * impl twox_128_concat * comment addressed * fix * impl twox_128->64_concat * fix test * Fix compilation and cleanup some docs * Lol * Remove traits from storage types that are not generic * Get instance test almost working as wanted * Make `srml-support-test` compile again :) * Fixes test of srml-support * Fix compilation * Break some lines * Remove incorrect macro match arm * Integrates review feedback * Update documentation * Fix compilation
-
Bastian Köcher authored
* Remove `Mutex` from `core-service` * Fixes sync test
-
- Jun 26, 2019
-
-
Tomasz Drwięga authored
-
Pierre Krieger authored
* Remove dependencies on tokio * Make service not depend on tokio * Fix service tests * Manually poll the import queue if failed to start * Spawn all tasks at the end * Remove executor from TelemetryOnConnect * Remove TaskExecutor from offchain workers * Remove TaskExecutor from AuthoritySetup * Remove TaskExecutor from service * Remove tokio dependency from RPC * Remove finality-grandpa from WASM checks * Fix offchain tests * Line widths * Fix RPC tests * Fix service tests * Fix bad futures polling * Address some concerns * Better error handling * Is it the connectivity test that's not passing? I don't know, let's try * Revert "Is it the connectivity test that's not passing? I don't know, let's try" This reverts commit 28bbe51f0e2e4885fe1f901e11078604604cb212. * Fix test
-
cheme authored
* check resulting state root on import. * get root from last method. * Fix test runtime (was changing state after root calculation). * Do reset new authorities (just take before root calculation). * bump impl runtime version. * Update core/sr-api-macros/tests/trybuild.rs Co-Authored-By: Bastian Köcher <[email protected]>
-
Stanislav Tkach authored
* Update codec version to the 4.1 version * Bump impl_version * Update lock files * Update codec to 4.1.1 version * Bump impl version
-
Jim Posen authored
* srml-contract: Move gas costs from Config to Schedule. * srml-contract: Define Gas units fixed as u64. This removes Gas as a configurable type on the contracts Trait. * Bump node runtime spec/impl versions.
-
Pierre Krieger authored
-
* Add DHT key-value behaviour * Apply suggestions from code review Co-Authored-By: Bastian Köcher <[email protected]> * Apply suggestions from code review Co-Authored-By: Pierre Krieger <[email protected]> * Return which key failed to be inserted
-
asynchronous rob authored
* generalized uncle processing * add some uncle tests * set author and do event handling * OnePerAuthorPerHeight no longer O(n^2) and test * bump impl_version of node * Documentation and style fixes Co-Authored-By: DemiMarie-parity <[email protected]> * fix #2949: index-based FindAuthor wrapper for srml-session * use for_each_tuple
-
Bastian Köcher authored
-
Pierre Krieger authored
* Expose the telemetry external transport in the config * Fix tests
-
thiolliere authored
* update parity-scale codec minor version * update to 3.5.3 * update locks * increase impl version * Update to 3.5.4 * Update WASM lockfiles
-
- Jun 25, 2019
-
-
Sergey Pepyakin authored
* Allow spending all gas. * Bump node runtime version
-
Pierre Krieger authored
* Update to libp2p 0.10 * Bump zeroize in substrate-network
-
- Jun 24, 2019
-
-
* Test for not dispatching calls if top level execution fails * Add comment to test * Only dispatch calls if contract execution succeeded Note that `calls` should be empty in this case, but this makes things clearer * Add comment to test Co-Authored-By: Sergei Pepyakin <[email protected]> * Revert: Only dispatch calls if contract execution succeeded
-
thiolliere authored
* approximate fraction into perbill * test * fix comment * line width * bump impl version * rename test for better naming * test overflow * Apply suggestions from code review Co-Authored-By: Niklas Adolfsson <[email protected]>
-
Pierre Krieger authored
* Add ProtocolBehaviour * Fix tests * Line widths * Address concerns * Apply suggestions from code review Co-Authored-By: Bastian Köcher <[email protected]> * Remove TODO
-
- Jun 22, 2019
-
-
DemiMarie-parity authored
* Initial work on relative slots for BABE * More work * Update core/consensus/babe/src/lib.rs `Aura` → `Babe` Co-Authored-By: Pierre Krieger <[email protected]> * More work on relative slots * Add missing field in test-runtime * Bump `impl_version` and `authoring_version` * Fix compile errors and warnings * Upgrade dependencies * Update dependencies more * Revert some updates to dependencies Somehow, those broke the build * Fix compilation errors * `Duration` → `u128` in calculations * `slot_duration` is in milleseconds, not seconds * Median algorithm: ignore blocks with slot_num < sl * Fix silly compile error * Store a duration, rather than an instant It is more useful * Fix compilation errors * `INVERSE_NANO` → `NANOS_PER_SEC` Also: `1000_000_000` → `1_000_000_000` Suggested-by: Niklas Adolfsson <[email protected]> * Un-bump `authoring_version` * Disable median algorithm when `median_required_blocks` is 0 Otherwise it would panic. * Apply suggestions from code review Co-Authored-By: Bastian Köcher <[email protected]> * Simplify panic * Fix build error * Create `SignedDuration` struct for signed `Duration` values. Suggested-by: Bastian Köcher * Refactor median algorithm into separate function * Add issues for FIXMEs and respond to code review * Fix minor warnings
-
- Jun 21, 2019
-
-
Pierre Krieger authored
* Move the network status reporting to the service * Fix tests * Fix build
-
Pierre Krieger authored
* Add documentation at the root of substrate-network * Apply suggestions from code review Co-Authored-By: Toralf Wittner <[email protected]> * Grmlblbl * Adjustments * Link to Yamux specs
-
Pierre Krieger authored
* Use a background task instead of a thread for the import queue * Update Cargo.locks * Comment
-
-
- Jun 20, 2019
-
-
Sergey Pepyakin authored
* Pass input data via the scratch buffer. Remove calls to ext_input_*. * Fix tests and docs * Bump the version. * Remove ext_input_* from COMPLEXITY.md * Return back the length check and add more comments * Update the documentation of the scratch buffer. * Fix a silly mistake.
-
Pierre Krieger authored
-
- Jun 19, 2019
-
-
Pierre Krieger authored
-
Pierre Krieger authored
-
Svyatoslav Nikolsky authored
* do not return empty entries from state_queryStorage * revert back None -> null change * Revert "revert back None -> null change" This reverts commit 318eb043e03b7aabbc3f176e02c15fd4595d16db.
-
Sergey Pepyakin authored
* srml-contract → srml-contracts * Trim. * Bump version
-
Bastian Köcher authored
* Remove `UserError` and switch to `error::Error` * More cleanup * Update core/executor/src/error.rs Co-Authored-By: Sergei Pepyakin <[email protected]> * Fix typo * Update core/executor/src/allocator.rs Co-Authored-By: Stanislav Tkach <[email protected]>
-
Bastian Köcher authored
-
Pierre Krieger authored
* ImportQueue methods are now mut * Link methods are now mut * Remove Arc from BasicSyncQueue * Fix tests * Remove BasicSyncQueue * Change the import queue API * Add buffered_link * Remove obsolete tests * Comments and style improvement pass * Fix grandpa and comment cleanup * Update core/consensus/common/src/import_queue.rs Co-Authored-By: André Silva <[email protected]>
-
Pierre Krieger authored
-
- Jun 18, 2019
-
-
Fredrik Harrysson authored
* Added some documentation and question on the main sync code * Remove strange formatting change Co-Authored-By: André Silva <[email protected]> * Improve comment per suggestion * Remove comment about re-using PeerInfo, no real reason and no real consensus if it's better or worse. * Fix redundancy in comment Co-Authored-By: André Silva <[email protected]> * Explaining more things and fixing review comments. * Better explanation of MAJOR_SYNC_BLOCKS * Explains the ancestor search strategy a bit * Corrects explanation of what a stale block is * Adds a bit of context for `request_ancestry` function * Revert code change to not confuse the PR
-
thiolliere authored
-
gabriel klawitter authored
* ci: publish rustdocs to github repo substrate-developer-hub/rustdocs
-
-
* Change network::sync::extra_requests to not send. Instead it only maintains the invariants and leaves the actual I/O part to the parent module (i.e. `sync`). * Update Cargo.lock.
-
- Jun 17, 2019
-
-
mattrutherford authored
* Remove all uses of Error::description() - use Display instead
-
-