Skip to content
  1. Feb 03, 2022
  2. Feb 02, 2022
  3. Feb 01, 2022
  4. Jan 31, 2022
  5. Jan 30, 2022
    • ordian's avatar
      parainherent: fix session in OnChainVotes · db4cff49
      ordian authored
      db4cff49
    • ordian's avatar
      dispute-coordinator: more useful logs · 9ce2798d
      ordian authored
      9ce2798d
    • Oliver Tale-Yazdi's avatar
      Add baseline benchmarks (#4777) · 88a4a748
      Oliver Tale-Yazdi authored
      
      
      * Don't merge this
      
      Signed-off-by: default avatarOliver Tale-Yazdi <[email protected]>
      
      * cargo run --quiet --profile=production  --features=runtime-benchmarks -- benchmark --chain=polkadot-dev --steps=50 --repeat=20 --pallet=pallet_balances --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/polkadot/src/weights/
      
      * cargo run --quiet --profile=production  --features=runtime-benchmarks -- benchmark --chain=kusama-dev --steps=50 --repeat=20 --pallet=pallet_balances --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/kusama/src/weights/
      
      * Add baseline benches
      
      Signed-off-by: default avatarOliver Tale-Yazdi <[email protected]>
      
      * Revert "Don't merge this"
      
      This reverts commit d0fcc4f9cf83492862618c3b254cb6589f1b1831.
      
      * cargo run --quiet --profile=production  --features=runtime-benchmarks -- benchmark --chain=kusama-dev --steps=50 --repeat=20 --pallet=frame_benchmarking::baseline --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/kusama/src/weights/frame_benchmarking_baseline.rs
      
      * cargo run --quiet --profile=production  --features=runtime-benchmarks -- benchmark --chain=polkadot-dev --steps=50 --repeat=20 --pallet=frame_benchmarking::baseline --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/polkadot/src/weights/frame_benchmarking_baseline.rs
      
      * Add weight modules
      
      Signed-off-by: default avatarOliver Tale-Yazdi <[email protected]>
      
      * Apply suggestions from code review
      
      Co-authored-by: default avatarParity Bot <[email protected]>
      Co-authored-by: default avatarShawn Tabrizi <[email protected]>
      88a4a748
  6. Jan 28, 2022
  7. Jan 27, 2022
  8. Jan 26, 2022
  9. Jan 25, 2022
  10. Jan 24, 2022
    • Alexander Samusev's avatar
      [ci] pipeline chores (#4775) · 6b7e40cd
      Alexander Samusev authored
      * [ci] WIP: pipeline chores
      
      * fix vault
      
      * fix secrets
      6b7e40cd
    • Chevdor's avatar
      New changelog scripts (#4491) · 0269532f
      Chevdor authored
      * Add templates
      
      * Add folder for local storage of the digests
      
      * Add first draft of the changelog scripts
      
      * Enable Audits in the change template
      
      * Fixes for Polkadot
      
      * Fix templating issue in case there is no high prio change
      
      * Fix Ruby setup
      
      * Remove shell
      
      * Fix chain names
      
      * Fix ENV
      
      * Fix how to get runtime
      
      * Fix runtime_dir
      
      * Fix context location
      
      * Pin changelogerator to a specific version
      0269532f
  11. Jan 21, 2022
    • Bastian Köcher's avatar
      Companion for Substrate#10655 (#4765) · ef13a0ab
      Bastian Köcher authored
      * Companion for Substrate#10655
      
      https://github.com/paritytech/substrate/pull/10655
      
      This removes the last usages of `Default` in conjunction with `AccountId`
      
      * More fixes
      
      * More of them!
      
      * FMT
      
      * Update Substrate
      ef13a0ab
    • Oliver Tale-Yazdi's avatar
      Use `define_benchmarks!` (#4760) · cc1201ef
      Oliver Tale-Yazdi authored
      
      
      Signed-off-by: default avatarOliver Tale-Yazdi <[email protected]>
      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 <[email protected]>
      
      * 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 <[email protected]>
      
      * 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 <[email protected]>
      Co-authored-by: default avatarKeith Yeung <[email protected]>
      Co-authored-by: default avatarSergey Shulepov <[email protected]>
      Co-authored-by: default avatarZeke Mostov <[email protected]>
      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 <[email protected]>
      
      * Use preset account ID value for parent MultiLocations
      
      Co-authored-by: default avatarBastian Köcher <[email protected]>
      efe29049
  12. Jan 20, 2022
    • Oliver Tale-Yazdi's avatar
      co #10662: Require `MaxEncodedLen` per default (#4746) · 3d61cc01
      Oliver Tale-Yazdi authored
      
      
      * Add `without_storage_info`
      
      The MaxEncodedLen trait is now enforced by default in Substrate.
      All pallets missing an implementation need to be marked with
      `without_storage_info` now.
      
      Signed-off-by: default avatarOliver Tale-Yazdi <[email protected]>
      
      * Remove `generate_storage_info`
      
      Signed-off-by: default avatarOliver Tale-Yazdi <[email protected]>
      
      * Add more `without_storage_info`
      
      Signed-off-by: default avatarOliver Tale-Yazdi <[email protected]>
      
      * update lockfile for {"substrate"}
      
      Co-authored-by: parity-processbot <>
      3d61cc01
    • Bernhard Schuster's avatar
      [runtime] follow up relay chain cleanups (#4657) · b7a05fd4
      Bernhard Schuster authored
      
      
      * fix miscalculation of remaining weight
      
      * rename a var
      
      * move out enforcing filtering by dropping inherents
      
      * prepare for dispute statement validity check being split off
      
      * refactor
      
      * refactor, only check disputes we actually want to include
      
      * more refactor and documentation
      
      * refactor and minimize inherent checks
      
      * chore: warnings
      
      * fix a few tests
      
      * fix dedup regression
      
      * fix
      
      * more asserts in tests
      
      * remove some asserts
      
      * chore: fmt
      
      * skip signatures checks, some more
      
      * undo unwatend changes
      
      * Update runtime/parachains/src/paras_inherent/mod.rs
      
      Co-authored-by: default avatarsandreim <[email protected]>
      
      * cleanups, checking CheckedDisputeStatments makes no sense
      
      * integrity, if called create_inherent_inner, it shall do the checks, and not rely on enter_inner
      
      * review comments
      
      * use from impl rather than into
      
      * remove outdated comment
      
      * adjust tests accordingly
      
      * assure no weight is lost
      
      * address review comments
      
      * remove unused import
      
      * split error into two and document
      
      * use assurance, O(n)
      
      * Revert "adjust tests accordingly"
      
      This reverts commit 3cc9a3c449f82db38cea22c48f4a21876603374b.
      
      * fix comment
      
      * fix sorting
      
      * comment
      
      Co-authored-by: default avatarsandreim <[email protected]>
      b7a05fd4
    • Javier Viola's avatar
      [Zombienet] add dummy upgrade test (#4660) · 883b490c
      Javier Viola authored
      883b490c
  13. Jan 19, 2022
  14. Jan 18, 2022