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
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
Guillaume Thiolliere
d0055b1af8
remove unused and sometime invalid type alias ( #2876 )
2021-04-12 20:33:46 +02:00
Joshy Orndorff
849b5117f9
rename EPOCH_DURATION_IN_BLOCKS -> EPOCH_DURATION_IN_SLOTS ( #2674 )
2021-04-12 14:40:44 +00:00
Ashley
195772c5d4
Remove already triggered migrations ( #2764 )
...
* Remove BabeEpochConfigMigrations
* Remove remaining migrations
* Remove unused migration definitions
2021-04-12 13:29:52 +02:00
Shawn Tabrizi
1111c490db
Reduce Kusama Fees / Deposits by 50x ( #2451 )
...
* Reduce the value of DOLLARS by 50x
* Update lib.rs
2021-04-09 13:02:11 +02:00
Shawn Tabrizi
322e1f3dff
ModuleId to PalletId ( #2864 )
...
* lock substrate version for testing
* `ModuleId` to `PalletId`
* release substrate version
* Update Cargo.lock
Co-authored-by: Xavier Lau <c.estlavie@icloud.com >
2021-04-09 12:33:21 +02:00
Robert Habermeier
cfb8dfa4fe
bump spec versions across the board ( #2856 )
2021-04-08 19:14:19 +00:00
Guillaume Thiolliere
beca01f118
Ease parachain candidate code fetching ( #2593 )
...
* code stored in para + modify CandidateDescriptor.
* WIP: digest + some more impl
* validation_code_hash in payload + check in inclusion
* check in client + refator
* tests
* fix encoding indices
* remove old todos
* fix test
* fix test
* add test
* fetch validation code inside collation-generation from the relay-chain
* HashMismatch -> PoVHashMismatch + miscompilation
* refactor, store hash when needed
* storage rename: more specific but slightly too verbose
* do not hash on candidate validation, fetch hash instead
* better test
* fix test
* guide updates
* don't panic in runtime
Co-authored-by: Robert Habermeier <rphmeier@gmail.com >
2021-04-01 23:55:39 +02:00
Robert Habermeier
0794f69306
Add dispute types and change InclusionInherent to ParasInherent ( #2791 )
...
* dispute types
* add Debug to dispute primitives in std and InherentData
* use ParachainsInherentData on node-side
* change inclusion_inherent to paras_inherent
* RuntimeDebug
* add type parameter to PersistedValidationData users
* fix test client
* spaces
* fix collation-generation test
* fix provisioner tests
* remove references to inclusion inherent
2021-04-01 18:23:27 +02:00
Gavin Wood
a960e2ff6d
Companion for OnSetCode #8496 ( #2794 )
...
* Make build with OnSetCode
* Fixes
* update Substrate
Co-authored-by: parity-processbot <>
2021-04-01 15:19:57 +02:00
Tomasz Drwięga
5b77a89874
Merkle Mountain Range & BEEFY integration ( #2101 )
...
* Switch branch.
* Implement basic MMR leaf.
* Revert "Switch branch."
This reverts commit 7f4d41c67f27ca560c53fc63fd3bd06ac182403c.
* Bump substrate.
* Integrate BEEFY.
Bump all.
Fix missing imports.
* Use beefy pallet to get authorities.
* Bump BEEFY repo.
* Use next authority set instead of the current one.
* Start BEEFY service.
* Fix BEEFY start up.
* Cache BEEFY authority set.
* Add BEEFY ValidatorSetId to MMR
* Fix code.
* Apply suggestions from code review
Co-authored-by: André Silva <123550+andresilva@users.noreply.github.com >
Co-authored-by: Hernando Castano <HCastano@users.noreply.github.com >
* Review grumbles.
* Update beefy repo.
* Work-around missing protocol.
* Revert "Work-around missing protocol."
This reverts commit 0a6257a8bccc1c67e966898cdedc408c6469ffd6.
* Add beefy peers set config.
* Expose storage of BEEFY.
* Uncompress BEEFY keys for merkle tree.
* Update ordering.
* Switch to branch.
* Bump deps.
* Switch to custom beefy.
* Add MMR RuntimeApi and custom rpc.
* Add set length details.
* Fix compilation.
* Expose MmrLeaf storage.
* Expose MmrLeaf storage.
* Don't use session handler, and rather compute & cache beefy details on call.
* Don't use session handler, and rather compute & cache beefy details on call.
* Fixes.
* Update Cargo.lock.
* Switch back to master.
* Update lockfile.
* Fix xcm print issue.
* Cargo.lock.
* Use master branch.
* Remove extra dep.
* Fix tests.
* Update Cargo.lock
* Add BEEFY & MMR to westend.
* Implement session keys migration.
* Update testnet script.
* start BEEFY for all node types
* Update Cargo.lock
* fix Cargo.toml
* resolve another merge conflict
* add Westend BEEFY keys
* Apply suggestions from code review
Co-authored-by: Hernando Castano <HCastano@users.noreply.github.com >
* Update BEEFY.
* Add Rococo BEEFY keys
* resolve merge issue
* fix pallet indices
* fix Westend OldSessionKey
* remove unused imports in Westend runtime
* Fix compilation for Westend.
* address review
* start BEEFY gadget conditionally
* address review again
* fix typo
* remove duplicate
* remove another duplicate
* well
* add missing stuff
* cleanup Cargo.toml files
- revert unnecessary changes
- add missing /std dependencies
- remove unused dependencies
* runtime: remove unused structs from rococo runtime
* node: cleanup service
Co-authored-by: André Silva <123550+andresilva@users.noreply.github.com >
Co-authored-by: Hernando Castano <HCastano@users.noreply.github.com >
Co-authored-by: adoerr <0xad@gmx.net >
Co-authored-by: André Silva <andrerfosilva@gmail.com >
2021-04-01 12:50:04 +02:00
Kian Paimani
da1f54a19d
Add some tests to demonstrate an estimate of the nominator limit ( #2724 )
...
* Add some tests to demonstrate an estimate of the nominator limit
* Update runtime/kusama/src/lib.rs
* Update runtime/polkadot/src/lib.rs
Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com >
* Fix build
* remove max
Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com >
2021-03-31 09:13:46 +00:00
Peter Goodspeed-Niklaus
27b6d83974
use named generic types in generate_solution_type ( #2707 )
...
* use named generic types in generate_solution_type
* "Update Substrate"
Co-authored-by: parity-processbot <>
2021-03-28 08:47:52 +00:00
RRTTI
66c4936e21
Increase rotation period ( #2688 )
...
* Cancel treasury burn and increase rotation period
What this PR changes:
- Kusama treasury burn to be transferred to the Saociety pot: cancelled temporarily
- Increase the rotation period for candidates to show PoI FROM 3,3 days to 7 days.
* Update runtime/kusama/src/lib.rs
* Update lib.rs
Co-authored-by: Gavin Wood <gavin@parity.io >
2021-03-27 17:37:30 +01:00
Martin Pugh
9938513e71
Bump version , weights and substrate in prep for v0.8.30 ( #2690 )
...
* bump version and substrate
* bump old forgotten versions
* update weights
* bump substrate
* Revert "bump substrate"
This reverts commit 8b5004b6fe9ce9ccdf143d3fe878802931ea4f2f.
Co-authored-by: André Silva <andrerfosilva@gmail.com >
2021-03-25 11:29:11 +01:00
Kian Paimani
a2c3685cab
Companion for substrate/pull/8368 ( #2683 )
...
* Companion for https://github.com/paritytech/substrate/pull/8368
* "Update Substrate"
Co-authored-by: parity-processbot <>
2021-03-25 09:52:57 +00:00
Kian Paimani
e16479e16e
Companion for substrate/pull/8445 ( #2686 )
...
* Companion for substrate/pull/8445
* cargo update -p sp-io
Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com >
2021-03-24 18:10:27 +01:00
Guillaume Thiolliere
7df563d471
remove unused ( #2676 )
...
Co-authored-by: Bastian Köcher <info@kchr.de >
2021-03-23 20:33:26 +01:00
Kian Paimani
b208a81764
Increase payable nominators per validator ( #2637 )
...
* inc
* cargo run --release --features=runtime-benchmarks -- benchmark --chain=polkadot-dev --steps=50 --repeat=20 --pallet=pallet_staking --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/polkadot/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/
* cargo run --release --features=runtime-benchmarks -- benchmark --chain=westend-dev --steps=50 --repeat=20 --pallet=pallet_staking --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/westend/src/weights/
* Add test
Co-authored-by: Parity Benchmarking Bot <admin@parity.io >
2021-03-23 08:53:05 +00:00
Kian Paimani
6435296cc5
Companion for substrate/pull/8113 (Unleash multi phase) ( #2432 )
...
* Almost make it work.
* Make the runtimes build
* Some fixes
* Make the whole thing compile
* Apply suggestions from code review
* Fix review comments
* remove unused.
* nit
* Fix
* "Update Substrate"
* bump tx-version
Co-authored-by: parity-processbot <>
2021-03-20 12:13:14 +00:00
Shaun Wang
9047bbb392
Companion for #8372 (Replace 'Module' with 'Pallet' in construct_runtime macro) ( #2629 )
...
* Replace 'Module' with 'Pallet'.
* "Update Substrate"
* fix babe usage
* fix benchmark
Co-authored-by: parity-processbot <>
Co-authored-by: thiolliere <gui.thiolliere@gmail.com >
2021-03-18 10:10:17 +00:00
Kian Paimani
14558accea
re benchmark ( #2630 )
...
* Change something
* cargo run --release --features=runtime-benchmarks -- benchmark --chain=westend-dev --steps=50 --repeat=20 --pallet=pallet_staking --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=pallet_election_provider_multi_phase --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=polkadot-dev --steps=50 --repeat=20 --pallet=pallet_election_provider_multi_phase --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/polkadot/src/weights/
* cargo run --release --features=runtime-benchmarks -- benchmark --chain=polkadot-dev --steps=50 --repeat=20 --pallet=pallet_staking --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/polkadot/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/
* cargo run --release --features=runtime-benchmarks -- benchmark --chain=kusama-dev --steps=50 --repeat=20 --pallet=pallet_election_provider_multi_phase --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-03-17 13:20:07 +01:00
Kian Paimani
c507a4db42
Fix wrong deposit amount in council voters. ( #2562 )
...
* Fix wrong deposit amount in council voters.
* Fix some build
* make it all compile.. so far.
* Fix
* break build
* Okay fix it again
2021-03-17 12:13:43 +00:00
Kian Paimani
6b0c56b8ab
Companion for sub/8176 ( #2622 )
...
* Merge
* Fixes
* Fix build
* remove dep.
* undo dep.
* upadte substrate
* cargo run --release --features=runtime-benchmarks -- benchmark --chain=polkadot-dev --steps=50 --repeat=20 --pallet=pallet_staking --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/polkadot/src/weights/
* Fix lock
* revert lock; cargo update -p sp-io
* from_rational_approx -> from_rational
* Silence more warnings
Co-authored-by: Gav Wood <gavin@parity.io >
Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com >
Co-authored-by: Parity Benchmarking Bot <admin@parity.io >
2021-03-16 14:05:47 +00:00
Shawn Tabrizi
b65ca6bab6
Remove TODO from substrate#2986 ( #2628 )
2021-03-15 18:36:34 +00:00
André Silva
7966d2b4b7
runtime: define NextSessionRotation in im-online instances ( #2602 )
...
* runtime: define NextSessionRotation in im-online instances
* "Update Substrate"
Co-authored-by: parity-processbot <>
2021-03-12 13:55:34 +00:00
André Silva
b360360544
runtime: use babe as randomness source ( #2504 )
...
* runtime: use babe as randomness source
* runtime: fix randomness api
* bridges: fix random_seed
* parachains: use mock TestRandomness from frame_support_test
* parachains: use mock TestRandomness from frame_support_test
* runtime: update randomness source in test-runtime
* runtime: remove unused import
* parachains: add todo to audit usage of randomness api
* "Update Substrate"
Co-authored-by: parity-processbot <>
2021-03-10 17:22:59 +00:00
Ashley
956be35dd4
Companion PR for substrate PR 8072 - Add a config field to babe epochs ( #2467 )
...
* Add a config field to babe epochs
* Fix test
* Add BABE_GENESIS_EPOCH_CONFIG consts
* Use PrimaryAndSecondaryVRFSlots and remove newlines
* Make epoch_configs Some
* Fix tests
* Fix test service tests
* Add a BabeEpochConfigMigrations OnRuntimeUpgrade
* Apply suggestions
* Use PrimaryAndSecondaryPlainSlots in kusama
* Remove migration from test runtime and rococo
* Add HasPalletPrefix
* Rename to BabePalletPrefix and change BabeApi -> Babe
* "Update Substrate"
* Update substrate
* Resolve parantheses errors
Co-authored-by: parity-processbot <>
2021-03-10 09:39:08 +00:00
Andronik Ordian
1bec8cfed9
bump spec versions in kusama, polkadot and westend again ( #2557 )
2021-03-04 14:28:14 +01:00
Bastian Köcher
ae3ee5ed7f
Companion for ExecuteBlock changes in Substrate ( #2548 )
...
* Companion for `ExecuteBlock` changes in Substrate
https://github.com/paritytech/substrate/pull/8244
* "Update Substrate"
Co-authored-by: parity-processbot <>
2021-03-03 09:13:56 +00:00
Bastian Köcher
7a2c7aa3fe
Companion for init the RuntimeLogger automatically ( #2522 )
...
* Lol
* Add the features
* Remove some more runtime logger init calls
* Make companion check work
* Revert "Make companion check work"
This reverts commit a255c798076466c0fa20a4db713fc712772c2b4d.
* Update Substrate
2021-03-01 16:15:34 +01:00
Gavin Wood
c4b89e11da
Companion for Substrate #8120 ( #2541 )
...
* add remark_with_event
* Bump Substrate
* cargo run --release --features=runtime-benchmarks -- benchmark --chain=polkadot-dev --steps=50 --repeat=20 --pallet=frame_system --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/polkadot/src/weights/
* cargo run --release --features=runtime-benchmarks -- benchmark --chain=polkadot-dev --steps=50 --repeat=20 --pallet=frame_system --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/polkadot/src/weights/
* cargo run --release --features=runtime-benchmarks -- benchmark --chain=westend-dev --steps=50 --repeat=20 --pallet=frame_system --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=kusama-dev --steps=50 --repeat=20 --pallet=frame_system --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/kusama/src/weights/
Co-authored-by: Bryan Chen <xlchen1291@gmail.com >
Co-authored-by: Parity Benchmarking Bot <admin@parity.io >
2021-02-28 11:13:49 -04:00
Martin Pugh
5ffb8cb463
[release] Prep for v0.8.29 ( #2497 )
...
* bump version and substrate
* update weights
* bump substrate
* cargo run --release --features=runtime-benchmarks -- benchmark --chain=polkadot-dev --steps=50 --repeat=20 --pallet=frame_system --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/polkadot/src/weights/
* cargo run --release --features=runtime-benchmarks -- benchmark --chain=polkadot-dev --steps=50 --repeat=20 --pallet=pallet_election_provider_multi_phase --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/polkadot/src/weights/
* cargo run --release --features=runtime-benchmarks -- benchmark --chain=kusama-dev --steps=50 --repeat=20 --pallet=pallet_election_provider_multi_phase --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=westend-dev --steps=50 --repeat=20 --pallet=pallet_election_provider_multi_phase --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/westend/src/weights/
Co-authored-by: Parity Benchmarking Bot <admin@parity.io >
2021-02-24 20:32:34 +01:00
Kian Paimani
4f83b3e247
Properly use weights for the new election pallet ( #2508 )
...
* Revert some weights
* Add features
* Update lock file
* cargo run --release --features=runtime-benchmarks -- benchmark --chain=kusama-dev --steps=50 --repeat=20 --pallet=pallet_election_provider_multi_phase --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=westend-dev --steps=50 --repeat=20 --pallet=pallet_election_provider_multi_phase --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/westend/src/weights/
* Use read weights
* cargo run --release --features=runtime-benchmarks -- benchmark --chain=polkadot-dev --steps=50 --repeat=20 --pallet=pallet_election_provider_multi_phase --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/polkadot/src/weights/
* export stuff
* Update substrate
Co-authored-by: Parity Benchmarking Bot <admin@parity.io >
2021-02-24 14:38:22 +00:00
Kian Paimani
2398bbfaef
Migration testing CLI ( #2447 )
...
* Template
* Midway..
* Make all 3 runtimes work
* Update node/service/Cargo.toml
* undo brach updates
* fix with latest version
* Update runtime/kusama/src/lib.rs
Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com >
* Update runtime/rococo/src/lib.rs
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com >
* Final nits
* Update runtime/kusama/src/lib.rs
Co-authored-by: Guillaume Thiolliere <gui.thiolliere@gmail.com >
Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com >
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com >
Co-authored-by: Guillaume Thiolliere <gui.thiolliere@gmail.com >
2021-02-24 14:38:05 +00:00
Martin Pugh
6d46fc1d85
Companion for #8184 ( #2506 )
...
* remove weights for suicide
* "Update Substrate"
* Update Cargo.lock
* cargo run --release --features=runtime-benchmarks -- benchmark --chain=westend-dev --steps=50 --repeat=20 --pallet=frame_system --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=polkadot-dev --steps=50 --repeat=20 --pallet=frame_system --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/polkadot/src/weights/
* cargo run --release --features=runtime-benchmarks -- benchmark --chain=kusama-dev --steps=50 --repeat=20 --pallet=frame_system --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: Shawn Tabrizi <shawntabrizi@gmail.com >
Co-authored-by: Parity Benchmarking Bot <admin@parity.io >
2021-02-23 22:07:45 +00:00
Robert Habermeier
3300b53306
Approval Checking Improvements Omnibus ( #2480 )
...
* add tracing to approval voting
* notify if session info is not working
* add dispute period to chain specs
* propagate genesis session to parachains runtime
* use `on_genesis_session`
* protect against zero cores in computation
* tweak voting rule to be based off of best and add logs
* genesis configuration should use VRF slots only
* swallow more keystore errors
* add some docs
* make validation-worker args non-optional and update clap
* better tracing for bitfield signing and provisioner
* pass amount of bits in bitfields to inclusion instead of recomputing
* debug -> warn for some logs
* better tracing for availability recovery
* a little av-store tracing
* bridge: forward availability recovery messages
* add missing try_from impl
* some more tracing
* improve approval distribution tracing
* guide: hold onto pending approval messages until NewBlocks
* Hold onto pending approval messages until NewBlocks
* guide: adjust comment
* process all actions for one wakeup at a time
* vec
* fix network bridge test
* replace randomness-collective-flip with Babe
* remove PairNotFound
2021-02-23 14:12:28 -06:00
Kian Paimani
eb09db2aef
Enable two phase election provider in runtimes in 'DryRun' mode ( #2476 )
...
* Apply some changes
* Make the runtimes build
* Master.into()
* Undo branch updates.
* Undo unwatned changes
* Fix deps one last time
* Fix election lookahead
* Revert deps
* Fix :P
Co-authored-by: Bastian Köcher <info@kchr.de >
2021-02-23 16:58:00 +01:00
Kian Paimani
571651e326
Change a few fee/weight parameters ( #2481 )
...
* Change a few fee parameters
* Update runtime/common/src/lib.rs
2021-02-23 13:34:29 +00:00
Martin Pugh
ece23588d2
Remove v0.8.28 runtime migrations ( #2496 )
...
* remove v0.8.28 runtime migrations
* Update runtime/westend/src/lib.rs
Co-authored-by: Kian Paimani <5588131+kianenigma@users.noreply.github.com >
* commit suggestions
Co-authored-by: Kian Paimani <5588131+kianenigma@users.noreply.github.com >
2021-02-23 12:28:41 +00:00
Guillaume Thiolliere
8734cf62b2
companion: Babe remove inherent ( #2438 )
2021-02-16 19:43:38 +01:00