- Jun 17, 2021
-
-
asynchronous rob authored
-
Hernando Castano authored
-
Lldenaurois authored
* node/approval-voting: extract and test count_no_shows method This commit extracts no_show computation into a pure function so that it can be extensively unit tested. * node/approval-voting: ignore invalid validator indexes in count_no_show Previously indexes that were past the length of the approvals bitvector would contribute to the no_show count or the next_no_show value. This commit changes the behavior to ignore garbage values. * node/approval-voting: add comment for next_no_show adding clock_drift
-
ordian authored
* cleanup more tests and spaces * oops
-
Zeke Mostov authored
* Companion #9019 (max rpc payload override) * update Substrate Co-authored-by: parity-processbot <>
-
asynchronous rob authored
* high-level discussion of fork-choice and chain selection * notes on chain-selection subsystem * send `Approve` messages from approval-voting * remove references to candidate-selection * adjust grandpa voting rule docs * Update roadmap/implementers-guide/src/node/grandpa-voting-rule.md Co-authored-by:
Lldenaurois <[email protected]> * Update roadmap/implementers-guide/src/protocol-chain-selection.md Co-authored-by:
Lldenaurois <[email protected]> * Update roadmap/implementers-guide/src/protocol-chain-selection.md Co-authored-by:
Lldenaurois <[email protected]> Co-authored-by:
Lldenaurois <[email protected]>
-
Bastian Köcher authored
-
Shaun Wang authored
-
Shawn Tabrizi authored
* Add XCM Decode Limit of 256 * use `decode_all_*` * Update xcm/src/double_encoded.rs
-
Shawn Tabrizi authored
* Allow council to use scheduler * westend doesnt have council
-
- Jun 16, 2021
-
-
Shawn Tabrizi authored
-
asynchronous rob authored
* extract determine_new_blocks into a separate utility * rework docs
-
Lldenaurois authored
* node/approval_checking: break out filled_tranch_iterator method In the subsequent commit, we will begin to test this method in isolation. * node/approval-voting: fix tranche back-filling algorithm Previously, this algorithm would generate duplicate, empty entries for tranches (1..pre_end). This is caused because the initial value (0) for gap_end is treated as the end of a prior tranche that wasn't actually processed. The first pass thus would add (1..tranche) empty entries, in addition to the (0..pre_end) empty entries chained at the end of the method. This is fixed by using the current tranche as the gap_start for the first iteration, ensuring that the approval_entries_filled only produces entries in the range (pre_end..post_start). * Address feedback
-
André Silva authored
* bridges: update finality-grandpa * update Substrate Co-authored-by: parity-processbot <>
-
Bernhard Schuster authored
-
Shawn Tabrizi authored
-
Shawn Tabrizi authored
* update weight apis * update Substrate Co-authored-by: parity-processbot <>
-
Keith Yeung authored
* Remove Call part imports of the offences and authority discovery pallets * Remove non-existent Call enum variants * Move ValidateUnsigned impl to be under #[pallet::validate_unsigned] in claims pallet * Remove unused imports * Remove Call part import for randomness collective flip pallet * update Substrate Co-authored-by: parity-processbot <>
-
- Jun 15, 2021
-
-
asynchronous rob authored
* Drop guard for detecting stale approvals * address nits with different API
-
Shawn Tabrizi authored
* update apis * fix api * rename to `KillStorageResult` * update Substrate Co-authored-by: parity-processbot <>
-
- Jun 14, 2021
-
-
Martin Pugh authored
* bump spec_version and version * bump substrate * remove migrations * Revert "remove migrations" This reverts commit ceeab924d1cd5c2d3d05f24ab28315f0566f89d8. * remove stale migration for kusama + westend
-
André Silva authored
* implement dispute participation subsystem * guide: minor fix in dispute participation * Update node/core/dispute-participation/src/lib.rs Co-authored-by:
Andronik Ordian <[email protected]> * dispute: add comments to participation logic * dispute-coordinator: fix test compilation * implementers-guide: update dispute participation * dispute-participation: add error for missing validation code * dispute-participation: add tests * Update node/core/dispute-participation/src/lib.rs Co-authored-by:
Robert Habermeier <[email protected]> * guide: update overseer protocol dispute participation message * dispute-participation: remove duplication in tests Co-authored-by:
Andronik Ordian <[email protected]> Co-authored-by:
Robert Habermeier <[email protected]>
-
Shawn Tabrizi authored
-
thiolliere authored
-
asynchronous rob authored
* add more information about what's happening during approval work * record assignment tranches in histogram
-
asynchronous rob authored
-
thiolliere authored
* companion * update Substrate Co-authored-by: parity-processbot <>
-
Qinxuan Chen authored
* migrate pallet-randomness-collective-flip to new pallet attr macro Signed-off-by:
koushiro <[email protected]> * fix some nits Signed-off-by:
koushiro <[email protected]> * fix Signed-off-by:
koushiro <[email protected]> * some nits Signed-off-by:
koushiro <[email protected]> * update Substrate Co-authored-by: parity-processbot <>
-
- Jun 13, 2021
-
-
ordian authored
* approval-voting: logs for invalid votes * proper errors for assignment checks * proper errors for approval checks
-
asynchronous rob authored
-
asynchronous rob authored
-
asynchronous rob authored
* skeleton for dispute-coordinator * add coordinator and participation message types * begin dispute-coordinator DB * functions for loading * implement strongly-typed DB transaction * add some tests for DB transaction * core logic for pruning * guide: update candidate-votes key for coordinator * update candidate-votes key * use big-endian encoding for session, and implement upper bound generator * finish implementing pruning * add a test for note_current_session * define state of the subsystem itself * barebones subsystem definition * control flow * more control flow * implement session-updating logic * trace * control flow for message handling * Update node/core/dispute-coordinator/src/lib.rs Co-authored-by:
André Silva <[email protected]> * Update node/subsystem/src/messages.rs Co-authored-by:
André Silva <[email protected]> * some more control flow * guide: remove overlay * more control flow * implement some DB getters * make progress on importing statements * add SignedDisputeStatement struct * move ApprovalVote to shared primitives * add a signing-payload API to explicit dispute statements * add signing-payload to CompactStatement * add relay-parent hash to seconded/valid dispute variatns * correct import * type-safe wrapper around dispute statements * use checked dispute statement in message type * extract rolling session window cache to subsystem-util * extract session window tests * approval-voting: use rolling session info cache * reduce dispute window to match runtime in practice * add byzantine_threshold and supermajority_threshold utilities to primitives * integrate rolling session window * Add PartialOrd to CandidateHash * add Ord to CandidateHash * implement active dispute update * add dispute messages to AllMessages * add dispute stubs to overseer * inform dispute participation to participate * implement issue_local_statement * implement `determine_undisputed_chain` * fix warnings * test harness for dispute coordinator tests * add more helpers to test harness * add some more helpers * some tests for dispute coordinator * ignore wrong validator indices * test finality voting rule constraint * add more tests * add variants to network bridge * fix test compilation * remove most dispute coordinator functionality as of #3222 we can do most of the work within the approval voting subsystem * Revert "remove most dispute coordinator functionality" This reverts commit 9cd615e8eb6ca0b382cbaff525d813e753d6004e. * Use thiserror Co-authored-by:
Bernhard Schuster <[email protected]> * Update node/core/dispute-coordinator/src/lib.rs Co-authored-by:
Bernhard Schuster <[email protected]> * extract tests to separate module * address nit * adjust run_iteration API Co-authored-by:
André Silva <[email protected]> Co-authored-by:
Bernhard Schuster <[email protected]>
-
- Jun 12, 2021
-
-
Shawn Tabrizi authored
* update to use pub dispatchables * update Substrate * Update claims.rs * remove warning Co-authored-by: parity-processbot <>
-
André Silva authored
* create newtype for ValidationCodeHash * pvf: fix tests compilation * primitives: fix test compilation
-
Shaun Wang authored
* Migrate claims pallet to pallet attribute macro. * Trigger CI. * Update runtime/common/src/claims.rs Co-authored-by:
Keith Yeung <[email protected]> Co-authored-by:
Shawn Tabrizi <[email protected]> Co-authored-by:
Keith Yeung <[email protected]>
-
ordian authored
* fix connections leak * fix compilation
-
ordian authored
-
ordian authored
* tabify tests * move mod tests; up
-
Shawn Tabrizi authored
* fix warning * Update lib.rs
-
- Jun 11, 2021
-
-
André Silva authored
* replace HistoricalValidationCode usages with ValidationCodeByHash * runtime-api: tabify tests file * update implementers guide
-