Skip to content
  1. Jun 21, 2021
    • 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
  2. Jun 20, 2021
  3. Jun 19, 2021
    • André Silva's avatar
      Companion for substrate#9138 (#3294) · 85936d28
      André Silva authored
      * fix babe params
      
      * update Substrate
      
      Co-authored-by: parity-processbot <>
      85936d28
    • dependabot[bot]'s avatar
      Bump env_logger from 0.8.2 to 0.8.4 (#3298) · a5c6d30c
      dependabot[bot] authored
      
      
      Bumps [env_logger](https://github.com/env-logger-rs/env_logger) from 0.8.2 to 0.8.4.
      - [Release notes](https://github.com/env-logger-rs/env_logger/releases)
      - [Changelog](https://github.com/env-logger-rs/env_logger/blob/main/CHANGELOG.md)
      - [Commits](https://github.com/env-logger-rs/env_logger/compare/v0.8.2...v0.8.4)
      
      ---
      updated-dependencies:
      - dependency-name: env_logger
        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>
      a5c6d30c
    • ordian's avatar
      network-bridge: remove action_sink abstraction (#3308) · 71c50179
      ordian authored
      * network-bridge: remove action_sink abstraction
      
      * another wtf
      
      * filter out event stream
      
      * Revert "filter out event stream"
      
      This reverts commit 63bd8f5de5b44d415dcb205e1b9fad8145200e06.
      
      * retain cleanup though
      71c50179
    • asynchronous rob's avatar
      Block weight ChainAPI (#3301) · b70da7bf
      asynchronous rob authored
      
      
      * guide: ChainApiMessage::BlockWeight
      
      * node: BlockWeight ChainAPI
      
      * fix compile issue
      
      * implement ChainApi::BlockWeight
      
      * add test for ChainApi::BlockWeight
      
      * update substrate
      
      Co-authored-by: default avatarAndré Silva <[email protected]>
      b70da7bf
    • Andreas Doerr's avatar
      Bump BEEFY (#3302) · be2d1ce0
      Andreas Doerr authored
      be2d1ce0
    • Shawn Tabrizi's avatar
      039df45f
    • Lldenaurois's avatar
      Follow-up PR: Count no-shows (#3309) · 5c16c95b
      Lldenaurois authored
      * node/approval-voting: test for invalid validator index in assignments
      
      This commit adds a unit test to show that, currently, validator indexes
      greater than n_validators (or the length of the approvals bitvector) are
      counted in n_assignments. In the subsequent commit we will correct this
      behavior.
      
      * node/approval-voting: ignore invalid validator indexes in n_assignments
      
      This commit ignores any validator assignments whose index is beyond
      n_validators. Without this check, an improperly crafted assignment would
      be counted towards the approval.
      
      It still remains that n_assignments and count_no_shows inspect the
      number of validators and approvals, respectively. Ideally we would
      add greater safety around ensuring these two values cannot differ.
      5c16c95b
  4. Jun 18, 2021
  5. Jun 17, 2021
  6. Jun 16, 2021
    • Shawn Tabrizi's avatar
      fix xcm pallet origin (#3272) · 0282ad31
      Shawn Tabrizi authored
      0282ad31
    • asynchronous rob's avatar
      extract determine_new_blocks into a separate utility (#3261) · 462ca043
      asynchronous rob authored
      * extract determine_new_blocks into a separate utility
      
      * rework docs
      462ca043
    • Lldenaurois's avatar
      Approval checking unit tests (#3252) · 0da70dfa
      Lldenaurois authored
      * node/approval_checking: break out filled_tranch_iterator method
      
      In the subsequent commit, we will begin to test this method in
      isolation.
      
      * node/approval-voting: fix tranche back-filling algorithm
      
      Previously, this algorithm would generate duplicate, empty entries for
      tranches (1..pre_end). This is caused because the initial value (0) for
      gap_end is treated as the end of a prior tranche that wasn't actually
      processed. The first pass thus would add (1..tranche) empty entries, in
      addition to the (0..pre_end) empty entries chained at the end of the
      method.
      
      This is fixed by using the current tranche as the gap_start for the
      first iteration, ensuring that the approval_entries_filled only produces
      entries in the range (pre_end..post_start).
      
      * Address feedback
      0da70dfa
    • André Silva's avatar
      bridges: update finality-grandpa to 0.14.1 (#3266) · 4b3ec9c9
      André Silva authored
      * bridges: update finality-grandpa
      
      * update Substrate
      
      Co-authored-by: parity-processbot <>
      4b3ec9c9
    • Bernhard Schuster's avatar
      malus - mockable overseer mvp (#3224) · 44a8aa23
      Bernhard Schuster authored
      44a8aa23
    • Shawn Tabrizi's avatar
      use safe math (#3249) · b64d9885
      Shawn Tabrizi authored
      b64d9885
    • Shawn Tabrizi's avatar
      Companion for #8920 (Control Staking) (#3260) · 2fbd705e
      Shawn Tabrizi authored
      * update weight apis
      
      * update Substrate
      
      Co-authored-by: parity-processbot <>
      2fbd705e
    • Keith Yeung's avatar
      Companion for #8949 (#3216) · 7d82d93f
      Keith Yeung authored
      * Remove Call part imports of the offences and authority discovery pallets
      
      * Remove non-existent Call enum variants
      
      * Move ValidateUnsigned impl to be under #[pallet::validate_unsigned] in claims pallet
      
      * Remove unused imports
      
      * Remove Call part import for randomness collective flip pallet
      
      * update Substrate
      
      Co-authored-by: parity-processbot <>
      7d82d93f
  7. Jun 15, 2021
  8. Jun 14, 2021