- Oct 01, 2019
-
-
André Silva authored
* srml: system: add kill_prefix * node: bump spec_version
-
Ashley authored
* Add an Error type to Aura * Add Cargo.lock * AuRa -> Aura Co-Authored-By: Kian Paimani <[email protected]>
-
- Sep 30, 2019
-
-
André Silva authored
* srml: im-online: fix pruning of received heartbeats * srml: im-online: add test for received heartbeats pruning * srml: im-online: remove unused variables from test * node: bump spec_version
-
Bastian Köcher authored
* Give more information why conversion between native and runtime failed This adds the SCALE error description to the error when the conversion between native and runtime failed. * Fixes tests
-
Pierre Krieger authored
This reverts commit 4af0fe7c.
-
Max Inden authored
* Cargo.toml: Pin protobuf version The protobuf crate introduced a breaking change within its semver minor update from 2.8.1 to 2.9.0. This commit ensures Substrate uses anything within the 2.8 minor releases. * Cargo.lock: Update * core/sr-api-macros/Cargo.toml: Pin protobuf version The protobuf crate introduced a breaking change within its semver minor update from 2.8.1 to 2.9.0. This commit ensures Substrate uses anything within the 2.8 minor releases. * Revert "Cargo.toml: Pin protobuf version" This reverts commit 4e293c74. * core/sr-api-macros/Cargo.toml: Pin protobuf within dev-dependencies * core/sr-api-macros/Cargo.toml: Add comment and link to Githu issue
-
- Sep 28, 2019
-
-
* refactor contracts to use Time trait * bump version
-
Tomasz Drwięga authored
* Add some chainspec tests and make sure we validate it. * Manual implementation of Extension + Forks definitions. * Move chain spec to separate crate. * Allow using ChainSpec with extensions. * Renames. * Implement Extension derive. * Implement Extension for Forks. * Support specifying fork blocks. * make for_blocks work * Support forks correctly. * Add a bunch of docs. * Make fork blocks optional. * Add missing docs. * Fix build. * Use struct for check_block params. * Fix tests? * Clean up.
-
André Silva authored
* peerset: fix handling of reserved only peering mode * core: add cli parameter to enable reserved nodes only * peerset: fix tests * peerset: add test for priority only mode * core: fix reserved only cli flag description * peerset: extend docs on set_priority_only
-
* Explicit sync API * Keep sync requests * Don't request the finalized block we already have * Dropping requests & docs * Renamed a function
-
Talha Cross authored
-
Sergey Pepyakin authored
-
André Silva authored
-
- Sep 27, 2019
-
-
thiolliere authored
* refactor * fix * remove unused vec storages * address comment
-
Bastian Köcher authored
-
Coenen Benjamin authored
Signed-off-by: Benjamin Coenen <[email protected]>
-
Alexey authored
* added new_full_concrete for service * line width fix * Update node/cli/src/service.rs Co-Authored-By: Bastian Köcher <[email protected]> * Update node/cli/src/service.rs Co-Authored-By: Bastian Köcher <[email protected]> * Update node/cli/src/service.rs Co-Authored-By: Bastian Köcher <[email protected]> * replaced new_full * empty * added backticks to pass ci
-
Wei Tang authored
* Update libsecp256k1 dep to 0.3.0 * Bump impl_version
-
- Sep 26, 2019
-
-
Bastian Köcher authored
* Make `TestOffchainExt` panic on unknown requests * Fix test
-
Instead, use `Debug` for `debug_trace!`
-
André Silva authored
-
thiolliere authored
* doc * fix * Apply suggestions from code review Co-Authored-By: Kian Paimani <[email protected]> * complete suggestion
-
Ashley authored
* Add random_seed impl for offchain api * switch to rand::random
-
- Sep 25, 2019
-
-
thiolliere authored
-
Kian Paimani authored
* Fix phragmen loop * Bump.
-
Kian Paimani authored
* Macro-ify perthings. * Refactor fixed64 * Half-workign phragmen refactor. * Finalize phragmen refactor. * Fix creation of perquintill * Fix build errors * Line-width * Fix more build errors. * Line-width * Fix offence test * Resolve all TODOs. * Apply suggestions from code review Co-Authored-By: Gavin Wood <[email protected]> Co-Authored-By: thiolliere <[email protected]> * Fix most of the review comments. * Updates to multiply by rational * Fxi build * Fix abs issue with Fixed64 * Fix tests and improvements. * Fix build * Remove more tests from staking. * Review comments. * Add fuzzing stuff. * Better fuzzing * Better doc. * Bump. * Master.into() * A bit more hardening. * Final nits. * Update lock * Fix indent. * Revert lock file. * Bump.
-
Kian Paimani authored
* Document how to get head of linked map. * Update srml/support/procedural/src/lib.rs Co-Authored-By: thiolliere <[email protected]> * Update srml/support/procedural/src/lib.rs Co-Authored-By: thiolliere <[email protected]>
-
Toralf Wittner authored
-
Ashley authored
* Forbid default values for Option types in decl_storage! * fix test errors * bump impl_version
-
- Sep 24, 2019
-
-
* node: reduce grandpa justification period to 512 blocks * node: update flaming fir chainspec
-
thiolliere authored
* fix head not hashed * bump version
-
Toralf Wittner authored
The current `debug_assert_eq` is clearly wrong as the code handles zero response blocks. What should have been expressed is that we expect 0 or 1 response blocks.
-
Toralf Wittner authored
* Add `BlockAnnounceValidator` trait. * Add associated data to block announcement. * Make tests compile. * Move validator into `sync.rs`. * Smaller changes. * Update core/network/src/protocol.rs Co-Authored-By: Kian Paimani <[email protected]> * Update core/network/src/protocol.rs Co-Authored-By: Bastian Köcher <[email protected]> * Update core/network/src/test/sync.rs Co-Authored-By: Bastian Köcher <[email protected]> * Formatting. * Remove assoc. data from `BlockImportNotification`. * Use `Option<Vec<u8>>` for associated data. * Update core/network/src/protocol/sync.rs Co-Authored-By: Bastian Köcher <[email protected]> * Fix type error.
-
asynchronous rob authored
* fix #2177: port GRANDPA node-side code to use Consensus digests * bump runtime version * fix service compilation * document change precedence rules
-
Ashley authored
* decl_storage imports needed traits * bump impl_version * Update srml/system/src/lib.rs Co-Authored-By: Kian Paimani <[email protected]> * Update srml/system/src/lib.rs Co-Authored-By: Kian Paimani <[email protected]>
-
Ashley authored
* Move best_containing from Client to Backend * Add comma for clearer diffs Co-Authored-By: André Silva <[email protected]>
-
- Sep 23, 2019
-
-
* use pdqselect for median_algorithm selection instead of sorting the whole vec * Make use of pqdselect clearer Co-Authored-By: André Silva <[email protected]> * Make use of pqdselect clearer Co-Authored-By: André Silva <[email protected]>
-
* Fix indentation There is a space between the tabs. * Send local GRANDPA authority id to telemetry * Update core/finality-grandpa/src/lib.rs Co-Authored-By: Bastian Köcher <[email protected]> * Generalize authority_id() * Shorten code * Do not send unfinalized authority sets to telemetry `update_authority_set()` is called from, among others, import side. These updates only track a pending change and may or may not happen, hence it's wrong to send this set to telemetry (which would assume that this is the current, finalized authority set). * Send current authority set and local authority id on set change
-
* executor: Support non-Wasmi sandbox supervisor environments. * node-executor: Tests don't reference WasmExecutor directly. * executor: Simplify encoding of heap metadata. * executor: Decouple allocator from wasmi::MemoryRef.
-
asynchronous rob authored
* always fetch epoch from runtime * node integration tests don't test light nodes * give stand-in full node a FULL role * rejig babe APIs * introduce next-epoch-descriptor type * overhaul srml-BABE epoch logic * ensure VRF outputs end up in the right epoch-randomness * rewrite `do_initialize` to remove unnecessary loop * begin accounting for next epoch in epoch function * slots passes header to epoch_data * pass slot_number to SlotWorker::epoch_data * begin extracting epoch-change logic into its own module * aux methods for block weight * aux methods for genesis configuration * comment-out most, refactor header-check pipeline * mostly flesh out verifier again * reinstantiate babe BlockImport implementation * reinstate import-queue instantiation * reintroduce slot-worker implementation * reinstate pretty much all the rest * move fork-choice logic to BlockImport * fix some, but not all errors * patch test-runtime * make is_descendent of slightly more generic * get skeleton compiling when passing is_descendent_of * make descendent-of-builder more succinct * restore ordering of authority_index / slot_number * start fiddling with tests * fix warnings * improve initialization architecture and handle genesis * tests use correct block-import * fix BABE tests * fix some compiler errors * fix node-cli compilation * all crates compile * bump runtime versions and fix some warnings * tweak fork-tree search implementation * do backtracking search in fork-tree * node-cli integration tests now work * fix broken assumption in test_connectivity * babe tests fail for the right reasons. * test genesis epoch logic for epoch_changes * test that epochs can change between blocks * First BABE SRML test * Testing infrastructure for BABE Also includes a trivial additional test. * Apply suggestions from code review Co-Authored-By: Bastian Köcher <[email protected]> * A little more test progress * More work on BABE testing * Try to get the tests working * Implement `UintAuthorityId`-based test mocks * Fix compilation errors * Adjust to upstream changes * Block numbers are ignored in BABE epoch calculation * authority_index() should ignore invalid authorities * Fix compile error * Add tests that session transitions happen * Check if BABE produces logs It currently does not. * Fix test suite This was really nasty, due to a type confusion that showed up as an off-by-1 buffer error. * Add additional tests Most of these were derived from the current output, so they are only useful to guard against regressions. * Make the tests more readable Also bump impl_version. * Fix excessive line width * Remove unused imports * Update srml/babe/src/lib.rs Co-Authored-By: André Silva <[email protected]> * try to fix imports * Fix build errors in test suite * tests did not pass * Try to get at least one digest to be output Currently, the code emits either no digests (if I don’t call `Session::rotate_session()` or two digests (if I do), which is wrong. * More tests They still don’t work, but this should help debugging. * fix silly error * Don’t even try to compile a broken test * remove broken check_epoch test and add one for genesis epoch * Check that the length of the pre-digests is correct * Bump `impl_version` * use epoch_for_descendent_of even for genesis * account for competing block 1s * finish srml-babe docs Co-Authored-By: André Silva <[email protected]> * address grumbles
-