Kian Paimani
ae5b355754
Set new staking limits ( #3299 )
...
* Set staking limits
* Set westend limits as well
* Update runtime/kusama/src/lib.rs
Co-authored-by: Gavin Wood <gavin@parity.io >
Co-authored-by: Gavin Wood <gavin@parity.io >
2021-06-18 13:16:26 +01:00
Shawn Tabrizi
0282ad3128
fix xcm pallet origin ( #3272 )
2021-06-16 21:57:29 +01:00
Shawn Tabrizi
2fbd705ed5
Companion for #8920 (Control Staking) ( #3260 )
...
* update weight apis
* update Substrate
Co-authored-by: parity-processbot <>
2021-06-16 09:17:26 +02:00
Keith Yeung
7d82d93f34
Companion for #8949 ( #3216 )
...
* Remove Call part imports of the offences and authority discovery pallets
* Remove non-existent Call enum variants
* Move ValidateUnsigned impl to be under #[pallet::validate_unsigned] in claims pallet
* Remove unused imports
* Remove Call part import for randomness collective flip pallet
* update Substrate
Co-authored-by: parity-processbot <>
2021-06-16 04:13:21 +00:00
Martin Pugh
396b38b355
Bump version, spec_version & substrate in prep for release v0.9.5 ( #3238 )
...
* bump spec_version and version
* bump substrate
* remove migrations
* Revert "remove migrations"
This reverts commit ceeab924d1cd5c2d3d05f24ab28315f0566f89d8.
* remove stale migration for kusama + westend
2021-06-14 23:10:45 +02:00
Shawn Tabrizi
2a792b48e7
FallbackStrategy::Nothing ( #3088 )
2021-06-14 19:10:41 +00:00
Guillaume Thiolliere
0ca6ee45b5
companion for staking/election: prolonged era and emergency mode for governance submission. ( #3201 )
...
* companion
* update Substrate
Co-authored-by: parity-processbot <>
2021-06-14 14:33:55 +00:00
Qinxuan Chen
e05bd988ed
Companion for #9061 ( #3200 )
...
* migrate pallet-randomness-collective-flip to new pallet attr macro
Signed-off-by: koushiro <koushiro.cqx@gmail.com >
* fix some nits
Signed-off-by: koushiro <koushiro.cqx@gmail.com >
* fix
Signed-off-by: koushiro <koushiro.cqx@gmail.com >
* some nits
Signed-off-by: koushiro <koushiro.cqx@gmail.com >
* update Substrate
Co-authored-by: parity-processbot <>
2021-06-14 11:29:39 +00:00
André Silva
097cadca19
create newtype for ValidationCodeHash ( #3212 )
...
* create newtype for ValidationCodeHash
* pvf: fix tests compilation
* primitives: fix test compilation
2021-06-12 16:44:07 +00:00
André Silva
8c3bc2b2bb
replace HistoricalValidationCode usages with ValidationCodeByHash ( #3210 )
...
* replace HistoricalValidationCode usages with ValidationCodeByHash
* runtime-api: tabify tests file
* update implementers guide
2021-06-11 18:00:57 +00:00
Shawn Tabrizi
d7213d33ba
Companion for #9018 (transfer_all) ( #3184 )
...
* update weights
* update Substrate
Co-authored-by: parity-processbot <>
2021-06-11 16:32:41 +00:00
Keith Yeung
99d49ad7c9
Companion for #8990 ( #3194 )
...
* Use new naming scheme for all Event enums generated by construct_runtime
* Use new naming scheme for all GenesisConfig fields generated by construct_runtime
* Fix overlooked GenesisConfig field renaming
* update Substrate
Co-authored-by: parity-processbot <>
2021-06-09 10:07:04 +00:00
Martin Pugh
6087e0e47f
bump spec_version ( #3195 )
2021-06-08 12:20:08 +00:00
Gavin Wood
3d6df31cbe
Named reserve companion ( #3176 )
...
* fix build
* fix tests
* update
* fix
* update
* Bump
Co-authored-by: Bryan Chen <xlchen1291@gmail.com >
2021-06-04 11:17:59 +02:00
Martin Pugh
5fcf3e0cea
bump spec version ( #3171 )
...
* bump spec version
* bump beefy
2021-06-03 18:30:49 +00:00
Martin Pugh
b63184e4ec
Bump version, substrate, beefy in prep for v0.9.4 ( #3169 )
...
* bump version, substrate, beefy
* bump substrate
2021-06-03 17:05:31 +02:00
Gavin Wood
53de6871e0
Fix teleport accounting and add some events ( #3167 )
...
* Stuff to help inspect the DMP activity
* Fix teleport accounting
* Fixes
* Fixes
* Fixes
* Fixes
2021-06-03 15:39:08 +02:00
Alexander Popiak
78d8482dac
use the Barrier type in XcmConfig ( #3154 )
2021-06-01 20:29:35 +00:00
Alexander Popiak
fd14e6822f
add westmint as a trusted teleport to westend ( #3142 )
2021-05-31 14:25:44 -05:00
Shawn Tabrizi
b7c2cfc1e4
Companion for #8793 (Simple MaxEncodedLen) ( #3118 )
...
* ProxyType MaxEncodedLen
* import
* import
* fix dep and bump substrate
* Update Cargo.lock
2021-05-28 20:50:16 +00:00
Xiliang Chen
cc0466c84c
enable Config for Paras on Kusama & Westend ( #3129 )
...
* enable Config for Paras
* fix
2021-05-28 10:52:32 +02:00
Jon Häggblad
0a024e30b0
Companion for substrate#8724 ( #2994 )
...
* runtime: create migrations for grandpa storage prefix
* runtime: address review comments
* runtime: update spec_version
* westend: fix incorrect merge
* runtime: change to v3.1 from v4 for grandpa migrations
* cargo.lock: manually specify pallet-grandpa in lock file
* cargo.lock: fix typo
* update substrate
* update substrate
Co-authored-by: André Silva <andrerfosilva@gmail.com >
2021-05-26 19:12:46 +00:00
André Silva
e3edb71ed7
grandpa: enable observer for light client ( #3019 )
...
* grandpa: enable observer for light client
* update Substrate
* service: fix missing import
* runtime: bump spec versions
Co-authored-by: parity-processbot <>
2021-05-26 17:22:15 +00:00
Kian Paimani
0da48f736a
Companion for substrate/pull/8903 ( #3099 )
...
* add stuff
* Update runtime/polkadot/src/lib.rs
* Update runtime/kusama/src/lib.rs
* update Substrate
Co-authored-by: parity-processbot <>
2021-05-26 12:50:50 +02:00
Martin Pugh
2174d9475e
bump version & substrate ( #3085 )
2021-05-24 12:36:30 +02:00
Shawn Tabrizi
75cb6a1bd4
Add Proxy Calls to Westend and Kusama ( #3080 )
2021-05-22 18:13:48 -05:00
Robert Klotzner
9b06a38bb6
State can be finished due to Share message. ( #3070 )
...
* State can be finished due to `Share` message.
Therefoe a task can still be running in that state. Removed panic and
changed state name to reflect possibility of `Share` message.
* bump spec versions in kusama, polkadot and westend again III
* properly bump for the upcoming release
Co-authored-by: Andronik Ordian <write@reusable.software >
2021-05-21 20:04:43 +02:00
Shawn Tabrizi
25bbcfd724
Add OnSwap hook for crowdloans. ( #3017 )
2021-05-20 22:41:08 +02:00
Martin Pugh
fe97c3a3a2
Bump version & spec version in prep for v0.9.2 ( #3046 )
...
* bump version & spec version
* update Cargo.lock
* bump substrate
2021-05-18 23:03:45 +02:00
Martin Pugh
077e3fa6e3
Remove host configuration set migration from Kusama & Westend ( #3050 )
...
* remove weights migration from kusama
* remove migrations in westend also
2021-05-18 23:03:30 +02:00
Andronik Ordian
87264b7b0b
bump spec versions in kusama, polkadot and westend again II ( #3021 )
...
* bump spec versions in kusama, polkadot and westend again II
* Don't build artifacts for the downstream simnet job as it's disabled now
* uncomment rococo-v1 publishing job
Co-authored-by: Vladimir Istyufeev <vladimir@parity.io >
2021-05-13 16:13:01 +02:00
Gavin Wood
dcae333e82
Introduce reserve-asset transfer extrinsic ( #3010 )
...
* Introduce reserve-asset transfer extrinsic
* Fixes
2021-05-12 21:07:20 +02:00
Shawn Tabrizi
32c21b6a6f
Enable Para Registration on Kusama ( #3014 )
...
* enable registration on kusama
* Update runtime/westend/src/lib.rs
Co-authored-by: Gavin Wood <gavin@parity.io >
2021-05-12 07:32:25 -04:00
Gavin Wood
41a93127a9
Check out/in assets when teleporting to maintain total issuance ( #3007 )
...
* Check out/in assets when teleporting to maintain total issuance
* Fixes
* Fixes
* Fixes
* Fixes
* Update xcm/xcm-executor/src/traits/transact_asset.rs
Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com >
* Docs
Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com >
2021-05-12 08:39:16 +02:00
Shawn Tabrizi
c68903f3bb
Add Auctions and Crowdloans to Kusama and Westend ( #2999 )
...
* add to westend
* fixes
* fix runtime tests
* add to kusama
* cargo run --release --features=runtime-benchmarks -- benchmark --chain=westend-dev --steps=50 --repeat=20 --pallet=runtime_common::auctions --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/westend/src/weights/runtime_common_auctions.rs
* cargo run --release --features=runtime-benchmarks -- benchmark --chain=westend-dev --steps=50 --repeat=20 --pallet=runtime_common::crowdloan --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/westend/src/weights/runtime_common_crowdloan.rs
* fix auctions benchmarks
* add benchmark to kusama
* update weights
* cargo run --release --features=runtime-benchmarks -- benchmark --chain=kusama-dev --steps=50 --repeat=20 --pallet=runtime_common::crowdloan --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/kusama/src/weights/runtime_common_crowdloan.rs
* cargo run --release --features=runtime-benchmarks -- benchmark --chain=kusama-dev --steps=50 --repeat=20 --pallet=runtime_common::auctions --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/kusama/src/weights/runtime_common_auctions.rs
* update to use weights
* cargo run --release --features=runtime-benchmarks -- benchmark --chain=westend-dev --steps=50 --repeat=20 --pallet=runtime_common::auctions --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/westend/src/weights/runtime_common_auctions.rs
* Initiate auctions with 2/3 council
* add check and docs
* update crowdloan deposits
* move tests
* move other tests
* update ending period
* cargo run --release --features=runtime-benchmarks -- benchmark --chain=westend-dev --steps=50 --repeat=20 --pallet=runtime_common::auctions --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/westend/src/weights/runtime_common_auctions.rs
* fix origin
* cargo run --release --features=runtime-benchmarks -- benchmark --chain=kusama-dev --steps=50 --repeat=20 --pallet=runtime_common::auctions --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/kusama/src/weights/runtime_common_auctions.rs
Co-authored-by: Parity Bot <admin@parity.io >
Co-authored-by: Gavin Wood <gavin@parity.io >
2021-05-11 22:29:01 +02:00
Gavin Wood
b55344819f
Extrinsic for reserving a parachain ID ( #3008 )
...
* Extrinsic for reserving a parachain ID
* Fixes
* Fixes
* Docs
* cargo run --release --features=runtime-benchmarks -- benchmark --chain=westend-dev --steps=50 --repeat=20 --pallet=runtime_common::paras_registrar --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/westend/src/weights/runtime_common_paras_registrar.rs
* Update runtime/common/src/paras_registrar.rs
Co-authored-by: Robert Habermeier <rphmeier@gmail.com >
* cargo run --release --features=runtime-benchmarks -- benchmark --chain=kusama-dev --steps=50 --repeat=20 --pallet=runtime_common::paras_registrar --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/kusama/src/weights/runtime_common_paras_registrar.rs
Co-authored-by: Parity Bot <admin@parity.io >
Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com >
Co-authored-by: Robert Habermeier <rphmeier@gmail.com >
2021-05-11 22:28:37 +02:00
Martin Pugh
25cd67436c
Bump version to v0.9.1 and spec_version to v9010 ( #3001 )
...
* bump version and spec_version
* fix generate_release_text.rb
* Revert "fix generate_release_text.rb"
This reverts commit 9e01e0ae4f6db2155d123f69063db7d7564588e0.
* fix publish_draft_release
* fix publish_draft_release
* update target cache
2021-05-11 15:27:52 +02:00
Gavin Wood
36b9d23923
Dispatchable for teleporting assets ( #2995 )
...
* Dispatchable for teleporting assets
* Fixes
* Fixes
* Fixes
* Fixes
* Fixes
* Update node/network/protocol/src/peer_set.rs
Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com >
* Update xcm/src/v0/traits.rs
Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com >
2021-05-10 16:13:46 +02:00
Gavin Wood
e33e74525e
Enable Pallet XCM for Kusama & Westend ( #2970 )
...
* Enable Pallet XCM for Kusama & Westend
* Fixes
Co-authored-by: André Silva <andrerfosilva@gmail.com >
2021-05-04 16:49:31 +00:00
André Silva
d362e6051c
kusama, westend: use proper parachain session keys ( #2975 )
...
* runtime: westend: don't use placeholder parachains session keys
* runtime: kusama: don't use placeholder parachains session keys
2021-05-04 11:21:54 -05:00
André Silva
c6df9fcb11
runtime: remove random_seed from BlockBuilder API ( #2968 )
...
* runtime: remove random_seed from BlockBuilder API
* update Substrate
* runtime: remove unused imports
* revert Cargo.lock version 3 removal, update sp-io
Co-authored-by: parity-processbot <>
Co-authored-by: Andronik Ordian <write@reusable.software >
2021-05-04 11:01:33 +00:00
André Silva
bbf0812994
runtime: remove beefy and mmr from westend (again) ( #2972 )
...
* runtime: remove beefy and mmr from westend (again)
* node: add borked westend runtime upgrade as bad block
2021-05-04 10:16:20 +00:00
André Silva
c0fcaa6bd9
runtime: remove BabePalletPrefix impls for old migration ( #2967 )
2021-05-03 17:27:32 +02:00
Peter Goodspeed-Niklaus
774d612eef
Companion for Multi-phase elections solution resubmission ( #2648 )
...
* Companion for Multi-phase elections solution resubmission
https://github.com/paritytech/substrate/pull/8290
* update Substrate
Co-authored-by: parity-processbot <>
2021-05-03 13:29:44 +02:00
Lohann Paterno Coutinho Ferreira
9bbc0b4460
Companion PR for #8414 - Remove OffencesWeightSoftLimit ( #2966 )
...
* Remove OffencesWeightSoftLimit
* update Substrate
Co-authored-by: parity-processbot <>
2021-05-03 09:12:39 +00:00
Robert Habermeier
2d18b26151
Add parachains modules to Westend and Kusama runtimes ( #2854 )
...
* add `force_set_active_config`
* add parachains modules to Westend
* add parachains modules to Kusama runtime
* use real runtime API impl
* add module indices and remove auctions, crowdloan
* add benchmarks
* remove previous migrations and add host configuration set migration
* make compile
* Add Call Filter for Registrar and Slots except Root
* cargo run --release --features=runtime-benchmarks -- benchmark --chain=westend-dev --steps=50 --repeat=20 --pallet=slots --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/westend/src/weights/
* cargo run --release --features=runtime-benchmarks -- benchmark --chain=westend-dev --steps=50 --repeat=20 --pallet=paras_registrar --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/westend/src/weights/
* fix build
* update `add_benchmark`
* cargo run --release --features=runtime-benchmarks -- benchmark --chain=kusama-dev --steps=50 --repeat=20 --pallet=runtime_common::paras_registrar --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/kusama/src/weights/runtime_common_paras_registrar.rs
* cargo run --release --features=runtime-benchmarks -- benchmark --chain=kusama-dev --steps=50 --repeat=20 --pallet=runtime_common::slots --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/kusama/src/weights/runtime_common_slots.rs
* cargo run --release --features=runtime-benchmarks -- benchmark --chain=westend-dev --steps=50 --repeat=20 --pallet=runtime_common::paras_registrar --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/westend/src/weights/runtime_common_paras_registrar.rs
* cargo run --release --features=runtime-benchmarks -- benchmark --chain=westend-dev --steps=50 --repeat=20 --pallet=runtime_common::slots --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/westend/src/weights/runtime_common_slots.rs
* fix weights
* tweak more constants
* Fix up the kusama runtime
* Westend runtime fixups
* Fix MMR & Beefy for westend
* Fixes
* fix tests
* Update runtime/polkadot/src/constants.rs
Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com >
* Update runtime/westend/src/lib.rs
Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com >
Co-authored-by: Parity Benchmarking Bot <admin@parity.io >
Co-authored-by: Gav Wood <gavin@parity.io >
2021-05-01 17:36:11 +02:00
Martin Pugh
7a99a18d1d
v0.9.0 prep ( #2959 )
...
* bump version and unify spec version
* bump substrate
* spec_version to 900
2021-04-29 18:21:58 +02:00
Martin Pugh
9c60982989
Bump version, bump substrate & update benchmarks in preparation for v0.8.31 ( #2938 )
...
* bump version
* bump cargo
* update benchmarks
* cargo run --release --features=runtime-benchmarks -- benchmark --chain=kusama-dev --steps=50 --repeat=20 --pallet=pallet_identity --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/kusama/src/weights/
* cargo run --release --features=runtime-benchmarks -- benchmark --chain=kusama-dev --steps=50 --repeat=20 --pallet=pallet_staking --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/kusama/src/weights/
Co-authored-by: Parity Benchmarking Bot <admin@parity.io >
2021-04-28 13:23:54 +02:00
André Silva
c25e79d8c4
runtime: remove mmr and beefy from westend runtime ( #2916 )
...
* runtime: remove mmr and beefy from westend runtime
* runtime: westend: remove pallet_beefy config
* node: only start beefy gadget on rococo
* node: remove beefy keys from westend chain spec
2021-04-21 20:31:06 +00:00
André Silva
142a0aec2f
runtime: prepare Westend runtime for BEEFY ( #2914 )
...
* runtime: bump westend spec_version and add beefy keys migration
* bump beefy
* runtime: revert westend spec_version change
2021-04-21 12:00:14 +00:00