- Jun 21, 2022
-
-
Mara Broda authored
* westend: update weights * kusama: update weights * polkadot: update weights * rococo: update weights
-
- Jun 16, 2022
-
-
joe petrowski authored
* remove kusama nomination pools init * remove OnRuntimeUpgrade import * remove stale migrations from westend Co-authored-by: Shawn Tabrizi <[email protected]>
-
Keith Yeung authored
* Companion for paritytech/substrate#11631 * Fixes * Update sp-runtime * Fixes * update lockfile for {"substrate"} * remove unused Co-authored-by: parity-processbot <> Co-authored-by: Shawn Tabrizi <[email protected]>
-
ZhiYong authored
* Companion for substrate#11618 * Fix * update lockfile for {"substrate"} Co-authored-by: parity-processbot <>
-
- Jun 13, 2022
-
-
Kian Paimani authored
* add weights for pool::chill * update lockfile for {"substrate"} Co-authored-by: parity-processbot <>
-
Kian Paimani authored
* enable pool slashes on Kusama and westend * fix
-
- Jun 07, 2022
-
-
Dominique authored
-
- May 30, 2022
-
-
Mara Broda authored
* polkadot: update weights * kusama: update weights * westend: update weights * rococo: update weights
-
- May 27, 2022
-
-
Mara Broda authored
* bump version to 0.9.23 * bump spec_version to 9230
-
- May 24, 2022
-
-
Niklas Adolfsson authored
The westend runtime was missing the fast runtime for `EpochDuration` which caused the epoch be 1 hour which isn't fast. This PR changes the `EpochDuration` to 2 minutes when `--fast-runtime` is enabled, the same as polkadot and kusama.
-
- May 20, 2022
-
-
Kian Paimani authored
* companion to substrate 11411 * update substrate * fmt * fmt Co-authored-by: Shawn Tabrizi <[email protected]>
-
- May 19, 2022
-
-
Shawn Tabrizi authored
* add migration for simple pallet rename * fmt * also add score migration * add try-runtime feature to bags list * add pre_upgrade to pallet rename * update lockfile for {"substrate"} Co-authored-by: parity-processbot <>
-
- May 17, 2022
-
-
Ross Bulat authored
* add MinPointsToBalance * Typo * cargo update -p sp-io Co-authored-by: Oliver Tale-Yazdi <[email protected]> Co-authored-by: parity-processbot <> Co-authored-by: Shawn Tabrizi <[email protected]>
-
- May 16, 2022
-
-
Mara Broda authored
* bump versions to 0.9.22 * bump spec_version to 9220
-
- May 12, 2022
-
-
Mara Broda authored
* rococo: update weights * polkadot: update weights * kusama: update weights * westend: update weights
-
ordian authored
-
- May 11, 2022
-
-
Kian Paimani authored
* fix all runtimes * fix staking miner * update lockfile for {"substrate"} Co-authored-by: parity-processbot <>
-
Kian Paimani authored
* add nomination pools to kusama * Update runtime/kusama/src/lib.rs Co-authored-by: Mara Robin B. <[email protected]> * Update runtime/kusama/src/lib.rs * probably fix build * really fix build * fix benches * cargo run --quiet --profile=production --features=runtime-benchmarks -- benchmark pallet --chain=kusama-dev --steps=50 --repeat=20 --pallet=pallet_nomination_pools --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/kusama/src/weights/ * cargo run --quiet --profile=production --features=runtime-benchmarks -- benchmark pallet --chain=westend-dev --steps=50 --repeat=20 --pallet=pallet_nomination_pools --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/westend/src/weights/ * whitelist transactional storage limit * make defensive * fix * cargo run --quiet --profile=production --features=runtime-benchmarks -- benchmark pallet --chain=westend-dev --steps=50 --repeat=20 --pallet=pallet_nomination_pools --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/westend/src/weights/ * update * fix benches * cargo run --quiet --profile=production --features=runtime-benchmarks -- benchmark pallet --chain=kusama-dev --steps=50 --repeat=20 --pallet=pallet_nomination_pools --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/kusama/src/weights/ * change head * fmt Co-authored-by: Mara Robin B. <[email protected]> Co-authored-by: Parity Bot <[email protected]>
-
- May 10, 2022
-
-
Kian Paimani authored
* add weights * update lockfile for {"substrate"} Co-authored-by: parity-processbot <>
-
- May 05, 2022
-
-
Jun Jiang authored
-
- May 04, 2022
-
-
Web3 Smith authored
* update runtime apis * rebase * update apis * update apis * minor fix * minor fix * minro fixes * update api * style fix * update lockfile for {"substrate"} Co-authored-by: acatangiu <[email protected]> Co-authored-by: parity-processbot <>
-
- Apr 28, 2022
-
-
Kian Paimani authored
* add nomination pools to westend rutnime * Fix buikd * fit some shit * add real weights from substrate weights computed on the same bench machine
-
- Apr 27, 2022
-
-
Doordashcon authored
-
- Apr 26, 2022
-
-
Oliver Tale-Yazdi authored
* Update benchmark machine command Signed-off-by: Oliver Tale-Yazdi <[email protected]> * Add import Signed-off-by: Oliver Tale-Yazdi <[email protected]> * Rename POLKADOT_REFERENCE_HARDWARE -> SUBSTRATE_REFERENCE_HARDWARE Signed-off-by: Oliver Tale-Yazdi <[email protected]> * update lockfile for {"substrate"} * Bump spec_version to 9200 Signed-off-by: Oliver Tale-Yazdi <[email protected]> Co-authored-by: parity-processbot <>
-
Ayevbeosa Iyamu authored
* benchmarking for `pallet_recovery` * Added WeightInfo implementation for pallet_recovery * Update Cargo.lock * Update Cargo.toml Co-authored-by: Oliver Tale-Yazdi <[email protected]> Co-authored-by: Shawn Tabrizi <[email protected]>
-
- Apr 25, 2022
-
-
Mara Broda authored
* Remove SlotsCrowdloanIndexMigration * Remove slots index migration code * Remove crowdloan index migration code * remove reference to migration * rustfmt * westend: remove unused import OnRuntimeUpgrade * kusama: remove unused import OnRuntimeUpgrade * polkadot: remove unused import OnRuntimeUpgrade * Revert "Remove crowdloan index migration code" This reverts commit fe84b59e3133e950740d911fb019e6002f60d5a3. * Revert "Remove slots index migration code" This reverts commit 62c5a28e21d2949189bdb52835cc3a44f6e9c561. * Revert "remove reference to migration" This reverts commit 1f8806c010210b638cc59979ab873619910596c0. * Remove InjectValidatorsIntoVoterList migration
-
- Apr 22, 2022
-
-
Mara Broda authored
* polkadot: update weights * kusama: update weights * rococo: update weights * westend: update weights
-
Zeke Mostov authored
* Companion to Proportional Slashing * update lockfile for {"substrate"} Co-authored-by: parity-processbot <>
-
- Apr 20, 2022
-
-
Zeke Mostov authored
* Add SignedMaxRefunds * Update Cargo.lock * update lockfile for {"substrate"} Co-authored-by: Shawn Tabrizi <[email protected]> Co-authored-by: parity-processbot <>
-
Georges authored
* Splitting `SolutionImprovementThreshold` in 2. One for Signed phase, and one for Unsgined. * Adding missing imports * Removing `GetDefault`, renaming trait * update lockfile for {"substrate"} Co-authored-by: parity-processbot <>
-
- Apr 15, 2022
-
-
Georges authored
* `GenesisElectionOf` after changes to substrate * Benchmarking for `frame_election_provider_support` * Introducing `OnChainSeqPhragmen` after changes to substrate. Pallet renaming in substrate * Fixing `test-runtime` * Use `UnboundedExecution` after change to substrate * update lockfile for {"substrate"} * cargo run --quiet --profile=production --features=runtime-benchmarks -- benchmark pallet --chain=polkadot-dev --steps=50 --repeat=20 --pallet=frame_election_provider_support --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/polkadot/src/weights/ * cargo run --quiet --profile=production --features=runtime-benchmarks -- benchmark pallet --chain=kusama-dev --steps=50 --repeat=20 --pallet=frame_election_provider_support --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/kusama/src/weights/ * cargo run --quiet --profile=production --features=runtime-benchmarks -- benchmark pallet --chain=westend-dev --steps=50 --repeat=20 --pallet=frame_election_provider_support --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/westend/src/weights/ Co-authored-by: parity-processbot <> Co-authored-by: Parity Bot <[email protected]>
-
- Apr 13, 2022
-
-
Adrian Catangiu authored
* Add mmr_root() to pallet-mmr API to expose root from state * use the right MmrApi primitives * bridges: use correct mmr primitives * rococo: beefy-mmr deposit mmr root digest * fix lockfile * update lockfile for {"substrate"} Co-authored-by: parity-processbot <>
-
- Apr 12, 2022
-
-
Tsvetomir Dimitrov authored
* Move `trait ParachainHost` to a separate version independent module `trait ParachainHost` is no longer part of a specific primitives version. Instead there is a single trait for stable and staging api versions. The trait contains stable AND staging methods. The latter are explicitly marked as unstable. * Fix `use` primitives `polkadot_primitives::v2` becomes `polkadot_primitives::runtime_api` * Staging API declaration and stubs Introduces the concept for 'staging functions' in runtime API. These functions are still in testing and they are meant to be used only within test networks (Westend). They coexist with the stable calls for technical reasons - maintaining different runtime APIs for different networks is hard to implement. Check the doc comments in source files for more details how the staging API should be used. * Add new staging method - get_session_disputes() Add `staging_get_session_disputes` to `ParachainHost` as the first method of the staging API. * Hide vstaging runtime api implementations behind feature flag * Fix test runtime * fn staging_get_session_disputes() is renamed to fn staging_get_disputes()
-
- Apr 08, 2022
-
-
Mara Broda authored
-
- Apr 07, 2022
-
-
Shawn Tabrizi authored
* new migration * use new migration in runtime
-
Stephen Shelton authored
* Replace TransactionByteFee with LengthToFee * s/ConstantModifierFee/ConstantMultiplier/ * fmt * Remove duplicate import * fmt * Update runtime/test-runtime/src/lib.rs * update lockfile for {"substrate"} Co-authored-by: Shawn Tabrizi <[email protected]> Co-authored-by: parity-processbot <>
-
- Apr 01, 2022
-
-
Oliver Tale-Yazdi authored
* Integrate benchmark-overhead command Signed-off-by: Oliver Tale-Yazdi <[email protected]> * Beauty fix test Signed-off-by: Oliver Tale-Yazdi <[email protected]> * Spellcheck on Signed-off-by: Oliver Tale-Yazdi <[email protected]> * Remove constants:: module Signed-off-by: Oliver Tale-Yazdi <[email protected]> * Update block+extrinsic weights Signed-off-by: Oliver Tale-Yazdi <[email protected]> * Revert "Update block+extrinsic weights" This reverts commit d77bf977f6bca0b1ded35daa2fd54b97e18a67db. * Revert "Remove constants:: module" This reverts commit 2d3bcd0212c438f6b96755900a01762592d90265. * Review fixes Signed-off-by: Oliver Tale-Yazdi <[email protected]> * Review fixes Signed-off-by: Oliver Tale-Yazdi <[email protected]> * Review fixes Signed-off-by: Oliver Tale-Yazdi <[email protected]> * Review fixes Signed-off-by: Oliver Tale-Yazdi <[email protected]> * CI Signed-off-by: Oliver Tale-Yazdi <[email protected]> Co-authored-by: parity-processbot <>
-
- Mar 26, 2022
-
-
Georges authored
* Adding `Fallback` on election failure Use the newly introduced `BoundedOnChainSequentialPhragmen` and `UnboundedOnChainSequentialPhragmen` * Adding `BoundedOnchainExecution` after changes in substrate * Introducing `ExecutionConfig` from `frame_election_provider_support::onchain` * `OnChainSequentialPhragmen` > `OnChainSeqPhragmen` Renaming to have a shorter name * `BoundedOnchainExecution` -> `BoundedExecution` And `UnboundedOnchainExecution` -> `UnboundedExecution` * `Fallback` back to `NoFallback` `UnboundedExecution` for `GovernanceFallback` * Update runtime/test-runtime/src/lib.rs * update lockfile for {"substrate"} Co-authored-by: Kian Paimani <[email protected]> Co-authored-by: parity-processbot <>
-
- Mar 24, 2022
-
-
Sergei Shulepov authored
* paras: `include_pvf_check_statement` rt bench Resolves #4933 This PR adds a benchmark for the `include_pvf_check_statement` dispatchable. This is a necessary step to make it work without modifications. That enables us to proceed with testing on Versi. This introduces 5 new benchmarks. Those measure performance of the `include_pvf_check_statement` under 2 different conditions: 1. regular vote submission. That's the common case. 2. submission of the last vote. That happens only once and leads to a heavy finalization stage. There are 2 different types of finalization (one for onboarding, one for upgrading) and there are two outcomes: accepted and rejected. Those 4 are similar but I decided to cover them all and assign the maximum of all 4. This is to avoid a situation when one of those paths becomes more heavier than others and opens up an attack venue. The regular vote submission weight is drastically different from the submission last vote weight. That's why in case during runtime finalization was not executed the weight consumed value will be lowered down to the regular vote submission. The finalization weight is proportional to the number of "causes", i.e. the events that caused the PVF pre-checking vote in the first place, and here we assume that the maximum number of causes is 100. Theoretically, there is nothing that prevents an adversary to register/upgrade to more than 100 parachains. In that case, the consumed weight will be lower than the actual time consumed by the finalization process. That can enable a DoS vector. However, practically, it is not very possible. Right now it is very expensive to call `schedule_para_initialize` because it requires a very large lock up of funds. Moreover, finalizing a vote with 100 causes leads to around 31ms time spent. Finalizing more will require more time. However, finalizing with 200 causes will cause ≈62ms delay. This is not that bad since even though we had a full block and the adversary tried to finalize 200 causes it won't be able to even exceed the operational extrinsic boundary of 250ms and even if so it won't make big difference. That said, this should be addressed later on, esp. when we enable parathreads, which will make creating causes easier. One of potential solutions will be shifting the logic of finalization into `on_initialize`/`on_finalize`. Another is to create a maximum number of causes and then reject upgrades or onboardings if that was reached. * cargo run --quiet --profile=production --features=runtime-benchmarks -- benchmark --chain=polkadot-dev --steps=50 --repeat=20 --pallet=runtime_parachains::paras --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/polkadot/src/weights/runtime_parachains_paras.rs * cargo run --quiet --profile=production --features=runtime-benchmarks -- benchmark --chain=kusama-dev --steps=50 --repeat=20 --pallet=runtime_parachains::paras --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/kusama/src/weights/runtime_parachains_paras.rs * cargo run --quiet --profile=production --features=runtime-benchmarks -- benchmark --chain=westend-dev --steps=50 --repeat=20 --pallet=runtime_parachains::paras --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/westend/src/weights/runtime_parachains_paras.rs * cargo run --quiet --profile=production --features runtime-benchmarks -- benchmark --chain=rococo-dev --steps=50 --repeat=20 --pallet=runtime_parachains::paras --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/rococo/src/weights/runtime_parachains_paras.rs * Fix import error Co-authored-by: Parity Bot <[email protected]> Co-authored-by: Robert Klotzner <[email protected]> Co-authored-by: Lldenaurois <[email protected]>
-
- Mar 23, 2022
-
-
Kian Paimani authored
* companion for validator self-vote in bags * fix * cargo update -p sp-io
-