Skip to content
  1. Dec 05, 2022
  2. Nov 30, 2022
  3. Oct 22, 2022
    • Mara Broda's avatar
      sync versions with current release (0.9.31) (#6176) · f8cc39a7
      Mara Broda authored
      * Bump spec_version to 9310
      
      * bump transaction_version (0.9.31) (#6171)
      
      * Bump transaction_version for polkadot
      
      * Bump transaction_version for kusama
      
      * Bump transaction_version for rococo
      
      * Bump transaction_version for westend
      
      * Bump transaction_version for polkadot
      
      * Bump transaction_version for kusama
      
      * Bump transaction_version for rococo
      
      * Bump transaction_version for westend
      
      * Bump crate versions (0.9.31)
      f8cc39a7
  4. Oct 03, 2022
    • Gavin Wood's avatar
      Governance v2 (Kusama only) (#5205) · 5d2f8103
      Gavin Wood authored
      
      
      * First bits
      
      * Create new origins
      
      * Repot governance configs
      
      * Tests for treasury spends
      
      * Integrate treasury spend threshold origins
      
      * Bump deps
      
      * Add whitelist, configure treasury spend origins
      
      * Add governance curves
      
      * Enable curve's ceil to be configured
      
      * Make compile
      
      * Rest of new governance params
      
      * Build fixes
      
      * Fixes
      
      * Fix warning
      
      * Use new EnsureOrigin::try_successful_origin
      
      * Some repotting
      
      * Add files
      
      * Ready for initial review
      
      * Fixes
      
      * Formatting
      
      * Bump
      
      * rename
      
      * Derive MEL for Origin enum
      
      Signed-off-by: default avatarOliver Tale-Yazdi <[email protected]>
      
      * Add benchmarks
      
      Signed-off-by: default avatarOliver Tale-Yazdi <[email protected]>
      
      * ".git/.scripts/bench-bot.sh" runtime kusama-dev pallet_conviction_voting
      
      * Update Cargo.lock
      
      * Update runtime/kusama/src/governance/origins.rs
      
      Co-authored-by: default avatarXiliang Chen <[email protected]>
      
      * allow root to demote and promote, fixing benchmarks
      
      * fix whitelist origin benchmarks
      
      * typo
      
      * cargo update -p sp-io
      
      * add second referenda instance to benchmarks
      
      * allow root to act as a 9th dan in track
      
      * feature flag it
      
      * cargo update -p sp-io
      
      * fix merge
      
      * ".git/.scripts/bench-bot.sh" runtime kusama-dev pallet_referenda
      
      * ".git/.scripts/bench-bot.sh" runtime kusama-dev pallet_conviction_voting
      
      * allow root to create auction
      
      * Update mod.rs
      
      * more origin fixes
      
      * root isnt needed actually
      
      * cargo update -p sp-io
      
      * allow root to cancel slash
      
      * initial stuff
      
      * make copy data from kusama
      
      * ".git/.scripts/bench-bot.sh" runtime kusama-dev pallet_referenda
      
      * Update Cargo.lock
      
      * commit new weight files
      
      * more files
      
      * use weight files
      
      * ".git/.scripts/bench-bot.sh" runtime kusama-dev pallet_referenda
      
      * Update Cargo.lock
      
      * Update to latest master
      
      * Formatting
      
      * ".git/.scripts/bench-bot.sh" runtime kusama-dev pallet_ranked_collective
      
      * ".git/.scripts/bench-bot.sh" runtime kusama-dev pallet_conviction_voting
      
      * ".git/.scripts/bench-bot.sh" runtime kusama-dev pallet_conviction_voting
      
      * ".git/.scripts/bench-bot.sh" runtime kusama-dev pallet_whitelist
      
      * Rename Origin -> RuntimeOrigin
      
      This was done in Substrate and is now needed here as well.
      
      Signed-off-by: default avatarOliver Tale-Yazdi <[email protected]>
      
      * cargo update -p sp-io
      
      Signed-off-by: default avatarOliver Tale-Yazdi <[email protected]>
      
      * Tech Committee can promote to VI Dan
      
      * Update runtime/kusama/src/governance/mod.rs
      
      Co-authored-by: default avatarAmar Singh <[email protected]>
      
      * Formatting
      
      * Update runtime/kusama/src/governance/fellowship.rs
      
      Co-authored-by: default avatarAmar Singh <[email protected]>
      
      * Fixes
      
      * Avoid updating extraneous deps
      
      * Fix broken stuff
      
      * ".git/.scripts/bench-bot.sh" runtime kusama-dev pallet_referenda
      
      * Update runtime/kusama/src/governance/fellowship.rs
      
      * Reorder EitherOf origins
      
      Zero logic change to make the benchmarking work.
      It uses the first successful origin which can only promote to rank 6.
      By swapping the order we use Root which can always promote.
      
      Signed-off-by: default avatarOliver Tale-Yazdi <[email protected]>
      
      * Revert param change and update doc
      
      Signed-off-by: default avatarOliver Tale-Yazdi <[email protected]>
      Co-authored-by: default avatarOliver Tale-Yazdi <[email protected]>
      Co-authored-by: command-bot <>
      Co-authored-by: default avatarShawn Tabrizi <[email protected]>
      Co-authored-by: default avatarXiliang Chen <[email protected]>
      Co-authored-by: default avatarKeith Yeung <[email protected]>
      Co-authored-by: default avatarAmar Singh <[email protected]>
      5d2f8103
  5. Oct 02, 2022
  6. Sep 20, 2022
  7. Sep 14, 2022
  8. Sep 13, 2022
  9. Sep 12, 2022
    • Sergej Sakac's avatar
      Companion for #11981 (#5915) · 8ea6076f
      Sergej Sakac authored
      
      
      * Companion for #11981
      
      * more renaming
      
      * fmt
      
      * fixes
      
      * add generic type
      
      * Companion for #11831
      
      * fix
      
      * revert changes
      
      * Delete rename-outer-enum.diff
      
      * revert
      
      * Update run_benches_for_runtime.sh
      
      * rename type Call & type Event
      
      * passing tests
      
      * fmt
      
      * small fixes
      
      * commit
      
      * fix
      
      * fmt
      
      * commit
      
      * error fixes
      
      * fix
      
      * small fix in test
      
      * Update lib.rs
      
      * Update lib.rs
      
      * Update lib.rs
      
      * Update lib.rs
      
      * Update lib.rs
      
      * Update lib.rs
      
      * Update lib.rs
      
      * remove RuntimeCall from pallet_grandpa
      
      * last fix
      
      * commit
      
      * rename
      
      * merge fix
      
      * update lockfile for {"substrate"}
      
      * cargo +nightly fmt
      
      * fix
      
      Co-authored-by: parity-processbot <>
      Co-authored-by: default avatarShawn Tabrizi <[email protected]>
      8ea6076f
  10. Sep 09, 2022
  11. Sep 02, 2022
  12. Sep 01, 2022
    • Shawn Tabrizi's avatar
      Companion for Weight v1.5 Follow Up (#5949) · e28bf2e4
      Shawn Tabrizi authored
      * updates
      
      * remove new
      
      * fix up some stuff
      
      * fix cargo files
      
      * fix
      
      * fix template
      
      * update lockfile for {"substrate"}
      
      * Update block_weights.rs
      
      * remove unused
      
      * remove unused
      
      Co-authored-by: parity-processbot <>
      e28bf2e4
    • Roman Useinov's avatar
      [Feature] Make XCM benchmarks more reusable and remove a redundant bench (#5936) · 75d49dfe
      Roman Useinov authored
      * [Feature] Make XCM benchmarks more reusable and remove a redunant bench
      
      * implement track balances flag
      
      * little comment fix
      
      * Revert "little comment fix"
      
      This reverts commit 6d0d1bb4d74752aa518c4d71718c1b71673bcca8.
      
      * Revert "implement track balances flag"
      
      This reverts commit e7884cbc57d053c5d57a80aab4caa42e78cfdc17.
      
      * fix unused
      75d49dfe
  13. Aug 31, 2022
    • Shawn Tabrizi's avatar
      Companion for Weight v1.5 (#5943) · 28e94d97
      Shawn Tabrizi authored
      * fix to latest substrate pr
      
      * update weights
      
      * cargo build -p polkadot-runtime-parachains
      
      * fix xcm-builder
      
      * fix import
      
      * fix a bunch
      
      * fix a bunch of weight stuff
      
      * kusama compile
      
      * unused
      
      * builds
      
      * maybe fix
      
      * cargo test -p polkadot-runtime-parachains
      
      * xcm simulator example
      
      * fix tests
      
      * xcm sim fuzz
      
      * fix runtime tests
      
      * remove unused
      
      * fix integration tests
      
      * scalar div
      
      * update lockfile for {"substrate"}
      
      Co-authored-by: parity-processbot <>
      28e94d97
  14. Aug 29, 2022
    • Mara Broda's avatar
      version bumps (0.9.28) (#5933) · fc97080c
      Mara Broda authored
      * Bump crate versions
      
      * Bump spec_version to 9280 for kusama
      
      * Bump spec_version to 9280 for polkadot
      
      * Bump spec_version to 9280 for rococo
      
      * Bump spec_version to 9280 for westend
      
      * update Cargo.lock
      
      Co-authored-by: parity-processbot <>
      fc97080c
  15. Jul 28, 2022
  16. Jul 06, 2022
  17. Jun 21, 2022
    • Mara Broda's avatar
      bump versions to 0.9.25 (#5684) · 97f9b840
      Mara Broda authored
      * kusama: bump spec_version to 9250
      
      * polkadot: bump spec_version to 9250
      
      * rococo: bump spec_version to 9250
      
      * westend: bump spec_version to 9250
      
      * bump version to 0.9.25
      
      * bump transaction version (polkadot & kusama) (#5690)
      
      * kusama: bump transaction_version to 12
      
      * polkadot: bump transaction_version to 13
      97f9b840
  18. May 27, 2022
  19. May 19, 2022
  20. May 16, 2022
  21. May 08, 2022
    • dependabot[bot]'s avatar
      Bump log from 0.4.16 to 0.4.17 · 992705d1
      dependabot[bot] authored
      
      
      Bumps [log](https://github.com/rust-lang/log) from 0.4.16 to 0.4.17.
      - [Release notes](https://github.com/rust-lang/log/releases)
      - [Changelog](https://github.com/rust-lang/log/blob/master/CHANGELOG.md)
      - [Commits](https://github.com/rust-lang/log/commits/0.4.17)
      
      ---
      updated-dependencies:
      - dependency-name: log
        dependency-type: direct:production
        update-type: version-update:semver-patch
      ...
      
      Signed-off-by: default avatardependabot[bot] <[email protected]>
      992705d1
  22. Apr 15, 2022
  23. Apr 08, 2022
  24. Apr 04, 2022
  25. Mar 30, 2022
  26. Mar 11, 2022
  27. Mar 08, 2022
    • Keith Yeung's avatar
      Add missing XCM benchmarks for ReserveAssetDeposited (#4923) · 5f349783
      Keith Yeung authored
      
      
      * Add missing XCM benchmarks for ReserveAssetDeposited
      
      * Check whether checking account is zero before minting
      
      * Try and prevent overflow
      
      * Remove minting currencies into the checking account
      
      * cargo run --quiet --profile=production  --features=runtime-benchmarks -- benchmark --chain=westend-dev --steps=50 --repeat=20 --pallet=pallet_xcm_benchmarks::fungible --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --template=./xcm/pallet-xcm-benchmarks/template.hbs --output=./runtime/westend/src/weights/xcm/pallet_xcm_benchmarks_fungible.rs
      
      * Use a smaller divisor
      
      * Mint a smaller amount still
      
      * cargo run --quiet --profile=production  --features=runtime-benchmarks -- benchmark --chain=westend-dev --steps=50 --repeat=20 --pallet=pallet_xcm_benchmarks::fungible --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --template=./xcm/pallet-xcm-benchmarks/template.hbs --output=./runtime/westend/src/weights/xcm/pallet_xcm_benchmarks_fungible.rs
      
      * Remove logic for minting assets to the checking account
      
      * Configure a smaller amount of reserve asset used for testing
      
      * Try unwrapping the result of an execution
      
      * Set the origin properly
      
      * Revert "Set the origin properly"
      
      This reverts commit c748a05733173fb7072878c19b10a583675a5f54.
      
      * Update license year
      
      * cargo run --quiet --profile=production  --features=runtime-benchmarks -- benchmark --chain=westend-dev --steps=50 --repeat=20 --pallet=pallet_xcm_benchmarks::fungible --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --template=./xcm/pallet-xcm-benchmarks/template.hbs --output=./runtime/westend/src/weights/xcm/pallet_xcm_benchmarks_fungible.rs
      
      * Update license year
      
      Co-authored-by: default avatarParity Bot <[email protected]>
      5f349783
  28. Feb 25, 2022
  29. Feb 24, 2022
  30. Feb 11, 2022
  31. Feb 02, 2022
  32. Jan 21, 2022
  33. Dec 11, 2021
  34. Dec 09, 2021
  35. Dec 02, 2021
  36. Dec 01, 2021
    • Shawn Tabrizi's avatar
      XCM Benchmarks for Generic Instructions (#3940) · bf5808eb
      Shawn Tabrizi authored
      
      
      * initial stuff
      
      * quick fixes
      
      * move to individual tests
      
      * dont need these
      
      * Update benchmarking.rs
      
      * add to westend
      
      * make benchmarks execute
      
      * fix compile
      
      * add post_execute
      
      * ClaimAsset benchmark working
      
      * subscribe and unsubscribe benchmarks
      
      * benchmark for initiate reserve withdraw
      
      * cargo run --quiet --release --features=runtime-benchmarks -- benchmark --chain=westend-dev --steps=50 --repeat=20 --pallet=pallet_xcm_benchmarks::generic --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --template=./xcm/pallet-xcm-benchmarks/template.hbs --output=./runtime/westend/src/weights/xcm/pallet_xcm_benchmarks_generic.rs
      
      * fix spell check
      
      * cargo run --quiet --release --features=runtime-benchmarks -- benchmark --chain=westend-dev --steps=50 --repeat=20 --pallet=pallet_xcm_benchmarks::generic --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --template=./xcm/pallet-xcm-benchmarks/template.hbs --output=./runtime/westend/src/weights/xcm/pallet_xcm_benchmarks_generic.rs
      
      * update worst case for query_holding
      
      * cargo run --quiet --release --features=runtime-benchmarks -- benchmark --chain=westend-dev --steps=50 --repeat=20 --pallet=pallet_xcm_benchmarks::generic --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --template=./xcm/pallet-xcm-benchmarks/template.hbs --output=./runtime/westend/src/weights/xcm/pallet_xcm_benchmarks_generic.rs
      
      * move verification logic below
      
      * introduce worst case holding to initiate reserve withdraw
      
      * cargo run --quiet --release --features=runtime-benchmarks -- benchmark --chain=westend-dev --steps=50 --repeat=20 --pallet=pallet_xcm_benchmarks::generic --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --template=./xcm/pallet-xcm-benchmarks/template.hbs --output=./runtime/westend/src/weights/xcm/pallet_xcm_benchmarks_generic.rs
      
      * feedback
      
      * cargo run --quiet --release --features=runtime-benchmarks -- benchmark --chain=westend-dev --steps=50 --repeat=20 --pallet=pallet_xcm_benchmarks::generic --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --template=./xcm/pallet-xcm-benchmarks/template.hbs --output=./runtime/westend/src/weights/xcm/pallet_xcm_benchmarks_generic.rs
      
      * Revert "cargo run --quiet --release --features=runtime-benchmarks -- benchmark --chain=westend-dev --steps=50 --repeat=20 --pallet=pallet_xcm_benchmarks::generic --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --template=./xcm/pallet-xcm-benchmarks/template.hbs --output=./runtime/westend/src/weights/xcm/pallet_xcm_benchmarks_generic.rs"
      
      This reverts commit 277903944be620dc57d83b9bcf3b462d2fb73ab5.
      
      * fix benchmark template
      
      * cargo run --quiet --release --features=runtime-benchmarks -- benchmark --chain=westend-dev --steps=50 --repeat=20 --pallet=pallet_xcm_benchmarks::generic --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --template=./xcm/pallet-xcm-benchmarks/template.hbs --output=./runtime/westend/src/weights/xcm/pallet_xcm_benchmarks_generic.rs
      
      * use response::version
      
      * cargo run --quiet --release --features=runtime-benchmarks -- benchmark --chain=westend-dev --steps=50 --repeat=20 --pallet=pallet_xcm_benchmarks::generic --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --template=./xcm/pallet-xcm-benchmarks/template.hbs --output=./runtime/westend/src/weights/xcm/pallet_xcm_benchmarks_generic.rs
      
      * refactor worst case holding
      
      * cargo run --quiet --release --features=runtime-benchmarks -- benchmark --chain=westend-dev --steps=50 --repeat=20 --pallet=pallet_xcm_benchmarks::generic --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --template=./xcm/pallet-xcm-benchmarks/template.hbs --output=./runtime/westend/src/weights/xcm/pallet_xcm_benchmarks_generic.rs
      
      * fmt
      
      * one more todo needs to be labeled
      
      * change option to result with benchmark error
      
      * fmt and fix import
      
      Co-authored-by: default avatarParity Bot <[email protected]>
      bf5808eb
  37. Oct 27, 2021
    • Shawn Tabrizi's avatar
      Fix XCM Teleport Benchmark (#4146) · 1031a57d
      Shawn Tabrizi authored
      
      
      * fix xcm benchmark
      
      * fix overflow
      
      * cargo run --quiet --release --features=runtime-benchmarks -- benchmark --chain=westend-dev --steps=50 --repeat=20 --pallet=pallet_xcm_benchmarks::fungible --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --template=./xcm/pallet-xcm-benchmarks/template.hbs --output=./runtime/westend/src/weights/xcm/pallet_xcm_benchmarks_fungible.rs
      
      * fix spelling
      
      * fmt
      
      * cargo run --quiet --release --features=runtime-benchmarks -- benchmark --chain=westend-dev --steps=50 --repeat=20 --pallet=pallet_xcm_benchmarks::fungible --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --template=./xcm/pallet-xcm-benchmarks/template.hbs --output=./runtime/westend/src/weights/xcm/pallet_xcm_benchmarks_fungible.rs
      
      Co-authored-by: default avatarParity Bot <[email protected]>
      1031a57d
  38. Oct 05, 2021
  39. Sep 30, 2021