Skip to content

Update zeitgeist pallets for new polkadot version#1423

Merged
Chralt98 merged 10 commits intochralt98-update-dependencies-stable2407from
chralt98-update-dependencies-stable2407-part-3
Jun 5, 2025
Merged

Update zeitgeist pallets for new polkadot version#1423
Chralt98 merged 10 commits intochralt98-update-dependencies-stable2407from
chralt98-update-dependencies-stable2407-part-3

Conversation

@Chralt98
Copy link
Copy Markdown
Member

@Chralt98 Chralt98 commented Apr 15, 2025

What does it do?

Updates Zeitgeists' internal type and test environment changes to satisfy new dependency version for:

  • zrml-authorized
  • zrml-court
  • zrml-global-disputes
  • zrml-hybrid-router
  • zrml-market-commons
  • zrml-neo-swaps
  • zrml-orderbook
  • zrml-parimutuel
  • zrml-prediction-markets
  • zrml-styx
  • zrml-swaps
  • zrml-futarchy
  • zrml-combinatorial-tokens

What important points should reviewers know?

This was done by using cargo test -p <pallet_name> --all-features and cargo check -p <pallet_name> --all-features for all mentioned pallets above.

Is there something left for follow-up PRs?

What alternative implementations were considered?

Are there relevant PRs or issues?

References

@Chralt98 Chralt98 added the s:in-progress The pull requests is currently being worked on label Apr 15, 2025
@Chralt98 Chralt98 self-assigned this Apr 15, 2025
Base automatically changed from chralt98-update-dependencies-stable2407-part-2 to chralt98-update-dependencies-stable2407 June 5, 2025 08:55
@mergify
Copy link
Copy Markdown
Contributor

mergify bot commented Jun 5, 2025

This pull request is now in conflicts. Could you fix it @Chralt98? 🙏

@mergify mergify bot added s:revision-needed The pull requests must be revised and removed s:in-progress The pull requests is currently being worked on labels Jun 5, 2025
@Chralt98 Chralt98 removed the s:revision-needed The pull requests must be revised label Jun 5, 2025
@mergify mergify bot added the s:in-progress The pull requests is currently being worked on label Jun 5, 2025
@Chralt98 Chralt98 added s:accepted This pull request is ready for merge and removed s:in-progress The pull requests is currently being worked on labels Jun 5, 2025
@Chralt98 Chralt98 merged commit 4043702 into chralt98-update-dependencies-stable2407 Jun 5, 2025
9 of 18 checks passed
@Chralt98 Chralt98 deleted the chralt98-update-dependencies-stable2407-part-3 branch June 5, 2025 09:04
Chralt98 added a commit that referenced this pull request Jul 4, 2025
* Update dependencies to polkadot-stable2409 (#1421)

* Update dependencies to stable2409, remove try-runtime-cli, pallet-contracts, update Cargo.lock

* update rust toolchain version, fix compiler warnings

* update rust toolchain

* update some non-substrate dependencies

* Fixes for new rust compiler version, cargo fmt (#1422)

* Update dependencies to stable2409, remove try-runtime-cli, pallet-contracts, update Cargo.lock

* update rust toolchain version, fix compiler warnings

* update rust toolchain

* update some non-substrate dependencies

* Fixes for new rust version, cargo fmt

* correct weight files

* correct weights for common runtime

* Update zeitgeist pallets for new polkadot version (#1423)

* Update dependencies to stable2409, remove try-runtime-cli, pallet-contracts, update Cargo.lock

* update rust toolchain version, fix compiler warnings

* update rust toolchain

* update some non-substrate dependencies

* Fixes for new rust version, cargo fmt

* correct weight files

* update zeitgeist pallets for new polkadot version

* correct weights for common runtime

* Update runtime according to new polkadot version (#1424)

* Update dependencies to stable2409, remove try-runtime-cli, pallet-contracts, update Cargo.lock

* update rust toolchain version, fix compiler warnings

* update rust toolchain

* update some non-substrate dependencies

* Fixes for new rust version, cargo fmt

* correct weight files

* update zeitgeist pallets for new polkadot version

* correct weights for common runtime

* Update runtime according to new polkadot version

* adapt runtime to newest dependency versions

* update runtime

* update runtime

* update runtime

* update runtime

* adapt runtime

* update runtime

* use latest Location for pallet asset tx payment

* fix irrefutable if let pattern

* add benchmarks

* update maximum block weight and block time

* use metadata hash feature, add pov storage reclaim extension

* update zeitgeist runtime

* fix runtime error

* Update xcm integration tests for new polkadot version (#1427)

* Update dependencies to stable2409, remove try-runtime-cli, pallet-contracts, update Cargo.lock

* update rust toolchain version, fix compiler warnings

* update rust toolchain

* update some non-substrate dependencies

* Fixes for new rust version, cargo fmt

* correct weight files

* update zeitgeist pallets for new polkadot version

* correct weights for common runtime

* Update runtime according to new polkadot version

* adapt runtime to newest dependency versions

* update runtime

* update runtime

* update runtime

* update runtime

* adapt runtime

* update runtime

* use latest Location for pallet asset tx payment

* fix irrefutable if let pattern

* add benchmarks

* update maximum block weight and block time

* use metadata hash feature, add pov storage reclaim extension

* update zeitgeist runtime

* fix runtime error

* correct code for feature test

* adjust xcm integration tests

* update consensus hook to satisfy xcm integration tests

* add issue for xcm integration tests for consensus hook

* update xcm zeitgeist it tests using polkadot emulated chain

* cargo fmt

* Update client for new polkadot version (#1428)

* Update dependencies to stable2409, remove try-runtime-cli, pallet-contracts, update Cargo.lock

* update rust toolchain version, fix compiler warnings

* update rust toolchain

* update some non-substrate dependencies

* Fixes for new rust version, cargo fmt

* correct weight files

* update zeitgeist pallets for new polkadot version

* correct weights for common runtime

* Update runtime according to new polkadot version

* adapt runtime to newest dependency versions

* update runtime

* update runtime

* update runtime

* update runtime

* adapt runtime

* update runtime

* use latest Location for pallet asset tx payment

* fix irrefutable if let pattern

* add benchmarks

* update maximum block weight and block time

* use metadata hash feature, add pov storage reclaim extension

* update zeitgeist runtime

* fix runtime error

* correct code for feature test

* adjust xcm integration tests

* update consensus hook to satisfy xcm integration tests

* add issue for xcm integration tests for consensus hook

* update xcm zeitgeist it tests using polkadot emulated chain

* cargo fmt

* update service from client

* update service parachain

* update client

* update client

* fix parachain node

* update client code

* fix client compilation for all features

* cargo fmt

* activate async backing in parachain client

* Update benchmark code for new polkadot version (#1429)

* Update dependencies to stable2409, remove try-runtime-cli, pallet-contracts, update Cargo.lock

* update rust toolchain version, fix compiler warnings

* update rust toolchain

* update some non-substrate dependencies

* Fixes for new rust version, cargo fmt

* correct weight files

* update zeitgeist pallets for new polkadot version

* correct weights for common runtime

* Update runtime according to new polkadot version

* adapt runtime to newest dependency versions

* update runtime

* update runtime

* update runtime

* update runtime

* adapt runtime

* update runtime

* use latest Location for pallet asset tx payment

* fix irrefutable if let pattern

* add benchmarks

* update maximum block weight and block time

* use metadata hash feature, add pov storage reclaim extension

* update zeitgeist runtime

* fix runtime error

* correct code for feature test

* adjust xcm integration tests

* update consensus hook to satisfy xcm integration tests

* add issue for xcm integration tests for consensus hook

* update xcm zeitgeist it tests using polkadot emulated chain

* cargo fmt

* update service from client

* update service parachain

* update client

* update client

* fix parachain node

* update client code

* fix client compilation for all features

* cargo fmt

* add genesis builder for benchmarks to runtime

* remove cumulus primitives storage weight reclaim

* remove additional new_full_parts from storage weight reclaim

* update code for benchmark script

* correct host functions

* downgrade rustc version, use frame-omni-bencher, use wasm executor

* update github workflows for benchmarking

* fix treasury dependency for benchmarks

* update pallet timestamp configuration

* add weights

* add storage weight reclaim

* activate async backing in parachain client

* update weights

* update weights

* Fix clippy issues (#1431)

* Update dependencies to stable2409, remove try-runtime-cli, pallet-contracts, update Cargo.lock

* update rust toolchain version, fix compiler warnings

* update rust toolchain

* update some non-substrate dependencies

* Fixes for new rust version, cargo fmt

* correct weight files

* update zeitgeist pallets for new polkadot version

* correct weights for common runtime

* Update runtime according to new polkadot version

* adapt runtime to newest dependency versions

* update runtime

* update runtime

* update runtime

* update runtime

* adapt runtime

* update runtime

* use latest Location for pallet asset tx payment

* fix irrefutable if let pattern

* add benchmarks

* update maximum block weight and block time

* use metadata hash feature, add pov storage reclaim extension

* update zeitgeist runtime

* fix runtime error

* correct code for feature test

* adjust xcm integration tests

* update consensus hook to satisfy xcm integration tests

* add issue for xcm integration tests for consensus hook

* update xcm zeitgeist it tests using polkadot emulated chain

* cargo fmt

* update service from client

* update service parachain

* update client

* update client

* fix parachain node

* update client code

* fix client compilation for all features

* cargo fmt

* add genesis builder for benchmarks to runtime

* remove cumulus primitives storage weight reclaim

* remove additional new_full_parts from storage weight reclaim

* update code for benchmark script

* correct host functions

* downgrade rustc version, use frame-omni-bencher, use wasm executor

* update github workflows for benchmarking

* fix treasury dependency for benchmarks

* update pallet timestamp configuration

* add weights

* fix clippy

* fmt

* use DispatchResultWithPostInfo from dispatch

* fix message queue

* fmt

* update rust toolchain

* use specific version for grcov

* add runtime-benchmarks feature for orml asset registry

* use noop message processor for parachain benchmarks

* use default benchmark helper for pm mock

* fix benchmark helper not found error

* add storage weight reclaim

* add std to cumulus primitives storage weight reclaim

* activate async backing in parachain client

* update copyrights

* Add necessary storage migrations (#1432)

* Update dependencies to stable2409, remove try-runtime-cli, pallet-contracts, update Cargo.lock

* update rust toolchain version, fix compiler warnings

* update rust toolchain

* update some non-substrate dependencies

* Fixes for new rust version, cargo fmt

* correct weight files

* update zeitgeist pallets for new polkadot version

* correct weights for common runtime

* Update runtime according to new polkadot version

* adapt runtime to newest dependency versions

* update runtime

* update runtime

* update runtime

* update runtime

* adapt runtime

* update runtime

* use latest Location for pallet asset tx payment

* fix irrefutable if let pattern

* add benchmarks

* update maximum block weight and block time

* use metadata hash feature, add pov storage reclaim extension

* update zeitgeist runtime

* fix runtime error

* correct code for feature test

* adjust xcm integration tests

* update consensus hook to satisfy xcm integration tests

* add issue for xcm integration tests for consensus hook

* update xcm zeitgeist it tests using polkadot emulated chain

* cargo fmt

* update service from client

* update service parachain

* update client

* update client

* fix parachain node

* update client code

* fix client compilation for all features

* cargo fmt

* add genesis builder for benchmarks to runtime

* remove cumulus primitives storage weight reclaim

* remove additional new_full_parts from storage weight reclaim

* update code for benchmark script

* correct host functions

* downgrade rustc version, use frame-omni-bencher, use wasm executor

* update github workflows for benchmarking

* fix treasury dependency for benchmarks

* update pallet timestamp configuration

* add weights

* fix clippy

* fmt

* use DispatchResultWithPostInfo from dispatch

* fix message queue

* fmt

* update rust toolchain

* use specific version for grcov

* add runtime-benchmarks feature for orml asset registry

* use noop message processor for parachain benchmarks

* use default benchmark helper for pm mock

* fix benchmark helper not found error

* add storage weight reclaim

* add std to cumulus primitives storage weight reclaim

* add necessary polkadot sdk migrations

* add necessary migrations

* add pallet parachain staking migrations

* add custom migrate_old_collator_snapshot weight

* update Makefile

* remove MultiplyRoundLenBy2 migration in favor of MigrateRoundWithFirstSlot

* activate async backing in parachain client

* use monotonically increase for async backing

* update parachain staking dependency

* fmt

* update copyrights

* Remove async backing (#1434)

* Update dependencies to stable2409, remove try-runtime-cli, pallet-contracts, update Cargo.lock

* update rust toolchain version, fix compiler warnings

* update rust toolchain

* update some non-substrate dependencies

* Fixes for new rust version, cargo fmt

* correct weight files

* update zeitgeist pallets for new polkadot version

* correct weights for common runtime

* Update runtime according to new polkadot version

* adapt runtime to newest dependency versions

* update runtime

* update runtime

* update runtime

* update runtime

* adapt runtime

* update runtime

* use latest Location for pallet asset tx payment

* fix irrefutable if let pattern

* add benchmarks

* update maximum block weight and block time

* use metadata hash feature, add pov storage reclaim extension

* update zeitgeist runtime

* fix runtime error

* correct code for feature test

* adjust xcm integration tests

* update consensus hook to satisfy xcm integration tests

* add issue for xcm integration tests for consensus hook

* update xcm zeitgeist it tests using polkadot emulated chain

* cargo fmt

* update service from client

* update service parachain

* update client

* update client

* fix parachain node

* update client code

* fix client compilation for all features

* cargo fmt

* add genesis builder for benchmarks to runtime

* remove cumulus primitives storage weight reclaim

* remove additional new_full_parts from storage weight reclaim

* update code for benchmark script

* correct host functions

* downgrade rustc version, use frame-omni-bencher, use wasm executor

* update github workflows for benchmarking

* fix treasury dependency for benchmarks

* update pallet timestamp configuration

* add weights

* fix clippy

* fmt

* use DispatchResultWithPostInfo from dispatch

* fix message queue

* fmt

* update rust toolchain

* use specific version for grcov

* add runtime-benchmarks feature for orml asset registry

* use noop message processor for parachain benchmarks

* use default benchmark helper for pm mock

* fix benchmark helper not found error

* add storage weight reclaim

* add std to cumulus primitives storage weight reclaim

* add necessary polkadot sdk migrations

* add necessary migrations

* add pallet parachain staking migrations

* add custom migrate_old_collator_snapshot weight

* update Makefile

* remove MultiplyRoundLenBy2 migration in favor of MigrateRoundWithFirstSlot

* activate async backing in parachain client

* use monotonically increase for async backing

* remove async backing

* update parachain staking dependency

* fmt

* updated copyrights

* Update chopsticks zombienet integration tests (#1436)

* Update dependencies to stable2409, remove try-runtime-cli, pallet-contracts, update Cargo.lock

* update rust toolchain version, fix compiler warnings

* update rust toolchain

* update some non-substrate dependencies

* Fixes for new rust version, cargo fmt

* correct weight files

* update zeitgeist pallets for new polkadot version

* correct weights for common runtime

* Update runtime according to new polkadot version

* adapt runtime to newest dependency versions

* update runtime

* update runtime

* update runtime

* update runtime

* adapt runtime

* update runtime

* use latest Location for pallet asset tx payment

* fix irrefutable if let pattern

* add benchmarks

* update maximum block weight and block time

* use metadata hash feature, add pov storage reclaim extension

* update zeitgeist runtime

* fix runtime error

* correct code for feature test

* adjust xcm integration tests

* update consensus hook to satisfy xcm integration tests

* add issue for xcm integration tests for consensus hook

* update xcm zeitgeist it tests using polkadot emulated chain

* cargo fmt

* update service from client

* update service parachain

* update client

* update client

* fix parachain node

* update client code

* fix client compilation for all features

* cargo fmt

* add genesis builder for benchmarks to runtime

* remove cumulus primitives storage weight reclaim

* remove additional new_full_parts from storage weight reclaim

* update code for benchmark script

* correct host functions

* downgrade rustc version, use frame-omni-bencher, use wasm executor

* update github workflows for benchmarking

* fix treasury dependency for benchmarks

* update pallet timestamp configuration

* add weights

* fix clippy

* fmt

* use DispatchResultWithPostInfo from dispatch

* fix message queue

* fmt

* update rust toolchain

* use specific version for grcov

* add runtime-benchmarks feature for orml asset registry

* use noop message processor for parachain benchmarks

* use default benchmark helper for pm mock

* fix benchmark helper not found error

* add storage weight reclaim

* add std to cumulus primitives storage weight reclaim

* add necessary polkadot sdk migrations

* add necessary migrations

* add pallet parachain staking migrations

* add custom migrate_old_collator_snapshot weight

* update Makefile

* remove MultiplyRoundLenBy2 migration in favor of MigrateRoundWithFirstSlot

* activate async backing in parachain client

* use monotonically increase for async backing

* remove async backing

* update parachain staking dependency

* fmt

* update zombienet configuration

* update integration tests

* update zombienet configs

* Remove storage weight reclaim (#1437)

remove storage weight reclaim

* fmt

* remove storage weight reclaim

* use older version for frame-omni-bencher

* downgrade destination xcm version for integration test

* apply fixes

* fmt

* add coderabbit pull request reviews badge to readme
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

s:accepted This pull request is ready for merge

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant