Skip to content
  1. Aug 02, 2021
  2. Aug 01, 2021
    • Shaun W's avatar
      XCM simulator (#3538) · 1b0baab4
      Shaun W authored
      * Add xcm-simulator and xcm-simulator-example.
      
      * Abstract xcmp and dmp handling.
      
      * Use mock message queue.
      
      * Xcm simulator example unit tests.
      
      * Use relay chain block number on sending msg.
      
      * Fix typo.
      
      * fmt
      
      * more fmt
      
      * Fix deps.
      1b0baab4
  3. Jul 31, 2021
  4. 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
  5. Jul 28, 2021
  6. Jul 27, 2021
  7. 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
    • Alexander Popiak's avatar
      Fix TransactAsset Implementation (#3345) · 86f6a173
      Alexander Popiak authored
      
      
      * convert local AssetNotFound errors into XcmError::AssetNotFound
      
      aims allow the tuple implementation of TransactAsset to iterate properly
      
      * add more XcmError descriptions
      
      * adjust the rest of the TransactAsset tuple implementation to the behavior of can_check_in
      
      * fix copy paste errors
      
      * keep iterating tuple on Unimplemented error in TransactAsset
      
      * add tests for tuple implementation of TransactAsset
      
      * Update xcm/src/v0/traits.rs
      
      Co-authored-by: default avatarAndronik Ordian <[email protected]>
      
      Co-authored-by: default avatarShawn Tabrizi <[email protected]>
      Co-authored-by: default avatarAndronik Ordian <[email protected]>
      86f6a173
  8. Jul 23, 2021
  9. Jul 22, 2021
  10. Jul 21, 2021
    • Lldenaurois's avatar
      Dispute coordinator - Recover disputes on startup (#3481) · 1858ff57
      Lldenaurois authored
      * node/dispute-coordinator: Introduce resume capability
      
      This commit introduces a resume capability for the
      dispute coordinator subsystem. Specifically, this will allow
      to recover data for disputes for which we have no local statements.
      
      * node/dispute-coordinator: Add resume function to TestState and modify Harness
      
      This commit modifies the TestHarness to return a TestState. We subsequently
      define a resume function on TestState that allows to interrupt the test and
      test specifically for behavior on startup of the subsystem.
      
      * node/dispute-coordinator: Implement resume functionality
      
      This commit implements the resume functionality for the subsystem.
      In addition, we will forward any DisputeParticipation::Participate
      message in order to ensure that disputes for which we do not have
      local statements may be recovered in due time.
      
      * Address Feedback
      
      * Modify to run handle_leaf on first import
      
      * Modify missing_local_statement l...
      1858ff57
    • Hernando Castano's avatar
      Use correct syntax for owning all files in a folder (#3510) · 7aaaa9ec
      Hernando Castano authored
      From the GitHub docs:
      
      > # The `docs/*` pattern will match files like
      > # `docs/getting-started.md` but not further nested files like
      > # `docs/build-app/troubleshooting.md`.
      > docs/*  [email protected]
      >
      > # In this example, @octocat owns any file in an apps directory
      > # anywhere in your repository.
      > apps/ @octocat
      7aaaa9ec
    • Andreas Doerr's avatar
      Add wococo-local chain spec (#3509) · 310aa6f3
      Andreas Doerr authored
      310aa6f3
    • asynchronous rob's avatar
      Dispute vote filtering for block authors (#3498) · 675f71a8
      asynchronous rob authored
      
      
      * guide: filter_multi_dispute_data
      
      * guide: elaborate
      
      * Implementation of dispute data filtering
      
      * tests for filtering
      
      * don't use std, you fool!
      
      * use swap_remove
      
      * Update runtime/parachains/src/disputes.rs
      
      Co-authored-by: default avatarAndronik Ordian <[email protected]>
      
      * use btreeste
      
      * address API nit
      
      Co-authored-by: default avatarAndronik Ordian <[email protected]>
      675f71a8
    • dependabot[bot]'s avatar
      Bump indexmap from 1.6.1 to 1.7.0 (#3497) · 1fd95607
      dependabot[bot] authored
      
      
      Bumps [indexmap](https://github.com/bluss/indexmap) from 1.6.1 to 1.7.0.
      - [Release notes](https://github.com/bluss/indexmap/releases)
      - [Commits](https://github.com/bluss/indexmap/compare/1.6.1...1.7.0)
      
      ---
      updated-dependencies:
      - dependency-name: indexmap
        dependency-type: direct:production
        update-type: version-update:semver-minor
      ...
      
      Signed-off-by: default avatardependabot[bot] <[email protected]>
      
      Co-authored-by: default avatardependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
      1fd95607
  11. Jul 20, 2021
  12. Jul 19, 2021
    • dependabot[bot]'s avatar
      Bump libc from 0.2.91 to 0.2.98 (#3496) · d3adc575
      dependabot[bot] authored
      
      
      Bumps [libc](https://github.com/rust-lang/libc) from 0.2.91 to 0.2.98.
      - [Release notes](https://github.com/rust-lang/libc/releases)
      - [Commits](https://github.com/rust-lang/libc/compare/0.2.91...0.2.98)
      
      ---
      updated-dependencies:
      - dependency-name: libc
        dependency-type: direct:production
        update-type: version-update:semver-patch
      ...
      
      Signed-off-by: default avatardependabot[bot] <[email protected]>
      
      Co-authored-by: default avatardependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
      d3adc575
    • dependabot[bot]'s avatar
      Bump slotmap from 1.0.2 to 1.0.5 (#3495) · 6ba5d536
      dependabot[bot] authored
      
      
      Bumps [slotmap](https://github.com/orlp/slotmap) from 1.0.2 to 1.0.5.
      - [Release notes](https://github.com/orlp/slotmap/releases)
      - [Changelog](https://github.com/orlp/slotmap/blob/master/RELEASES.md)
      - [Commits](https://github.com/orlp/slotmap/compare/v1.0.2...v1.0.5)
      
      ---
      updated-dependencies:
      - dependency-name: slotmap
        dependency-type: direct:production
        update-type: version-update:semver-patch
      ...
      
      Signed-off-by: default avatardependabot[bot] <[email protected]>
      
      Co-authored-by: default avatardependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
      6ba5d536
    • Andreas Doerr's avatar
      Gossip rebroadcast rate limiter (#3494) · 67e671ff
      Andreas Doerr authored
      67e671ff
    • ordian's avatar
      dependabot: ignore another git dep (#3493) · d5b5bd23
      ordian authored
      d5b5bd23
    • Bernhard Schuster's avatar
      add rustfmt toml (#3491) · 97dc1de7
      Bernhard Schuster authored
      * feat: rustfmt.toml
      
      Copied from substrate.
      
      * avoid normalize
      
      It has some odd side effects converting // to /* */ instead of the other way round. See https://github.com/rust-lang/rustfmt/issues/4909 .
      97dc1de7
    • asynchronous rob's avatar
      Disputes runtime (#2947) · ec98120f
      asynchronous rob authored
      
      
      * disputes module skeleton and storage
      
      * implement dispute module initialization logic
      
      * implement disputes session change logic
      
      * provide dispute skeletons
      
      * deduplication & ancient check
      
      * fix a couple of warnings
      
      * begin provide_dispute_data impl
      
      * flesh out statement set import somewhat
      
      * move ApprovalVote to shared primitives
      
      * add a signing-payload API to explicit dispute statements
      
      * implement statement signature checking
      
      * some bitflags glue for observing changes in disputes
      
      * implement dispute vote import logic
      
      * flesh out everything except slashing
      
      * guide: tweaks
      
      * declare and use punishment trait
      
      * punish validators for inconclusive disputes
      
      * guide: tiny fix
      
      * guide: update docs
      
      * add disputes getter fn
      
      * guide: small change to spam slots handling
      
      * improve spam slots handling and fix some bugs
      
      * finish API of disputes runtime
      
      * define and deposit `RevertTo` log
      
      * begin integrating disputes into para_inherent
      
      * use precomputed slash_for/against
      
      * return candidate hash from process_bitfields
      
      * implement inclusion::collect_disputed
      
      * finish integration into rest of runtime
      
      * add Disputes to initializer
      
      * address suggestions
      
      * use pallet macro
      
      * fix typo
      
      * Update runtime/parachains/src/disputes.rs
      
      * add test: fix pruning
      
      * document specific behavior
      
      * deposit events on dispute changes
      
      * add an allow(unused) on fn disputes
      
      * add a dummy PunishValidators implementation
      
      * add disputes module to Rococo
      
      * add disputes module to westend runtime
      
      * add disputes module to test runtime
      
      * add disputes module to kusama runtime
      
      * guide: prepare for runtime API for checking frozenness
      
      * remove revert digests in favor of state variable
      
      * merge reversions
      
      * Update runtime/parachains/src/disputes.rs
      
      Co-authored-by: default avatarAndré Silva <[email protected]>
      
      * Update runtime/parachains/src/disputes.rs
      
      Co-authored-by: default avatarAndré Silva <[email protected]>
      
      * Update runtime/parachains/src/disputes.rs
      
      Co-authored-by: default avatarAndré Silva <[email protected]>
      
      * add byzantine_threshold and supermajority_threshold utilities to primitives
      
      * use primitive helpers
      
      * deposit revert event when freezing chain
      
      * deposit revert log when freezing chain
      
      * test revert event and log are generated when freezing
      
      * add trait to decouple disputes handling from paras inherent handling
      
      * runtime: fix compilation and setup dispute handler
      
      * disputes: add hook for filtering out dispute statements
      
      * disputes: add initializer hooks to DisputesHandler
      
      * runtime: remove disputes pallet from all runtimes
      
      * tag TODOs
      
      * don't import any dispute statements just yet...
      
      * address grumbles
      
      * fix spellcheck, hopefully
      
      * maybe now?
      
      * last spellcheck round
      
      * fix runtime tests
      
      * fix test-runtime
      
      Co-authored-by: default avatarthiolliere <[email protected]>
      Co-authored-by: default avatarAndré Silva <[email protected]>
      Co-authored-by: default avatarAndré Silva <[email protected]>
      ec98120f
    • dependabot[bot]'s avatar
      Bump async-process from 1.0.1 to 1.1.0 (#3122) · 4636daa7
      dependabot[bot] authored
      
      
      Bumps [async-process](https://github.com/smol-rs/async-process) from 1.0.1 to 1.1.0.
      - [Release notes](https://github.com/smol-rs/async-process/releases)
      - [Changelog](https://github.com/smol-rs/async-process/blob/master/CHANGELOG.md)
      - [Commits](https://github.com/smol-rs/async-process/compare/v1.0.1...v1.1.0)
      
      Signed-off-by: default avatardependabot[bot] <[email protected]>
      
      Co-authored-by: default avatardependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
      4636daa7
    • Pierre Besson's avatar
      remove the kubernetes helm chart (#3483) · 661cfbcf
      Pierre Besson authored
      661cfbcf
    • Denis Tsai's avatar
  13. Jul 16, 2021
  14. Jul 15, 2021