Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Add safe_xcm_version to Genesis Specs #743

Merged
merged 26 commits into from
Nov 12, 2021

Conversation

apopiak
Copy link
Contributor

@apopiak apopiak commented Nov 10, 2021

We want to configure pallet-xcm's safe_xcm_version on genesis.
This PR adds it to the chain spec.

apopiak and others added 24 commits October 19, 2021 18:13
* disable permissionless asset creation for Statemint

* cargo fmt

* fix import and call format
* Update mock runtime API

* update Polkadot packages

Co-authored-by: joao-paulo-parity <joao-paulo@parity.io>
* Ensure a bad datastream cannot cause problems

* Formatting

* Formatting
* Allow Queries and Subscriptions

* Fixes

* Formatting
* Bump syn to 1.0.81

* Make formatting check happy
* Update Substrate & Polkadot

* FMT
* udpate polkadot substrate

* fmt with latest nightly
* dispatch as companion

* oops, forgot to save file

* Update Cargo.lock
* Update references

* update deps

* set substrate deps for pallet-asset-tx-payment

* add DisabledValidatorsThreshold to parachain template

* add DisabledValidatorsThreshold to statemint runtimes

* adjust imports

* update Cargo-lock

* add DisabledValidatorsThreshold to mock config

* cargo +nightly fmt

* adjust on_disabled type

* remove on_chain_votes function in ParachainHost impl

* remove ScrapedOnChainVotes

* bump polkadot-collator version

Co-authored-by: Chevdor <chevdor@users.noreply.github.com>

* update Cargo.lock

* set spec_versions to 500

* Statemine cannot execute.

* disallow XCM execute on statemint

* cargo fmt

* remove unnecessary dep on node-primitives

* select parachains-common/std feature when building rococo-runtime with std

* adjust Statemint to the three digit spec_version format

* Add script to generate simple changelogs (#668)

* Update weights from v4 for v5 comparison (#673)

* updates weights

* pallet_unique benchmarks added + weights upstream from v4

* Fix benchmarks after Parachain Template (#677)

* updates weights

* pallet_unique benchmarks added + weights upstream from v4

* benchmarks fix for parachain template

* Weights updates for Statemine v5 (#682)

* updates weights

* pallet_unique benchmarks added + weights upstream from v4

* weights updates for statemine v5

* mention Storage in construct_runtime macro for pallet-xcm (#680)

* Use pallet-xcm for version wrapping (#689)

* use PolkadotXcm for XcmRouter WrapVersion

* use PolkadotXcm for version wrapping

Co-authored-by: Bryan Chen <xlchen1291@gmail.com>

* patch weight for batch_all from rerun

* Runtime version bump to v503 (#694)

* adjust genesis value generation scripts to output entries array + add script to derive encoded call

* add script to generate shell spec from runtime wasm

* Ensure a bad datastream cannot cause problems (#701)

* Ensure a bad datastream cannot cause problems

* Formatting

* Formatting

* update Polkadot (to 0.9.11 169bab55d)

* bump spec versions

* Allow Queries and Subscriptions

Fixes

Formatting

* fix build

* make fmt happy

* statemint imports

* slight naming changes in script

* add shell genesis data + wasm + chainspec

* adjust generated shell spec with production config values

* update Substrate and Polkadot to master

* fix deps

* swap out bootnodes for statemint shell

* add a script for verifying the shell chain spec

* add sha checksum for head data

* remove verification script

* remove hex wasm file

* update Substrate and Polkadot again and fix compilation

* update and fix lock file

* formatting

* remove redundant dispatch_as weight

Co-authored-by: Bastian Köcher <info@kchr.de>
Co-authored-by: Chevdor <chevdor@users.noreply.github.com>
Co-authored-by: Gav Wood <gavin@parity.io>
Co-authored-by: Ignacio Palacios <ignacio.palacios.santos@gmail.com>
Co-authored-by: Bryan Chen <xlchen1291@gmail.com>
Co-authored-by: joepetrowski <joe@parity.io>
* Rework the runtime upgrade test

* Update test/service/tests/runtime_upgrade.rs

* Update test/service/tests/runtime_upgrade.rs

* Update Cargo.lock

* FMT

Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com>
* randomess collective flip removed

* cargo.lock + fix

* remove migration for statemint

* fmt fix

* update cargo.lock

Co-authored-by: Alexander Popiak <alexander.popiak@parity.io>
* align construct_runtime calls between statemint runtimes

* bump westmint transaction_version
* align the different Statemint runtimes so they are more similar in structure

* align Unpaid Execution filter

* revert changes to Unpaid execution filter for Westmint
@apopiak apopiak requested a review from chevdor November 10, 2021 16:33
@apopiak apopiak mentioned this pull request Nov 10, 2021
13 tasks
Base automatically changed from wk-apopiak-prepa to release-statemine-v6 November 11, 2021 09:10
@apopiak apopiak merged commit 3919da1 into release-statemine-v6 Nov 12, 2021
@apopiak apopiak deleted the apopiak/safe_xcm_version_genesis branch November 12, 2021 09:26
@apopiak apopiak added T6-XCM This PR/Issue is related to XCM. T7-system_parachains This PR/Issue is related to System Parachains. labels Nov 12, 2021
gilescope pushed a commit that referenced this pull request Jan 14, 2022
* add safe_xcm_version to genesis specs

* cargo +nightly fmt
paritytech-processbot bot pushed a commit that referenced this pull request Jan 26, 2022
* Add safe_xcm_version to Genesis Specs (#743)

* add safe_xcm_version to genesis specs

* cargo +nightly fmt

* Point to xcm latest version

Co-authored-by: Alexander Popiak <alexander.popiak@parity.io>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
T6-XCM This PR/Issue is related to XCM. T7-system_parachains This PR/Issue is related to System Parachains.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

9 participants