Skip to content
  1. Dec 01, 2021
    • antonio-dropulic's avatar
      Squashed 'bridges/' changes from 23dda62482..407bf44a8a · 392447f5
      antonio-dropulic authored
      407bf44a8a add missing license header (#1204)
      9babb19810  Custom relay strategy (#1198)
      c287872a11 fix clippy things (#1200)
      3a40e62789 Expose some const value and type (#1186)
      32b61476d1 increase sleep before connectingMillau (#1195)
      aabe7041fa revert messages transactions mortality (#1194)
      3651f4f909 Message transactions mortality (#1191)
      364d6e155d Bump dependencies (#1180)
      f0389acc08 cargo +nightly fmt --all (#1192)
      b270b6a016 Unify error enums in substrate and ethereum clients with `thiserror` (#1094)
      58c4946f74 Limit max call size of Rialto/Millau runtimes (#1187)
      fd56a8cd56 Add UI to the deployment (#1047)
      16f01dc736 Westend -> Millau alerts are pending before notifications are sent (#1184)
      5628c11ece replace collective flip with babe randomness in Rialto (#1188)
      1094a63b00 ignore another (pretty bad) RUSTSEC (#1185)
      379fe323ea fix/ignore cargo deny issues (#1183)
      92af5e6e64 additional log in finality relay + rephrase "failed" (#1182)
      b996a3b681 Rialto parachain in test deployments (#1178)
      28d9332b44 Resubmit transactions strategy for Polkadot/Kusama (#1175)
      d0172c6847 Playing with CI (#1179)
      fb6f42456d fix checks order when registering parachain (#1177)
      ee828c005a Register-parachain subcommand of substrate-relay (#1170)
      8cd2b1a112 Token swap pallet benchmarks (#1174)
      bb811accb1 fix collision with westend bridge (#1172)
      8d2fba70ed add token swaps to test deployments (#1169)
      b6d1bdfe2c publish rialto parachain collator image (#1171)
      834ae4a10a Fix OutboundLaneData types (#1159)
      5ee0ea1626 copypasted -> copied (#1168)
      c3bb835f18 fix spelling (#1167)
      f90d041dc9 Upgrade `jsonrpsee` to v0.3 (#1051)
      598c9b6d0d add some basic tests for swap tokens (#1164)
      05e88c61f5 publish images when tag of specific format(e.g. v2021-09-27 + v2021-09-27-1) is published (#1166)
      7f3f94a6e0 Fix CI again (#1165)
      ff37de332f Move calculation relayer reward into `MessageDeliveryAndDispatchPayment` (#1153)
      36fbba839b fix clippy warning (#1163)
      16da44d018 explicit wasm build (#1158)
      c9c8226449 Match substrate's fmt (#1148)
      2fdd7f3e5e Fix/ignore clippy warnings (#1157)
      43dfcc2686 Adding LookupAddress (#1156)
      951eaa5582 Add rialto-parachain runtime and node (#1142)
      803d266d61 Rename MessageId -> BridgeMessageId (#1152)
      5f234484fc Box large arguments of GRANDPA pallet (#1154)
      cf9abc1011 Fix spelling (#1150)
      ab83ba2e58 Relay subcommand that performs token RLT <> MLAU token swap (#1141)
      832536caf0 Polkadot <> Kusama relayers (#1122)
      6d0daa8975 Add `OnMessageAccepted` callback (#1134)
      5d03a20b3e Integrate token swap pallet into Millau runtime (#1099)
      ea4cfa833e Adding MultiAddress type and ValidationCodeHash (#1139)
      c20325a784 Add tests for `Raw` and `BridgeSendMessage` enum `Call` variants (#1125)
      6d802416e2 increase pause before pining Rialto nodes (#1137)
      b54fa56b62 calculate fee using full message payload (#1132)
      ca5d8178f5 Add parachain pallets to rialto runtime (#1053)
      9eaae4142e fix transaction resubmitter limits for Millau -> Rialto transactions (#1135)
      9d4e17783c add --mandatory-headers-only cli option to complex relay (#1129)
      1c5e0ec1cb Add local CI info to README (#1131)
      a8e0929e14 chore: spellchecker fixes (#1130)
      3b8e2118e3 set fee for importing mandatory headers to zero (#1127)
      49bba9aa52 another bunch of words for spellchecker (#1128)
      8a72eafef6 Increase pause before messages generation start (#1126)
      1f0ba9a191 Move some associated types from relay_substrate_client::Chain to bp_runtime::Chain (#1087)
      74bc1a5b54 Transactions resubmitter (#1083)
      21ba001f26 log max balance drop when sending message (#1117)
      638a7ddffa Code Cleaning (#1124)
      be6555c51b Fix buildah logout (#1120)
      87539c4a98 Format code work (#1116)
      526fe7fdd7 fix spelling (#1119)
      bd4ce7f241 Fix spelling (#1118)
      3c1147858e added missing constants to Kusama/Polkadot primitives (#1114)
      52093b22ab Fix delivery transaction estimation used by rational relayer (#1109)
      77a2f2fbed Remove fund account checks from upgrade. (#1111)
      824334802b Rename param and update comment (#1108)
      d7784bfe06 Fix spellcheck (#1110)
      0b18f5906a Refactor substrate messages source and substrate messages target (#1105)
      b27240bbff fix compilation (#1107)
      9697da4fe8 Emit mortal transactions from relay (#1073)
      b29396c077 Change vault vars type to env vars (#1084)
      35e0bbdc0c Make clippy mandatory. (#1103)
      a517e8541f Remove unused deps (#1102)
      873dae608a Remove unnessary deps (#1101)
      13450b74ee Stored conversion rate updater (#1005)
      74389829f3 [BREAKING] Migrate messages pallet to frame v2 (#1088)
      424da938dd README fix (#1100)
      865744c909 upgrade currency exchange pallet to frame v2 (#1097)
      b5038148b3 Add missing docs (#1095)
      0791e911c1 Common crate for substrate-relay (#1082)
      3834c9d880 Update high-level-overview.md (#1093)
      c93553face Increase the time window for messaging alerts. (#1092)
      8b9cc3cecd migrate pallet-shift-session-manager to frame v2 (#1090)
      dc91813c22 migrate eth PoA pallet to frame v2 (#1091)
      f16bb098cc Migrate dispatch pallet  to frame v2 (#1089)
      19f4325348 Bridge/This Chain Ids should be exposed as constants on pallet level. (#1085)
      6381122df7 Change ChainSpec::from_genesis for Rialto and Millau chains to reflect the chain names. (#1079)
      0f1d33e973 Make CI happy again (#1086)
      238e65d96f fix typo (#1080)
      fc008457b6 Token-swap-over-bridge pallet (#944)
      3fb97fa5ef Fix full spellcheck (#1076)
      eae4ed7170 fixed wrong trace (#1075)
      219a0fad04 merge two weight-related loops in messages pallet (#1071)
      fc85632fdb increase_message_fee depends on stored mesage size (#1066)
      530f37a23b companion for https://github.com/paritytech/polkadot/pull/3507 (#1067)
      53b8cba683 sc_basic_authorship=trace for millau nodes (#1074)
      9874e05e98 Improve traces of message generator scripts (#1069)
      7b5ee84fbb extract message_details impl into runtime common (#1070)
      5a4aed5a8b refund weight for mot pruning messages (#1062)
      90e3d1e111 Fix Westend -> Millau sync (#1064)
      427d30ddfc When restarting client, also "restart" tokio runtime (#1065)
      d47c05eeef Change get pipeline sensitive variables from Vault instead of GitLab settings (#1063)
      d775a85415 use tokio reactor to execute jsonrpsee futures (#1061)
      15c8cd61cb Use BABE to author blocks on Rialto (previously: Aura) (#1050)
      5186293500 Allow reading suri && password override from file (#1059)
      b506298262 Update jsonrpsee reference (#1049)
      1734d00517 enable weight fee adjustent in Rialto/Millau (#1044)
      607265afae Pay dispatch fee at target chain cli option (#1043)
      ce79ef91be bump dependencies before start referencing polkadot repo (#1048)
      924fa24f6d Cli option for greedy relayer + run no-losses relayer by default (#1042)
      e21eba7b59 Yrong README Fixup + M1 Fixes (#1045)
      20d08204a2 Confirm delivery detects when more than expected messages are confirmed (#1039)
      994b846b52 pre and post dispatch weights of OnDeliveryConfirmed callback (#1040)
      1dd5297e84 give real value to Rialto and Millau tokens (#1038)
      035bee8715 Use real conversion rate in greedy relayer strategy (#1035)
      9cfaecd0f7 fixed metrics prefix (#1037)
      1d8d224937 Use kebab-case for bridge arguments (#1036)
      f30a4c79a6 Shared reference to conversion rate metric value (#1034)
      c34d7a5cbb estimate transaction fee (#1015)
      93404b18bb change alert period from 2m to 10m for Westend -> Millau (GRANDPA or public node itself is lagging sometimes) (#1032)
      
      git-subtree-dir: bridges
      git-subtree-split: 407bf44a8a5f4e60aceef2dc755cd9ff09929ac3
      392447f5
  2. 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
  3. Jun 24, 2021
  4. Jun 23, 2021
  5. 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
    • Arkadiy Paronyan's avatar
      Fast sync companion PR (#3078) · 0225640d
      Arkadiy Paronyan authored
      
      
      * Fixed build
      
      * Bumped trie-db
      
      * update Substrate
      
      * impl-guide: fix broken links
      
      Co-authored-by: parity-processbot <>
      Co-authored-by: default avatarAndronik Ordian <[email protected]>
      0225640d
    • ordian's avatar
      make `ctx.spawn` blocking (#3337) · ffc6f7c7
      ordian authored
      * make spawn sync
      
      * improve error type
      ffc6f7c7
  6. Jun 21, 2021
    • Bastian Köcher's avatar
      Only fetch one collation at a time per relay parent (#3333) · 9fa5d28e
      Bastian Köcher authored
      * Only fetch one collation at a time per relay parent
      
      Before a validator would fetch all collations that were advertised to
      him. This pr changes the behavior to always just fetch one collation at
      a time. If fetching fails, the validator will start fetching one of the
      other collations.
      
      * Use enum to be more explicit
      
      * Review comments
      9fa5d28e
    • Bastian Köcher's avatar
      Remove the streamunordered crate (#3339) · 3d2931ac
      Bastian Köcher authored
      The functionality is now provided by the `futures` crate.
      3d2931ac
    • asynchronous rob's avatar
      Chain Selection Subsystem Logic (#3277) · 74baed8b
      asynchronous rob authored
      
      
      * crate skeleton and type definitions
      
      * add ChainSelectionMessage
      
      * add error type
      
      * run loop
      
      * fix overseer
      
      * simplify determine_new_blocks API
      
      * write an overlay struct and fetch new blocks
      
      * add new function to overlay
      
      * more flow
      
      * add leaves to overlay and add a strong type around leaves-set
      
      * add is_parent_viable
      
      * implement block import, ignoring reversions
      
      * add stagnant-at to overlay
      
      * add stagnant
      
      * add revert consensus log
      
      * flow for reversions
      
      * extract and import block reversions
      
      * recursively update viability
      
      * remove redundant parameter from WriteBlockEntry
      
      * do some removal of viable leaves
      
      * address grumbles
      
      * refactor
      
      * address grumbles
      
      * add comment about non-monotonicity
      
      * extract backend to submodule
      
      * begin the hunt for viable leaves
      
      * viability pivots for updating the active leaves
      
      * remove LeafSearchFrontier
      
      * partially -> explicitly viable and untwist some booleans
      
      * extract tree to submodule
      
      * implement block finality update
      
      * Implement block approval routine
      
      * implement stagnant detection
      
      * ensure blocks pruned on finality are removed from the active leaves set
      
      * write down some planned test cases
      
      * floww
      
      * leaf loading
      
      * implement best_leaf_containing
      
      * write down a few more tests to do
      
      * remove dependence of tree on header
      
      * guide: ChainApiMessage::BlockWeight
      
      * node: BlockWeight ChainAPI
      
      * fix compile issue
      
      * note a few TODOs for the future
      
      * fetch block weight using new BlockWeight ChainAPI
      
      * implement unimplemented
      
      * sort leaves by block number after weight
      
      * remove warnings and add more TODOs
      
      * create test module
      
      * storage for test backend
      
      * wrap inner in mutex
      
      * add write waker query to test backend
      
      * Add OverseerSignal -> FromOverseer conversion
      
      * add test harnes
      
      * add no-op test
      
      * add some more test helpers
      
      * the first test
      
      * more progress on tests
      
      * test two subtrees
      
      * determine-new-blocks: cleaner genesis avoidance and tighter ancestry requests
      
      * don't make ancestry requests when asking for one block
      
      * add a couple more tests
      
      * add to AllMessages in guide
      
      * remove bad spaces from bridge
      
      * compact iterator
      
      * test import with gaps
      
      * more reversion tests
      
      * test finalization pruning subtrees
      
      * fixups
      
      * test clobbering and fix bug in overlay
      
      * exhaustive backend state after finalizaiton tested
      
      * more finality tests
      
      * leaf tests
      
      * test approval
      
      * test ChainSelectionMessage::Leaves thoroughly
      
      * remove TODO
      
      * avoid Ordering::is_ne so CI can build
      
      * comment algorithmic complexity
      
      * Update node/core/chain-selection/src/lib.rs
      
      Co-authored-by: default avatarBernhard Schuster <[email protected]>
      
      Co-authored-by: default avatarBernhard Schuster <[email protected]>
      74baed8b
    • Shawn Tabrizi's avatar
      Use `max_code_size` and `max_wasm_data_size` from Parachains Configuration (#3329) · 6b1baba4
      Shawn Tabrizi authored
      
      
      * use `configuration::config()` for max bytes
      
      * Update integration_tests.rs
      
      * Update paras_registrar.rs
      
      * remove consts
      
      * add asserts for non-zero
      
      * more const clean up
      
      * cargo run --release --features=runtime-benchmarks -- benchmark --chain=kusama-dev --steps=50 --repeat=20 --pallet=runtime_common::paras_registrar --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/kusama/src/weights/runtime_common_paras_registrar.rs
      
      * cargo run --release --features=runtime-benchmarks -- benchmark --chain=westend-dev --steps=50 --repeat=20 --pallet=runtime_common::paras_registrar --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/westend/src/weights/runtime_common_paras_registrar.rs
      
      * add checks to `MAX_CODE_SIZE`
      
      * re-pot MAX_POV_SIZE
      
      * check pov limit in runtime
      
      * POV_BOMB_LIMIT multiplier
      
      * fix compile
      
      * Update configuration.rs
      
      * Update node/primitives/src/lib.rs
      
      * fix test
      
      Co-authored-by: default avatarParity Bot <[email protected]>
      6b1baba4
    • Alexander Popiak's avatar
      Export `fungibles_adapter` Types (#3334) · 45ed52a2
      Alexander Popiak authored
      * export fungibles_adapter types
      
      * formatting
      45ed52a2
  7. Jun 20, 2021
  8. Jun 19, 2021
  9. Jun 18, 2021
  10. Jun 17, 2021