- Sep 06, 2022
-
-
Davide Galassi authored
* Read babe config parameters from runtime * Trigger pipeline * Trigger pipeline (after PR title change) * update lockfile for {"substrate"} Co-authored-by: parity-processbot <>
-
- Sep 02, 2022
-
-
Keith Yeung authored
* Remove RefTimeWeight * Fixes * update lockfile for {"substrate"} Co-authored-by: parity-processbot <>
-
- Sep 01, 2022
-
-
Shawn Tabrizi authored
* updates * remove new * fix up some stuff * fix cargo files * fix * fix template * update lockfile for {"substrate"} * Update block_weights.rs * remove unused * remove unused Co-authored-by: parity-processbot <>
-
- Aug 31, 2022
-
-
Shawn Tabrizi authored
* fix to latest substrate pr * update weights * cargo build -p polkadot-runtime-parachains * fix xcm-builder * fix import * fix a bunch * fix a bunch of weight stuff * kusama compile * unused * builds * maybe fix * cargo test -p polkadot-runtime-parachains * xcm simulator example * fix tests * xcm sim fuzz * fix runtime tests * remove unused * fix integration tests * scalar div * update lockfile for {"substrate"} Co-authored-by: parity-processbot <>
-
- Aug 29, 2022
-
-
Mara Broda authored
* Bump crate versions * Bump spec_version to 9280 for kusama * Bump spec_version to 9280 for polkadot * Bump spec_version to 9280 for rococo * Bump spec_version to 9280 for westend * update Cargo.lock Co-authored-by: parity-processbot <>
-
- Aug 25, 2022
-
-
Mara Broda authored
* rococo: update weigths * polkadot: update weigths * kusama: update weigths * westend: update weights Co-authored-by: parity-processbot <>
-
- Aug 18, 2022
-
-
Bastian Köcher authored
* Switch to Substrate branch * Make everything compile * Revert "Switch to Substrate branch" This reverts commit cbbab7431a07cfd645428a9f4c130362a8e7588b. * Remove stuff * More fixes * Fix branch * Update Substrate * FMT
-
- Aug 15, 2022
-
-
Muharem Ismailov authored
-
- Aug 01, 2022
-
-
Mara Broda authored
* westend: update weights * kusama: update weights * polkadot: update weights * rococo: update weights * update BlockExecutionWeight * kusama: readd phragmen remove_member_wrong_refund weight * polkadot: readd phragmen remove_member_wrong_refund weight
-
- Jul 28, 2022
-
-
Mara Broda authored
* polkadot: update weights * kusama: update weights * westend: update weights * rococo: update weights * Reduce testing constants (#5787) Signed-off-by: Oliver Tale-Yazdi <[email protected]> Co-authored-by: Oliver Tale-Yazdi <[email protected]>
-
Chevdor authored
* bump transcation_version * revert back transaction version for kusama and plokadot as they were bumped in the previous release Co-authored-by: Egor_P <[email protected]>
-
- Jul 25, 2022
-
-
Alexander Theißen authored
* Bump substrate * Bump spec version
-
- Jul 19, 2022
-
-
Oliver Tale-Yazdi authored
* Expose 'benchmark extrinsic' command Signed-off-by: Oliver Tale-Yazdi <[email protected]> * Add test Signed-off-by: Oliver Tale-Yazdi <[email protected]> * Fix tests Signed-off-by: Oliver Tale-Yazdi <[email protected]> * Fix tests Signed-off-by: Oliver Tale-Yazdi <[email protected]> * Split benchmarking into own mod Signed-off-by: Oliver Tale-Yazdi <[email protected]> * Simplify code Signed-off-by: Oliver Tale-Yazdi <[email protected]> * Fixup Signed-off-by: Oliver Tale-Yazdi <[email protected]> * Cleanup Signed-off-by: Oliver Tale-Yazdi <[email protected]> * Spell Signed-off-by: Oliver Tale-Yazdi <[email protected]> * Revert Cargo.lock updates Signed-off-by: Oliver Tale-Yazdi <[email protected]> * update lockfile for {"substrate"} * Fix brittle test Signed-off-by: Oliver Tale-Yazdi <[email protected]> * Bump spec version to 9270 Signed-off-by: Oliver Tale-Yazdi <[email protected]> * Sleep in test to make it work in CI... Signed-off-by: Oliver Tale-Yazdi <[email protected]> * Disable failing test Signed-off-by: Oliver Tale-Yazdi <[email protected]> * Revert "Bump spec version to 9270" This reverts commit c1c385d7a4dc849e7f4d4723740aec66c2b7be09. * Delete brittle test, see #5788 Signed-off-by: Oliver Tale-Yazdi <[email protected]> * Disable failing test Signed-off-by: Oliver Tale-Yazdi <[email protected]> * Delete more failing tests... Signed-off-by: Oliver Tale-Yazdi <[email protected]> Co-authored-by: parity-processbot <>
-
- Jul 06, 2022
-
-
Chevdor authored
* Bump spec_version to 9260 * Version bump to v0.9.26
-
Svyatoslav Nikolsky authored
* remove bridges folder * remove BRIDGES.md * remove bridges mentions from top Cargo.toml * remove bridges from CODEOWNERS * remove bridges mentions from testing.md * remove bridge pallets from Rococo/Wococo runtime * also remove from node
-
- Jun 22, 2022
-
-
Adrian Catangiu authored
* Rococo: add new pallet-beefy-mmr API * rename BeefyMmr exposed api * update lockfile for {"substrate"} Co-authored-by: parity-processbot <>
-
- Jun 21, 2022
-
-
Mara Broda authored
* kusama: bump spec_version to 9250 * polkadot: bump spec_version to 9250 * rococo: bump spec_version to 9250 * westend: bump spec_version to 9250 * bump version to 0.9.25 * bump transaction version (polkadot & kusama) (#5690) * kusama: bump transaction_version to 12 * polkadot: bump transaction_version to 13
-
Mara Broda authored
* westend: update weights * kusama: update weights * polkadot: update weights * rococo: update weights
-
- Jun 16, 2022
-
-
ZhiYong authored
* Companion for substrate#11618 * Fix * update lockfile for {"substrate"} Co-authored-by: parity-processbot <>
-
- Jun 13, 2022
-
-
Keith Yeung authored
* Companion for paritytech/substrate#11584 * update lockfile for {"substrate"} Co-authored-by: parity-processbot <>
-
- 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 25, 2022
-
-
Nazar Mokrynskyi authored
* Companion for https://github.com/paritytech/substrate/pull/11415 * Rename `WeightToFee::calc()` to `WeightToFee::wight_to_fee()` * Fix typo * Fix compile errors * update lockfile for {"substrate"} Co-authored-by: parity-processbot <>
-
- 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 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 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 <>
-
- Apr 22, 2022
-
-
Mara Broda authored
* polkadot: update weights * kusama: update weights * rococo: update weights * westend: update weights
-
- 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
-
-
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 06, 2022
-
-
Mara Broda authored
-
- Apr 04, 2022
-
-
Qinxuan Chen authored
* Comanion for substrate#11136 Signed-off-by: koushiro <[email protected]> * revert changes in bridge Signed-off-by: koushiro <[email protected]>
-
- 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 <>
-
Web3 Smith authored
* update pallet-beefy-mmr implementation * minor fix * fix build * use H256 for rococo leaf extra * update lockfile for {"substrate"} * fix fmt Co-authored-by: acatangiu <[email protected]>
-
- 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]>
-