- Jul 16, 2021
-
-
Tomasz Drwięga authored
* Update MMR leaf. * Revert to older substrate. * Add version docs. * Fix spellcheck.
-
- Jul 15, 2021
-
-
Seun Lanlege authored
Co-authored-by: CI system <>
-
Chevdor authored
* ci: use chevdor/srtool-actions to build runtimes * cleanup
-
Bernhard Schuster authored
-
Andreas Doerr authored
-
- Jul 14, 2021
-
-
Zeke Mostov authored
-
Denis_P authored
* CI: add spellcheck * revert me * CI: explicit command for spellchecker * spellcheck: edit misspells * CI: run spellcheck on diff * spellcheck: edits * spellcheck: edit misspells * spellcheck: add rules * spellcheck: mv configs * spellcheck: more edits * spellcheck: chore * spellcheck: one more thing * spellcheck: and another one * spellcheck: seems like it doesn't get to an end * spellcheck: new words after rebase * spellcheck: new words appearing out of nowhere * chore * review edits * more review edits * more edits * wonky behavior * wonky behavior 2 * wonky behavior 3 * change git behavior * spellcheck: another bunch of new edits * spellcheck: new words are koming out of nowhere * CI: finding the master * CI: fetching master implicitly * CI: undebug * new errors * a bunch of new edits * and some more * Update node/core/approval-voting/src/approval_db/v1/mod.rs Co-authored-by: Andronik Ordian <[email protected]> * Update xcm/xcm-executor/src/assets.rs Co-authored-by: Andronik Ordian <[email protected]> * Apply suggestions from code review Co-authored-by: Andronik Ordian <[email protected]> * Suggestions from the code review * CI: scan only changed files Co-authored-by: Andronik Ordian <[email protected]>
-
Qinxuan Chen authored
Signed-off-by: koushiro <[email protected]>
-
- Jul 13, 2021
-
-
Seun Lanlege authored
* adds test-runner boilerplate * revert to master * Update node/test/runtime/Cargo.toml Co-authored-by: Andronik Ordian <[email protected]> * fix warning * use polkadot_development_config * remove vestigial code * ... * remove unused dependencies * adds simnet binary * adds simnet binary * merged with remote * dummy to check pipeline * add 2 docker files and a build cmd * adds logging * atempt to use binary from build host * fix simnet-binary * fix docker commands * switch branches * ... * update docker file * update the dockerfile 2 * add some message in the cheatsheet * add repo to chaches stage also * update paths * do only 1 stage build * add time when build cmd started * remove debugg commands * polkadot-simnet-substrate-working-version-v1 * reduce size of polkadot-simnet image * update test runner api * update test-runner * ... * revert to master * Merge branch 'master' of github.com:paritytech/polkadot into substrate-test-runner * bump impl version * remove unused imports, fix test * was_binary.to_vec() * Apply suggestions from code review Co-authored-by: Andronik Ordian <[email protected]> * ... * remove unused import * remove unused import * adds post upgrade test * dry code * revert spec_version * update Cargo.lock * tested and it works * compare runtime spec version * fix spaces, remove docker files * replace spaces with tabs * Update runtime/polkadot/src/lib.rs Co-authored-by: Andronik Ordian <[email protected]> * ... * revert Cargo.lock * bump cargo.lock Co-authored-by: Andronik Ordian <[email protected]> Co-authored-by: radupopa2010 <[email protected]> Co-authored-by: CI system <>
-
Qinxuan Chen authored
* Companion for substrate#9197 Signed-off-by: koushiro <[email protected]> * update Substrate Co-authored-by: Shawn Tabrizi <[email protected]> Co-authored-by: parity-processbot <>
-
Lldenaurois authored
* node/dispute-coordinator: Modify db to return SubsystemResult. In preparation of moving to the overlayed backend pattern, this commit moves the db to return SubsystemResult values. * node/dispute-coordinator: Add the Backend and OverlayedBackend. This commit adds the backend and overlayed backend structs to the dispute-coordinator subsystem. * node/dispute-coordinator: Implement backend and overlayed-backend. This commit finalizes the move from the previous transactional model to the common overlay pattern in subsystem persistency. This can be observed in the ApprovalVoting and ChainSelection subsystems. * Add module docs + license * Touchup merge
-
Kian Paimani authored
* Fix miner * fix miner * Update utils/staking-miner/src/monitor.rs * Fix width
-
Lldenaurois authored
* disputes: Allow batch queries in dispute-coordinator This commit moves to batch queries when responding to QueryCandidateVotes messages. This simplifies the code in the provisioner and dispute-coordinator by no longer requiring to make use of a FuturesOrdered when awaiting multiple quries. Instead, the provisioner need only request the batch itself. * node/approval-voting: Address Feedback to fail on query element missing. * Address feedback * Fix implementer's guide
-
- Jul 12, 2021
-
-
Alexander Theißen authored
* Switch from () to AllowAllFilter * Rename AllowAllFilter -> AllowAll * update Substrate Co-authored-by: parity-processbot <>
-
ordian authored
* finer grained runtime-api caching * fix av-store * simplify a request * remove unused imports * fix tests
-
Robert Klotzner authored
* Move on to next validator after timeout. * Better naming. * Wrong implementation of validator fetch timeouts. * Validator side: Move on to next collator if download takes too long. * Drop multiple requests from same validator. * Add test that next response is sent after timeout. * Multiple requests by same validator should get dropped. * Test that another collator is tried after exclusive download time. * Add dep. * Cleanup. * Merge fix. * Review remarks. * Fixes. * Add log targets to trace logs Co-authored-by: Andronik Ordian <[email protected]>
-
- Jul 09, 2021
-
-
asynchronous rob authored
* add a from_backing_statement to SignedDisputeStatement * inform dispute coordinator of all backing statements * add dispute coordinator message to backing tests * send positive dispute statement with every approval * issue disputes when encountering invalid candidates. * try to fix flaky test for CI (passed locally) * guide: keep track of concluded-positive disputes until pruned * guide: block implications * guide: new dispute inherent flow * mostly implement recency changes for dispute coordinator * add a clock to dispute coordinator * adjust DB tests * fix and add new dispute coordinator tests * provisioner: select disputes * import all validators' approvals * address nit: refactor backing statement submission * gracefully handle disconnected dispute coordinator * remove `review` comment * fix up old_tests * fix approval-voting compilation * fix backing compilation * use known-leaves in WaitForActivation * follow-up test fixing * add back allow(dead_code)
-
Kian Paimani authored
* Fix weights * try something to unbreak companion * update Substrate Co-authored-by: Andronik Ordian <[email protected]> Co-authored-by: parity-processbot <>
-
Bernhard Schuster authored
* remove duplicate thiserror annotations * chore: cargo spellcheck
-
Robert Klotzner authored
* Dispute protocol. * Dispute distribution protocol. * Get network requests routed. * WIP: Basic dispute sender logic. * Basic validator determination logic. * WIP: Getting things to typecheck. * Slightly larger timeout. * More typechecking stuff. * Cleanup. * Finished most of the sending logic. * Handle active leaves updates - Cleanup dead disputes - Update sends for new sessions - Retry on errors * Pass sessions in already. * Startup dispute sending. * Provide incoming decoding facilities and use them in statement-distribution. * Relaxed runtime util requirements. We only need a `SubsystemSender` not a full `SubsystemContext`. * Better usability of incoming requests. Make it possible to consume stuff without clones. * Add basic receiver functionality. * Cleanup + fixes for sender. * One more sender fix. * Start receiver. * Make sure to send responses back. * WIP: Exposed authority discovery * Make tests pass. * Fully featured receiver. * Decrease cost of `NotAValidator`. * Make `RuntimeInfo` LRU cache size configurable. * Cache more sessions. * Fix collator protocol. * Disable metrics for now. * Make dispute-distribution a proper subsystem. * Fix naming. * Code style fixes. * Factored out 4x copied mock function. * WIP: Tests. * Whitespace cleanup. * Accessor functions. * More testing. * More Debug instances. * Fix busy loop. * Working tests. * More tests. * Cleanup. * Fix build. * Basic receiving test. * Non validator message gets dropped. * More receiving tests. * Test nested and subsequent imports. * Fix spaces. * Better formatted imports. * Import cleanup. * Metrics. * Message -> MuxedMessage * Message -> MuxedMessage * More review remarks. * Add missing metrics.rs. * Fix flaky test. * Dispute coordinator - deliver confirmations. * Send out `DisputeMessage` on issue local statement. * Unwire dispute distribution. * Review remarks. * Review remarks. * Better docs.
-
- Jul 08, 2021
-
-
Robert Klotzner authored
* Guide updates for disputes. * Working availability recovery flood protection. * More fixes. * Formatting. * Fix. * Update roadmap/implementers-guide/src/node/disputes/dispute-participation.md Co-authored-by: Sergei Shulepov <[email protected]> * Review remarks. Co-authored-by: Sergei Shulepov <[email protected]>
-
Bernhard Schuster authored
-
Lldenaurois authored
* node/approval-voting: Introduce Backend trait and Overlaybackend This commit introduces a Backend trait and attempts to move away from the Action model via an OverlayBackend as in the ChainSelection subsystem. * node/approval-voting: Add WriteOps for StoredBlockRange and BlocksAtHeight * node/approval-voting: Add load_all_blocks to overlay * node/approval-voting: Get all module tests to pass. This commit modifies all tests to ensure tests are passing. * node/approval-voting: Address oversights in the previous commit This commit addresses some oversights in the prior commit. 1. Inner errors in backend.write were swallowed 2. One-off write functions removed to avoid useless abstraction 3. Touch-ups in general * node/approval-voting: Move from TestDB to dyn KeyValueDB This commit removes the TestDB from tests.rs and replaces it with an in-memory kvdb. * node/approval-voting: Address feedback * node/approval-voting: Add license to ops.rs * node/approval-voting: Address second-pass feedback * Add TODO * node/approval-voting: Bump spec_version * node/approval-voting: Address final comments. * node/approval-voting: Introduce framework for full subsystem tests * node/approval-voting: Introduce basic tests to attempt to provide coverage via full subsystem tests * node/approval-voting: Introduce Chainbuilder
-
Lldenaurois authored
* node/approval-voting: Introduce Backend trait and Overlaybackend This commit introduces a Backend trait and attempts to move away from the Action model via an OverlayBackend as in the ChainSelection subsystem. * node/approval-voting: Add WriteOps for StoredBlockRange and BlocksAtHeight * node/approval-voting: Add load_all_blocks to overlay * node/approval-voting: Get all module tests to pass. This commit modifies all tests to ensure tests are passing. * node/approval-voting: Address oversights in the previous commit This commit addresses some oversights in the prior commit. 1. Inner errors in backend.write were swallowed 2. One-off write functions removed to avoid useless abstraction 3. Touch-ups in general * node/approval-voting: Move from TestDB to dyn KeyValueDB This commit removes the TestDB from tests.rs and replaces it with an in-memory kvdb. * node/approval-voting: Address feedback * node/approval-voting: Add license to ops.rs * node/approval-voting: Address second-pass feedback * Add TODO * node/approval-voting: Bump spec_version * node/approval-voting: Address final comments.
-
Seun Lanlege authored
* companion for paritytech/substrate#9228 * sc_transaction_pool_api * update Substrate Co-authored-by: parity-processbot <>
-
ordian authored
-
- Jul 07, 2021
-
-
Shawn Tabrizi authored
* update benchmark * add host function * update Substrate * fix unused Co-authored-by: parity-processbot <>
-
Andreas Doerr authored
-
Sergey Pepyakin authored
* Add `canonicalize_nans` and enable `stack_depth_metering` * Update to the latest change in the substrate PR * Explain why the numbers are what they are. * Update Substrate to the latest master Co-authored-by: parity-processbot <>
-
Sergey Pepyakin authored
* PVF: unresponsive worker doesn't mean the candidate is bad * s/if let Some/.is_some
-
cheme authored
* patch branch * patch bis * Add missing client method. * unpatch * update Substrate Co-authored-by: parity-processbot <>
-
ferrell-code authored
* migrate to FrameV2 * kusama & westend change pallet name * keep item private Co-authored-by: Guillaume Thiolliere <[email protected]>
-
- Jul 06, 2021
-
-
asynchronous rob authored
* DB skeleton * key formats * lexicographic test * custom types for DB * implement backend for db-v1 * remove VoidBackend and integrate with real DbBackend * detect stagnant blocks on in interval * fix tests * add tests for stagnant * send ChainSelectionMessage::Approved * tests for DB backend * unused import * upgrade kvdb-memorydb Co-authored-by: Andronik Ordian <[email protected]>
-
Martin Pugh authored
* update all weights * add run_all_benches.sh
-
Svyatoslav Nikolsky authored
* bridges in W<>R * fix node compilation * Update runtime/rococo/src/bridge_messages.rs Co-authored-by: Hernando Castano <[email protected]> * Update runtime/rococo/src/bridge_messages.rs Co-authored-by: Hernando Castano <[email protected]> * Update runtime/rococo/src/bridge_messages.rs Co-authored-by: Hernando Castano <[email protected]> * Update runtime/rococo/src/bridge_messages.rs Co-authored-by: Hernando Castano <[email protected]> * long line fix * comment/remove -> comment/#[ignore] * explicit instances Co-authored-by: Hernando Castano <[email protected]>
-
ferrell-code authored
* to v2 macro * line width * fix mock * actually compile moxk * compile tests * add hooks * origin back in mocks * assimilate_storage * add generic * maybe mock compiles now * origin between parachain and system causing problem * change origin * type alias as origin * keep origin * add aliases to tests * remove unnecessary imports * Parachain -> Paras * paras test * nvm * use genesis build in mock
-
- Jul 05, 2021
-
-
Alexander Popiak authored
* add missing bridges logging target * trace send_xcm * trace execute_xcm * trace calls in xcm-executor * trace tuple implementations of xcm traits * update cargo.lock * remove bridge log target Co-authored-by: Bastian Köcher <[email protected]> * log argument formatting Co-authored-by: Bastian Köcher <[email protected]> Co-authored-by: Bastian Köcher <[email protected]>
-
Igor Matuszewski authored
* Use MaxEncodedLen trait from new parity-scale-codec v2.2 * update Substrate Co-authored-by: parity-processbot <>
-
ordian authored
* bump a bunch of deps in parity-common * update Substrate * fix browser check Co-authored-by: parity-processbot <>
-
Robert Klotzner authored
* Warn on low connectivity. * Better timeout and docs. * Review remarks.
-