Skip to content
Snippets Groups Projects
  1. Jan 21, 2022
    • Oliver Tale-Yazdi's avatar
      cc1201ef
    • Bastian Köcher's avatar
      polkadot-test-service: Enable wasmtime feature (#4762) · 8756678a
      Bastian Köcher authored
      We use the `Compiled` wasm execution and for that the `wasmtime` needs
      to be enabled.
      8756678a
    • Kian Paimani's avatar
      HRMP benchmarks (#3876) · 3cb2d626
      Kian Paimani authored
      
      * wip template for hrmp benchmarks
      
      * add all of the benchmarks, first draft
      
      * File was not saved :/
      
      * cargo +nightly fmt
      
      * Use configs
      
      * add configs
      
      * Fix rococo
      
      * Final touches
      
      * revert fmt changes, one last time
      
      * Fix wrappings
      
      * Fix a bunch of tests
      
      * cargo run --quiet --release --features=runtime-benchmarks -- benchmark --chain=kusama-dev --steps=50 --repeat=20 --pallet=runtime_parachains::hrmp --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/kusama/src/weights/runtime_parachains_hrmp.rs
      
      * add to westend
      
      * actually use everything
      
      * cargo run --quiet --release --features=runtime-benchmarks -- benchmark --chain=westend-dev --steps=50 --repeat=20 --pallet=runtime_parachains::hrmp --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/westend/src/weights/runtime_parachains_hrmp.rs
      
      * Update runtime/parachains/src/hrmp.rs
      
      Co-authored-by: default avatarKeith Yeung <kungfukeith11@gmail.com>
      
      * use real weight in wnd
      
      * reorg
      
      * minor cleanup
      
      * weigh some of the internal stuff as well
      
      * cargo run --quiet --release --features=runtime-benchmarks -- benchmark --chain=kusama-dev --steps=50 --repeat=20 --pallet=runtime_parachains::hrmp --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/kusama/src/weights/runtime_parachains_hrmp.rs
      
      * cargo run --quiet --release --features=runtime-benchmarks -- benchmark --chain=westend-dev --steps=50 --repeat=20 --pallet=runtime_parachains::hrmp --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/westend/src/weights/runtime_parachains_hrmp.rs
      
      * add files
      
      * Master.into()
      
      * add validation
      
      * fmt
      
      * fmt
      
      * final fixes
      
      * all runtimes build
      
      * undo formatting
      
      * Update runtime/parachains/src/hrmp.rs
      
      Co-authored-by: default avatarZeke Mostov <z.mostov@gmail.com>
      
      * non-controversial changes
      
      * do it the parachain-way: use const instead of type configs for simplicity.
      
      * borrow assert_storage_consistency_exhaustive
      
      * move assert_storage_consistency_exhaustive to Pallet, so it can be reused for benchmarks as well.
      
      * fix typo
      
      Co-authored-by: default avatarParity Bot <admin@parity.io>
      Co-authored-by: default avatarKeith Yeung <kungfukeith11@gmail.com>
      Co-authored-by: default avatarSergey Shulepov <s.pepyakin@gmail.com>
      Co-authored-by: default avatarZeke Mostov <z.mostov@gmail.com>
      3cb2d626
    • Keith Yeung's avatar
      Remove `Default` bound on `AccountId` types under the xcm directory (#4712) · efe29049
      Keith Yeung authored
      
      * Refactor ParentIsDefault to ParentIsAllZeroes
      
      * Remove Default bound on all AccountId types under the xcm directory
      
      * Change to ParentIs<A: Get<AccountId>, AccountId>
      
      * Provide a better account for ParentIs
      
      * Fixes
      
      * Fixes
      
      * Fixes
      
      * Fixes
      
      * Update xcm/xcm-builder/src/currency_adapter.rs
      
      Co-authored-by: default avatarBastian Köcher <bkchr@users.noreply.github.com>
      
      * Use preset account ID value for parent MultiLocations
      
      Co-authored-by: default avatarBastian Köcher <bkchr@users.noreply.github.com>
      efe29049
  2. Jan 20, 2022
  3. Jan 19, 2022
  4. Jan 18, 2022
  5. Jan 17, 2022
    • zqhxuyuan's avatar
      make xcm_config public (#4731) · c0ed54f1
      zqhxuyuan authored
      c0ed54f1
    • Sergey Pepyakin's avatar
      paras: do not allow PVF vote submission if disabled (#4684) · 815021ab
      Sergey Pepyakin authored
      if the PVF pre-checking is disabled the runtime dispatchable will reject
      any attempts of submission. This is also concern the unsigned tx
      validation.
      
      Right now, the `include_pvf_check_statement` dispatchable is effectively
      uncallable because of the weight set to the maximum value. If we were to
      benchmark it, it would become includable in a block, but since there
      will be no active votes, the dispatchable won't do anything.
      
      However, it will execute some code, like signature validation and
      querying some storage entries. To be completely safe, we can bail out
      early if the `pvf_checking_enabled` config is disabled. That's what this
      PR does.
      815021ab
    • Zeke Mostov's avatar
      Change EraIndex import path: companion #10671 (#4728) · 7ef476c2
      Zeke Mostov authored
      * Change EraIndex import path: companion #10671
      
      * update lockfile for {"substrate"}
      
      Co-authored-by: parity-processbot <>
      7ef476c2
  6. Jan 15, 2022
  7. Jan 13, 2022
  8. Jan 12, 2022
  9. Jan 11, 2022
  10. Jan 10, 2022
  11. Jan 07, 2022