1. Jul 22, 2021
  2. Jul 21, 2021
  3. Jul 20, 2021
  4. Jul 19, 2021
  5. Jul 16, 2021
  6. Jul 15, 2021
  7. Jul 14, 2021
  8. Jul 13, 2021
    • Seun Lanlege's avatar
      Introduce test runner biolerplate (#2609) · ab9c86d5
      Seun Lanlege authored
      
      
      * adds test-runner boilerplate
      
      * revert to master
      
      * Update node/test/runtime/Cargo.toml
      
      Co-authored-by: default avatarAndronik 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: default avatarAndronik 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: default avatarAndronik Ordian <[email protected]>
      
      * ...
      
      * revert Cargo.lock
      
      * bump cargo.lock
      
      Co-authored-by: default avatarAndronik Ordian <[email protected]>
      Co-authored-by: default avatarradupopa2010 <[email protected]>
      Co-authored-by: CI system <>
      ab9c86d5
    • Qinxuan Chen's avatar
      Companion for substrate#9197 (#3359) · 41045d89
      Qinxuan Chen authored
      
      
      * Companion for substrate#9197
      
      Signed-off-by: default avatarkoushiro <[email protected]>
      
      * update Substrate
      
      Co-authored-by: default avatarShawn Tabrizi <[email protected]>
      Co-authored-by: parity-processbot <>
      41045d89
    • Lldenaurois's avatar
      Dispute coordinator overlay (#3462) · dc092778
      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
      dc092778
    • Kian Paimani's avatar
      Small tweaks to staking miner (#3460) · 7948eae5
      Kian Paimani authored
      * Fix miner
      
      * fix miner
      
      * Update utils/staking-miner/src/monitor.rs
      
      * Fix width
      7948eae5
    • Lldenaurois's avatar
      Dispute Coordinator: Batch queries (#3459) · 2d66b8f2
      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
      2d66b8f2
  9. Jul 12, 2021
  10. Jul 09, 2021
    • asynchronous rob's avatar
      Wire up candidate backing, approval-voting to disputes (#3348) · e5122227
      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)
      e5122227
    • Kian Paimani's avatar
      Companion for `substrate/pull/9286` (#3443) · d53ec86b
      Kian Paimani authored
      
      
      * Fix weights
      
      * try something to unbreak companion
      
      * update Substrate
      
      Co-authored-by: default avatarAndronik Ordian <[email protected]>
      Co-authored-by: parity-processbot <>
      d53ec86b
    • Bernhard Schuster's avatar
      thiserror annotations + spelling (#3452) · d76560fe
      Bernhard Schuster authored
      * remove duplicate thiserror annotations
      
      * chore: cargo spellcheck
      d76560fe
    • Robert Klotzner's avatar
      Dispute distribution implementation (#3282) · b5257b24
      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.
      b5257b24
  11. Jul 08, 2021