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
Robert Habermeier
a87df9d854
Fix historical validation code runtime API ( #3187 )
...
* remove some 'allow(unused)'
* fix historical validation code runtime API
2021-06-05 11:47:37 -05: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
Zeke Mostov
127771ba38
Cleanup unused errors & events in lease coordination pallets ( #3174 )
...
* Cleanup unused errors & events in lease cordination modules
* Spelling
2021-06-04 00:01:30 -04: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
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
Shaun Wang
512b366280
Update purchase pallet to FRAME v2 ( #3075 )
...
* Migrate purchase wrapper pallet to pallet attribute macro.
* Apply review suggestions.
* Update runtime/common/src/purchase.rs
* Update runtime/common/src/purchase.rs
Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com >
2021-06-02 18:30:55 -04:00
Shaun Wang
22f076c6d3
Update para sudo wrapper pallet to FRAME v2 ( #3074 )
...
* Migrate para sudo wrapper pallet to pallet attribute macro.
* Apply review suggestions.
2021-06-01 20:34:47 +00:00
Shaun Wang
ca10e33788
Migrate registrar pallet to pallet attribute macro. ( #3063 )
2021-06-01 20:32:31 +00: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
Robert Habermeier
d4e8f2a3da
set session-info availability cores based on scheduler ( #3134 )
...
this will account for 'dummy' cores due to maxValidatorsPerCore
2021-05-28 18:06:55 -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
Robert Habermeier
ec43a848b9
add the correct indirection to reward points for backing ( #3082 )
2021-05-22 19:01:37 -05:00
Shawn Tabrizi
75cb6a1bd4
Add Proxy Calls to Westend and Kusama ( #3080 )
2021-05-22 18:13:48 -05:00
Bernhard Schuster
e8652e73db
cargo spellcheck ( #3067 )
2021-05-22 00:15:47 +00: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
Bastian Köcher
14f5d314f4
New Rococo genesis ( #3065 )
2021-05-20 11:44:13 +00:00
Gavin Wood
933c9ac2bf
Reserves for bids during ending period persist until auction done ( #3058 )
...
* Reserves for bids during ending period persist until auction done
* Fixes
* Fixes
* Fixes
* Fixes
* Update auctions.rs
2021-05-20 10:15:52 +02:00
Shaun Wang
3137d94d11
Migrate crowdloan pallet to pallet attribute macro. ( #3036 )
2021-05-19 20:14:20 +00: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
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
Shaun Wang
8d30172a8f
Update auctions pallet to FRAME v2 ( #3031 )
...
* Migrate auctions pallet to pallet attribute macro.
* Rename extra constants.
2021-05-18 11:40:15 +00:00
Shawn Tabrizi
10685f836d
Check Parachain is Fully Registered Before Starting a Crowdloan ( #3018 )
...
* Add check that parachain is fully registered before starting crowdloan
* fix tests
* fix benchmarks
2021-05-14 10:59:12 +02:00
Hernando Castano
9507266960
Add Bridge Header Sync to Rococo Runtime ( #2983 )
...
* Add bridges code to workspace
* Add Rococo and Wococo bridge instances to Rococo runtime
* Add Rococo and Wococo runtime APIs
* Add GenesisConfig parameters for bridge pallet
* Update Rococo spec_version used by bridge relayer
* Add scripts for running Rococo and Wococo dev nodes
* Add scripts for running Rococo<>Wococo header sync
* Apply patch for build artifact location
* Remove bridges crates from workspace
* Downgrade async related dependencies
* Change bridge pallet owner to be `root_key`
* Bump number of `MaxRequests` allowed
* Revert changes in `bridges` subtree folder
* Use correct account for Sudo
* Add comment explaining duplicate bridge pallets
* Remove WeightInfo comment.
Co-authored-by: Tomasz Drwięga <tomasz@parity.io >
2021-05-13 15:09:17 +00: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
Sergei Shulepov
0e6c96a8b6
Support opening HRMP channels in genesis ( #3003 )
2021-05-13 10:54:30 +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
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
ce4edd0398
Make ParaId value of public paras non-discretionary ( #2988 )
...
* Make ParaId value of public paras non-discretionary
* Fixes
* Fixes
* fix tests
* fix benchmark tests
* dont use hardcoded number
Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com >
2021-05-07 17:52:26 +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
joe petrowski
26ac14f04e
change statemint id (not system para) ( #2974 )
2021-05-04 11:21:40 -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