Shawn Tabrizi
0e7217b4da
Companion for #9090 (include storage info) ( #3424 )
...
* update benchmark
* add host function
* update Substrate
* fix unused
Co-authored-by: parity-processbot <>
2021-07-07 23:01:00 +00:00
ferrell-code
528e751753
parchain initializer.rs to FrameV2 ( #3416 )
...
* migrate to FrameV2
* kusama & westend change pallet name
* keep item private
Co-authored-by: Guillaume Thiolliere <gui.thiolliere@gmail.com >
2021-07-07 02:50:52 +00:00
Martin Pugh
5ba0de035e
Update all weights, add run_all_benches.sh script ( #3400 )
...
* update all weights
* add run_all_benches.sh
2021-07-06 13:12:28 +02:00
ferrell-code
39969ca536
paras.rs to FRAME V2 ( #3403 )
...
* to v2 macro
* line width
* fix mock
* actually compile moxk
* compile tests
* add hooks
* origin back in mocks
* assimilate_storage
* add generic
* maybe mock compiles now
* origin between parachain and system causing problem
* change origin
* type alias as origin
* keep origin
* add aliases to tests
* remove unnecessary imports
* Parachain -> Paras
* paras test
* nvm
* use genesis build in mock
2021-07-06 00:24:27 +00:00
Igor Matuszewski
037f22342b
Use MaxEncodedLen trait from new parity-scale-codec v2.2 ( #3412 )
...
* Use MaxEncodedLen trait from new parity-scale-codec v2.2
* update Substrate
Co-authored-by: parity-processbot <>
2021-07-05 21:11:03 +00:00
Kian Paimani
505145efd3
Staking Miner ( #3141 )
...
Co-authored-by: Peter Goodspeed-Niklaus <coriolinus@users.noreply.github.com >
Co-authored-by: Peter Goodspeed-Niklaus <peter.r.goodspeedniklaus@gmail.com >
2021-07-01 20:22:35 +01:00
Bastian Köcher
ad46aadb1a
Companion for Substrate#8953 ( #3140 )
...
* Companion
* Update branch
* Update to correspond to substrate fixes
* Update cargo.lock
* Remove patches
* update Substrate
Co-authored-by: parity-processbot <>
2021-07-01 16:21:51 +00:00
Martin Pugh
cfbfefc972
Bump version, specs & substrate in prep for v0.9.8 ( #3387 )
...
* bump version
* bump substrate
* bump spec_versions
2021-07-01 12:09:41 +02:00
Shawn Tabrizi
4911251a72
Companion for #9193 ( #3376 )
...
* update name
* update Substrate
Co-authored-by: parity-processbot <>
2021-06-28 13:25:31 +00:00
Peter Goodspeed-Niklaus
95736d1bf1
Companion for Decouple Staking and Election - Part 3: Signed Phase ( #2793 )
...
* Companion for Decouple Staking and Election - Part 3: Signed Phase
https://github.com/paritytech/substrate/pull/7910
* remove some config types
* allow up to 5 signed submissions on polkadot and kusama
* signed phase is equal induration to unsigned phase
* use chain defaults for base and per-byte deposits; >= 16 SignedMaxSubmissions
* use a small but non-trivial solution reward
* reduce signed deposit per byte fee
* reduce signed reward, adjust polkadot expected soln size
* copy submit benchmark from substrate
* demo calculating an appropriate fee for the signed reward
Unfortunately, this doesn't work: it needs to be a constant function,
and AFAIK there's no way to make a trait method constant.
* SignedRewardBase is 1.5x the fee to submit a signed solution
* all chains use deposit byte of base per 50k
* update Substrate
* cargo update -p pallet-election-provider-multi-phase
Co-authored-by: parity-processbot <>
2021-06-28 14:36:20 +02:00
Bastian Köcher
ab6c79ecb6
Use wasm-builder from git ( #3354 )
...
* Use wasm-builder from git
This brings new features like compressed runtimes out of the box.
* chore: update wasm builder dep. from 3.0.0 to master
* Fix tests
* Update node/core/pvf/tests/it/main.rs
Co-authored-by: Sergei Shulepov <sergei@parity.io >
Co-authored-by: chevdor <chevdor@gmail.com >
Co-authored-by: Sergei Shulepov <sergei@parity.io >
2021-06-28 10:34:47 +02:00
Martin Pugh
022e8bc11c
Bump versions & spec_versions ( #3368 )
...
* bump versions & spec_versions
* bump Cargo.lock
2021-06-25 12:59:14 +02:00
Shawn Tabrizi
acec54a74b
Don't allow bids for a ParaId where there is an overlapping lease period ( #3361 )
...
* add already leased
Co-Authored-By: parity-processbot <>
* add unit test
Co-Authored-By: parity-processbot <>
* add integration test and fix
Co-Authored-By: parity-processbot <>
* better doc
Co-Authored-By: parity-processbot <>
* Update runtime/common/src/slots.rs
* Update runtime/common/src/slots.rs
* Apply suggestions from code review
Co-authored-by: André Silva <123550+andresilva@users.noreply.github.com >
Co-authored-by: Kian Paimani <5588131+kianenigma@users.noreply.github.com >
* Update runtime/common/src/integration_tests.rs
* Update runtime/common/src/integration_tests.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
* 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
* 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=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
* 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::slots --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/westend/src/weights/runtime_common_slots.rs
Co-authored-by: André Silva <123550+andresilva@users.noreply.github.com >
Co-authored-by: Kian Paimani <5588131+kianenigma@users.noreply.github.com >
Co-authored-by: Parity Bot <admin@parity.io >
2021-06-25 10:56:58 +00:00
Guillaume Thiolliere
4a1d1b2de3
Companion for upgrade of transaction-payment to pallet macro ( #3267 )
...
* update generic of storages
* update Substrate
* Remove unused import
* Remove unused import in test
Co-authored-by: parity-processbot <>
Co-authored-by: Keith Yeung <kungfukeith11@gmail.com >
2021-06-25 07:45:52 +00:00
André Silva
6b408d1e38
runtime: remove randomness collective flip pallet ( #3347 )
...
* runtime: remove randomness collective flip pallet
* add storage migration to remove key
Co-Authored-By: parity-processbot <>
Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com >
2021-06-22 23:36:04 +00:00
Shawn Tabrizi
6b1baba490
Use max_code_size and max_wasm_data_size from Parachains Configuration ( #3329 )
...
* use `configuration::config()` for max bytes
* Update integration_tests.rs
* Update paras_registrar.rs
* remove consts
* add asserts for non-zero
* more const clean up
* 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=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
* add checks to `MAX_CODE_SIZE`
* re-pot MAX_POV_SIZE
* check pov limit in runtime
* POV_BOMB_LIMIT multiplier
* fix compile
* Update configuration.rs
* Update node/primitives/src/lib.rs
* fix test
Co-authored-by: Parity Bot <admin@parity.io >
2021-06-21 17:24:49 +00:00
Andronik Ordian
20d9ed06d6
downgrade a warn log to debug ( #3319 )
...
* downgrade to debug
* another thick log
* bump spec versions in kusama, polkadot and westend again IV
2021-06-20 16:15:13 +00:00
Andreas Doerr
be2d1ce01b
Bump BEEFY ( #3302 )
2021-06-19 17:46:06 +02:00
Shawn Tabrizi
039df45f00
New Weights for Polkadot / Kusama / Westend ( #3305 )
2021-06-19 07:08:05 +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
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
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
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
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