1. Aug 08, 2021
  2. Aug 07, 2021
  3. Aug 06, 2021
  4. Aug 05, 2021
  5. Aug 04, 2021
  6. Aug 02, 2021
  7. Jul 30, 2021
    • Squirrel's avatar
      Companion for substrate #9319 (#3456) · 4c5b7309
      Squirrel authored
      * move client consensus code out of primitives
      
      * merging crates
      
      * import tweak
      
      * Fixing build: ServiceFactory is a word...
      
      * updating lock file
      
      * Fixed typo in error message
      
      (to bump build)
      
      * update Substrate
      
      Co-authored-by: parity-processbot <>
      4c5b7309
  8. Jul 28, 2021
  9. Jul 27, 2021
  10. Jul 26, 2021
    • Bernhard Schuster's avatar
      integrate dispute finality (#3484) · 6519ba98
      Bernhard Schuster authored
      
      
      * finality_target adjustments
      
      * fn finality_target
      
      * partially address review comments
      
      * fixins
      
      * more rustic if condition
      
      * fix tests
      
      * fixins
      
      * Update node/core/approval-voting/src/lib.rs
      
      Co-authored-by: default avatarAndronik Ordian <[email protected]>
      
      * Update node/core/approval-voting/src/lib.rs
      
      Co-authored-by: default avatarRobert Habermeier <[email protected]>
      
      * review comments part one
      
      * rename candidates -> block_descriptions
      
      * testing outline (incomplete, WIP)
      
      * test foo
      
      * split RelayChainSelection into RelayChainSelection{,WithFallback}, introduce HeaderProvider{,Provider}
      
      * make some stuff public (revert this soon™)
      
      * some test improvements
      
      * slips of pens
      
      * test fixins
      
      * add another trait abstraction
      
      * pending edge case tests + warnings fixes
      
      * more test cases
      
      * fin
      
      * chore fmt
      
      * fix cargo.lock
      
      * Undo obsolete changes
      
      * // comments
      
      * make mod pub(crate)
      
      * fix
      
      * minimize static bounds
      
      * resolve number() as before
      
      * fmt
      
      * post merge fix
      
      * address some nits
      
      Co-authored-by: default avatarAndronik Ordian <[email protected]>
      Co-authored-by: default avatarRobert Habermeier <[email protected]>
      6519ba98
    • ordian's avatar
      enable disputes (#3478) · bd9b7438
      ordian authored
      
      
      * initial integration and migration code
      
      * fix tests
      
      * fix counting test
      
      * assume the current version on missing file
      
      * use SelectRelayChain
      
      * remove duplicate metric
      
      * Update node/service/src/lib.rs
      
      Co-authored-by: default avatarRobert Habermeier <[email protected]>
      
      * remove ApprovalCheckingVotingRule
      
      * address my concern
      
      * never mode for StagnantCheckInterval
      
      * REVERTME: some logs
      
      * w00t
      
      * it's ugly but it works
      
      * Revert "REVERTME: some logs"
      
      This reverts commit e210505a2e83e31c381394924500b69277bb042e.
      
      * it's handle, not handler
      
      * fix a few typos
      
      Co-authored-by: default avatarRobert Habermeier <[email protected]>
      bd9b7438
    • Koute's avatar
  11. Jul 21, 2021
  12. Jul 20, 2021
  13. Jul 19, 2021
  14. Jul 15, 2021
  15. Jul 14, 2021
    • Denis_P's avatar
      WIP: CI: add spellcheck (#3421) · fc253e6e
      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: default avatarAndronik Ordian <[email protected]>
      
      * Update xcm/xcm-executor/src/assets.rs
      
      Co-authored-by: default avatarAndronik Ordian <[email protected]>
      
      * Apply suggestions from code review
      
      Co-authored-by: default avatarAndronik Ordian <[email protected]>
      
      * Suggestions from the code review
      
      * CI: scan only changed files
      
      Co-authored-by: default avatarAndronik Ordian <[email protected]>
      fc253e6e
  16. 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
    • 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
    • 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
  17. Jul 12, 2021
    • ordian's avatar
      more fine grained runtime api caching + a fix for av-store (#3457) · 73ed24f7
      ordian authored
      * finer grained runtime-api caching
      
      * fix av-store
      
      * simplify a request
      
      * remove unused imports
      
      * fix tests
      73ed24f7
    • Robert Klotzner's avatar
      DoS protection on the collator protocol (#3446) · 6994682a
      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: default avatarAndronik Ordian <[email protected]>
      6994682a
  18. 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