Andreas Doerr
be2d1ce01b
Bump BEEFY ( #3302 )
2021-06-19 17:46:06 +02:00
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
b5b42c94b7
Allow Council to Use Scheduler ( #3237 )
...
* Allow council to use scheduler
* westend doesnt have council
2021-06-17 09:03:10 +00:00
Shawn Tabrizi
0282ad3128
fix xcm pallet origin ( #3272 )
2021-06-16 21:57:29 +01: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
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
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
Shaun Wang
88e25f1669
Companion PR for Substrate #8824 (Migrate pallet-democracy to pallet attribute macro) ( #3030 )
...
* Add type parameter for democracy genesis config.
* update Substrate
Co-authored-by: parity-processbot <>
2021-06-03 06:28:00 -04: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
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
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
Gavin Wood
ec73e6e34e
Statemint can teleport into Kusama ( #3042 )
...
* Statemint can teleport into Kusama
* Bump
* Fixes
* Fixes
2021-05-18 17:52:11 +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
bc6efb0480
Initial integration of Gilts pallet (Kusama) ( #2587 )
...
* Initial integration of Gilts pallet (Kusama)
* Fixes
* Fixes
* Fixes
* Fixes
* Fixes
* Fixes
* cargo run --release --features=runtime-benchmarks -- benchmark --chain=kusama-dev --steps=50 --repeat=20 --pallet=pallet_gilt --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/kusama/src/weights/
* Use real weights
* Update lock
* Merge
* Fixes
* Add working.
* Add proper curve arithmetic
* Fixes
* Fixes
* Make build
* Fixes
* Fixes
* Fix build
* remove dep.
* undo dep.
* upadte substrate
* Fix
* Bump Substrate
* Fixes
* Fixes
* Fix test
* Remove cap and some tests
* Fixes
* Fixes
* Update runtime/kusama/src/lib.rs
Co-authored-by: Kian Paimani <5588131+kianenigma@users.noreply.github.com >
* bump the lock file
* Fixes
* Fixes
* Fixes
* Fixes
* Fixes
* Fixes
* Fixes
* Fixes
* Fixes
Co-authored-by: Parity Benchmarking Bot <admin@parity.io >
Co-authored-by: kianenigma <kian@parity.io >
Co-authored-by: Kian Paimani <5588131+kianenigma@users.noreply.github.com >
Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com >
2021-05-11 15:40:24 +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
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
Shawn Tabrizi
9c0bb140c8
Companion for substrate#8665 (Bounded Treasury) ( #2932 )
...
* Add MaxApprovals for Bounded Treasury
* update weight
* update Substrate
* cargo run --release --features=runtime-benchmarks -- benchmark --chain=kusama-dev --steps=50 --repeat=20 --pallet=pallet_treasury --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=polkadot-dev --steps=50 --repeat=20 --pallet=pallet_treasury --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/polkadot/src/weights/
Co-authored-by: parity-processbot <>
Co-authored-by: Parity Benchmarking Bot <admin@parity.io >
2021-04-26 16:09:42 +00:00
Kian Paimani
c7ee98ab5f
Update lib.rs ( #2926 )
2021-04-24 16:48:43 +02:00
Kian Paimani
0b35a067aa
companion for substrate/pull/8044 ( #2765 )
...
* Add migration to kusama
* Fix try-runtime stuff
* Add to polkadot
* add migeations to all runtiem
* update Substrate
Co-authored-by: parity-processbot <>
2021-04-23 07:54:44 +00:00
Kian Paimani
47889d845c
Fix bench bot ( #2900 )
...
* Fix bench bot
* cargo run --release --features=runtime-benchmarks -- benchmark --chain=polkadot-dev --steps=50 --repeat=20 --pallet=pallet_membership --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/polkadot/src/weights/
* Fix weights files
* Fix'
* cargo run --release --features=runtime-benchmarks -- benchmark --chain=kusama-dev --steps=50 --repeat=20 --pallet=pallet_membership --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-21 01:38:19 +00:00
Kian Paimani
c384f70067
Companion for substrate/pull/8596 ( #2895 )
...
* Add weight types
* Add missing types
* update Substrate
* Fix build
* Fix bench build
* cargo run --release --features=runtime-benchmarks -- benchmark --chain=kusama-dev --steps=50 --repeat=20 --pallet=pallet_membership --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/kusama/src/weights/
Co-authored-by: parity-processbot <>
Co-authored-by: Parity Benchmarking Bot <admin@parity.io >
2021-04-18 09:39:34 +01:00
Shawn Tabrizi
23db3479a0
reduce min vested transfer by 100x ( #2891 )
2021-04-16 20:00:23 +02:00
Peter Goodspeed-Niklaus
f822381c4c
Companion for Trim compact solution for length during preparation ( #2649 )
...
* Companion for Trim compact solution for length during preparation
https://github.com/paritytech/substrate/pull/8317
* eliminate potential for overflow in OffchainSolutionLengthLimit
* Apply suggestions from code review
Co-authored-by: Guillaume Thiolliere <gui.thiolliere@gmail.com >
* update substrate: cargo update -p sp-io
Co-authored-by: Kian Paimani <5588131+kianenigma@users.noreply.github.com >
Co-authored-by: Guillaume Thiolliere <gui.thiolliere@gmail.com >
2021-04-13 13:53:51 +00:00