1. Jul 06, 2021
  2. Jul 05, 2021
  3. Jul 02, 2021
  4. Jul 01, 2021
  5. Jun 30, 2021
  6. Jun 29, 2021
  7. Jun 28, 2021
  8. Jun 25, 2021
    • Svyatoslav Nikolsky's avatar
      Squashed 'bridges/' changes from b2099c5..23dda62 (#3369) · feefc345
      Svyatoslav Nikolsky authored
      23dda62 Rococo <> Wococo messages relay (#1030)
      bcde21d Update the wasm builder to substrate master (#1029)
      a8318ce Make target signer optional when sending message. (#1018)
      f8602e1 Fix insufficient balance when send message. (#1020)
      d95c0a7 greedy relayer don't need message dispatch to be prepaid if dispatch is supposed to be paid at the target chain (#1016)
      ad5876f Update types. (#1027)
      116cbbc CI: fix starting the pipeline (#1022)
      7e0fadd Add temporary `canary` job (#1019)
      6787091 Update types to contain dispatch_fee_payment (#1017)
      03f79ad Allow Root to assume SourceAccount. (#1011)
      372d019 Return dispatch_fee_payment from message details RPC (#1014)
      604eb1c Relay basic single-bit message dispatch results back to the source chain (#935)
      bf52fff Use plain source_queue view when selecting nonces for delivery (#1010)
      fc5cf7d pay dispatch fee at target chain (#911)
      1e35477 Bump Substrate to `286d7ce` (#1006)
      7ad07b3 Add --only-mandatory-headers mode (#1004)
      5351dc9 Messages relayer operating mode (#995)
      9bc29a7 Rococo <> Wococo relayer balance guard (#998)
      bc17341 rename messages_dispatch_weight -> message_details (#996)
      95be244 Bump Rococo and Wococo spec versions (#999)
      c35567b Move ChainWithBalances::NativeBalance -> Chain::Balance (#990)
      1bfece1 Fix some nits (#988)
      334ea0f Increase pause before starting relays again (#989)
      7fb8248 Fix clippy in test code (#993)
      d60ae50 fix clippy issues (#991)
      75ca813 Make sure GRANDPA shares state with RPC. (#987)
      da2a38a Bump Substrate (#986)
      5a9862f Update submit finality proof weight formula (#981)
      69df513 Flag for rejecting all outbound messages (#982)
      14d0506 Add script to setup bench machine. (#984)
      e74e8ab Move CI from GitHub Actions to GitLab (#814)
      c5ca5dd Custom justification verification (#979)
      643f10d Always run on-demand headers relay in complex relay (#975)
      a35b0ef Add JSON type definitions for Rococo<>Wococo bridge (#977)
      0eb83f2 Update cargo.deny (#980)
      e1d1f4c Bump Rococo/Wococo spec_version (#976)
      deac90d increase pause before starting relays (#974)
      68d6d79 Revert to use InspectCmd, bump substrate `6bef4f4` (#966)
      66e1508 Avoid hashing headers twice in verify_justification (#973)
      a31844f Bump `environmental` dependency (#972)
      2a4c29a in auto-relays keep trying to connect to nodes until connection is established (#971)
      0e767b3 removed stray file (#969)
      b9545dc Serve multiple lanes with single complex relay instance (#964)
      73419f4 Correct type error (#968)
      bac256f Start finality relay spec-version guards for Rococo <> Wococo finality relays (#965)
      bfd7037 pass source and target chain ids to account_ownership_proof (#963)
      8436073 Upstream changes from Polkadot repo (#961)
      e58d851 Increase account endowment amount (#960)
      
      git-subtree-dir: bridges
      git-subtree-split: 23dda6248236b27f20d76cbedc30e189cc6f736c
      feefc345
    • Martin Pugh's avatar
      Bump versions & spec_versions (#3368) · 022e8bc1
      Martin Pugh authored
      * bump versions & spec_versions
      
      * bump Cargo.lock
      022e8bc1
    • Shawn Tabrizi's avatar
      Don't allow bids for a ParaId where there is an overlapping lease period (#3361) · acec54a7
      Shawn Tabrizi authored
      
      
      * add already leased
      
      Co-Authored-By: parity-processbot <>
      
      * add unit test
      
      Co-Authored-By: parity-processbot <>
      
      * add integration test and fix
      
      Co-Authored-By: parity-processbot <>
      
      * better doc
      
      Co-Authored-By: parity-processbot <>
      
      * Update runtime/common/src/slots.rs
      
      * Update runtime/common/src/slots.rs
      
      * Apply suggestions from code review
      
      Co-authored-by: default avatarAndré Silva <[email protected]>
      Co-authored-by: default avatarKian Paimani <[email protected]>
      
      * Update runtime/common/src/integration_tests.rs
      
      * Update runtime/common/src/integration_tests.rs
      
      * cargo run --release --features=runtime-benchmarks -- benchmark --chain=kusama-dev --steps=50 --repeat=20 --pallet=runtime_common::auctions --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/kusama/src/weights/runtime_common_auctions.rs
      
      * cargo run --release --features=runtime-benchmarks -- benchmark --chain=kusama-dev --steps=50 --repeat=20 --pallet=runtime_common::auctions --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/kusama/src/weights/runtime_common_auctions.rs
      
      * cargo run --release --features=runtime-benchmarks -- benchmark --chain=kusama-dev --steps=50 --repeat=20 --pallet=runtime_common::crowdloan --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/kusama/src/weights/runtime_common_crowdloan.rs
      
      * cargo run --release --features=runtime-benchmarks -- benchmark --chain=westend-dev --steps=50 --repeat=20 --pallet=runtime_common::auctions --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/westend/src/weights/runtime_common_auctions.rs
      
      * cargo run --release --features=runtime-benchmarks -- benchmark --chain=westend-dev --steps=50 --repeat=20 --pallet=runtime_common::crowdloan --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/westend/src/weights/runtime_common_crowdloan.rs
      
      * cargo run --release --features=runtime-benchmarks -- benchmark --chain=kusama-dev --steps=50 --repeat=20 --pallet=runtime_common::slots --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/kusama/src/weights/runtime_common_slots.rs
      
      * cargo run --release --features=runtime-benchmarks -- benchmark --chain=westend-dev --steps=50 --repeat=20 --pallet=runtime_common::slots --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/westend/src/weights/runtime_common_slots.rs
      
      Co-authored-by: default avatarAndré Silva <[email protected]>
      Co-authored-by: default avatarKian Paimani <[email protected]>
      Co-authored-by: default avatarParity Bot <[email protected]>
      acec54a7
    • thiolliere's avatar
      Companion for upgrade of transaction-payment to pallet macro (#3267) · 4a1d1b2d
      thiolliere authored
      
      
      * update generic of storages
      
      * update Substrate
      
      * Remove unused import
      
      * Remove unused import in test
      
      Co-authored-by: parity-processbot <>
      Co-authored-by: default avatarKeith Yeung <[email protected]>
      4a1d1b2d
  9. Jun 24, 2021
  10. Jun 23, 2021
  11. Jun 22, 2021
    • asynchronous rob's avatar
      SelectChain implementation for relay chains (#3341) · b57b9cf7
      asynchronous rob authored
      * stubbed SelectRelayChain
      
      * disconnected overseer handlers
      
      * add is_disconnected
      
      * add fallback in case overseer is disconnected
      
      * fall back on fallback
      
      * fetch leaves by calling into chain-selection subsystem
      
      * implement best_chain
      
      * mostly implement finality_target
      
      * chain constrain
      
      * metrics and maximum safeguard
      
      * remove review comment after review
      b57b9cf7
    • André Silva's avatar
      runtime: remove randomness collective flip pallet (#3347) · 6b408d1e
      André Silva authored
      
      
      * runtime: remove randomness collective flip pallet
      
      * add storage migration to remove key
      
      Co-Authored-By: parity-processbot <>
      
      Co-authored-by: default avatarShawn Tabrizi <[email protected]>
      6b408d1e
    • Lldenaurois's avatar
      Approval Checking: Avoid redundant checks (#3306) · 777499dc
      Lldenaurois authored
      * node/approval-voting: Introduce LruCache for pending Approval work
      
      This commit adds an LruCache that is intended to track the approval work
      submitted as background tasks in order to ensure that the validator needn't
      launch duplicate approval work for the same candidate across multiple blocks.
      A simple state machine is also introduced in order to differentiate pending
      and completed tasks. In addition, this LruCache will retain ValidationResults
      from the completed approval work once the task has completed. As per LruCache
      implementation, the oldest tasks will get evicted as new approval work is
      submitted to this cache.
      
      * node/approval-voting: Revert changes to master
      
      This commit reverts changes from the previous commit in order
      to simplify addressing the architecture discussion raised in the PR.
      
      * node/approval-voting: remove background task mpsc construct
      
      This diff removes the mpsc construct for background tasks in preparation
      for a move to leveraging RemoteHandles to launch approvals, rather than
      passing ApprovalRequests to a mpsc channel and handling the ApprovalRequests
      in the main subsystem task.
      
      * node/approval-voting: Introduce LRU Cache
      
      This commit introduces an LRU Cache but does not yet make use of it.
      
      * node/approval-voting: Remove BackgroundTasksMap and memoize currently_checking
      
      This commit removes the BackgroundTasksMap in the main subsystem task
      and introduces a method to keep track of RemoteHandles in such a way that
      we can ensure that a task is spawned once for a CandidateHash and
      relay parent tuple.
      
      * node/approval-voting: Remove BackgroundTasksMap and memoize currently_checking
      
      This commit removes the BackgroundTasksMap in the main subsystem task
      and introduces a map of FuturesUnordered per BlockNumber. In addition,
      a FusedFuture is generated by iterating across all FuturesUnordered for
      the BlockNumbers for which at least one candidate has approvals work
      running in the subsystem.
      
      * node/approval-voting: Address Rob's comments
      
      This diff removes the prior HashMap<BlockNumber, FuturesUnordered>
      construction and instead moves to a simple FuturesUnordered where
      all the work is await with Timeout.
      
      * node/approval-voting: Update Cargo.lock
      
      Due to a mismatch in rustc versions
      
      * node/approval-voting: Make use of actions when issuing_approval
      
      This commit fixes a small oversight in the logic of the prior commit.
      
      * node/approval-voting: Address Rob's feedback
      
      * node/approval-voting: Introduce lazy launch_approval evaluation
      
      * node/approval-voting: Send DistibruteApproval message on every LaunchApproval
      
      In addition to fixed the DistributeApproval bug, this commit also
      increases the size of the approvals cache and ensures the StaleGuard
      is removed when the advantageous approval state is reached.
      
      * node/approval-voting: Address final comments
      
      This commit removes the CandidateIndex from the ApprovalVoteRequest.
      Instead, the launch_approval function will compute the candidate_index
      from the block entry.
      
      In addition, a comment has been added explaining the difficulty of
      issuing approvals in the handle_actions function.
      
      * node/approval-voting: Set timeout to be 120s rather than 2s
      
      * Update Cargo.lock
      777499dc
    • Robert Klotzner's avatar
      Dispute distribution guide (#3158) · e3340e44
      Robert Klotzner authored
      * Dispute distribution initial design.
      
      * WIP.
      
      * Dispute distribution guide update.
      
      * Make invalid statement include `InvalidStatementKind`.
      
      * Clarify the scope of disputes.
      
      * A few fixes + introduced back pressure oneshot.
      
      * Fixes and spam protection WIP.
      
      * More spam considerations.
      
      * More fixes.
      
      * Fixes + add note about not dispute participating nodes.
      e3340e44
    • dependabot[bot]'s avatar
      Bump paste from 1.0.4 to 1.0.5 (#3340) · 78801904
      dependabot[bot] authored
      Bumps [paste](https://github.com/dtolnay/paste) from 1.0.4 to 1.0.5.
      - [Release notes](https://github.com/dtolnay/paste/releases)
      - [Commits](https://github.com/dtolnay/paste/compare/1.0.4...1.0.5
      
      )
      
      ---
      updated-dependencies:
      - dependency-name: paste
        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>
      78801904
    • dependabot[bot]'s avatar
      Bump rand_chacha from 0.3.0 to 0.3.1 (#3225) · 23f1b8ee
      dependabot[bot] authored
      Bumps [rand_chacha](https://github.com/rust-random/rand) from 0.3.0 to 0.3.1.
      - [Release notes](https://github.com/rust-random/rand/releases)
      - [Changelog](https://github.com/rust-random/rand/blob/master/CHANGELOG.md)
      - [Commits](https://github.com/rust-random/rand/compare/rand_chacha-0.3.0...rand_chacha-0.3.1
      
      )
      
      ---
      updated-dependencies:
      - dependency-name: rand_chacha
        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>
      23f1b8ee