- Apr 03, 2022
-
-
dependabot[bot] authored
Bumps [kvdb-rocksdb](https://github.com/paritytech/parity-common) from 0.15.1 to 0.15.2. - [Release notes](https://github.com/paritytech/parity-common/releases) - [Commits](https://github.com/paritytech/parity-common/compare/kvdb-rocksdb-v0.15.1...kvdb-rocksdb-v0.15.2) --- updated-dependencies: - dependency-name: kvdb-rocksdb dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
-
dependabot[bot] authored
Bumps [indexmap](https://github.com/bluss/indexmap) from 1.8.0 to 1.8.1. - [Release notes](https://github.com/bluss/indexmap/releases) - [Changelog](https://github.com/bluss/indexmap/blob/master/RELEASES.md) - [Commits](https://github.com/bluss/indexmap/compare/1.8.0...1.8.1) --- updated-dependencies: - dependency-name: indexmap dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
-
dependabot[bot] authored
Bumps [paste](https://github.com/dtolnay/paste) from 1.0.6 to 1.0.7. - [Release notes](https://github.com/dtolnay/paste/releases) - [Commits](https://github.com/dtolnay/paste/compare/1.0.6...1.0.7) --- updated-dependencies: - dependency-name: paste dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
-
dependabot[bot] authored
Bumps [quote](https://github.com/dtolnay/quote) from 1.0.16 to 1.0.17. - [Release notes](https://github.com/dtolnay/quote/releases) - [Commits](https://github.com/dtolnay/quote/compare/1.0.16...1.0.17) --- updated-dependencies: - dependency-name: quote dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
-
- Apr 02, 2022
-
-
Mara Broda authored
-
dependabot[bot] authored
Bumps [tracing-subscriber](https://github.com/tokio-rs/tracing) from 0.3.9 to 0.3.10. - [Release notes](https://github.com/tokio-rs/tracing/releases) - [Commits](https://github.com/tokio-rs/tracing/compare/tracing-subscriber-0.3.9...tracing-subscriber-0.3.10) --- updated-dependencies: - dependency-name: tracing-subscriber dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
-
dependabot[bot] authored
Bumps [syn](https://github.com/dtolnay/syn) from 1.0.89 to 1.0.90. - [Release notes](https://github.com/dtolnay/syn/releases) - [Commits](https://github.com/dtolnay/syn/compare/1.0.89...1.0.90) --- updated-dependencies: - dependency-name: syn dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
-
Shawn Tabrizi authored
* use unchecked for backwards compat * update lockfile for {"substrate"} Co-authored-by: parity-processbot <>
-
Mara Broda authored
-
- Apr 01, 2022
-
-
Andrei Sandu authored
Signed-off-by: Andrei Sandu <[email protected]>
-
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]>
-
Oliver Tale-Yazdi authored
* Integrate benchmark-block Signed-off-by: Oliver Tale-Yazdi <[email protected]> * fmt Signed-off-by: Oliver Tale-Yazdi <[email protected]> * Add dep Signed-off-by: Oliver Tale-Yazdi <[email protected]> * Add test Signed-off-by: Oliver Tale-Yazdi <[email protected]> * fmt Signed-off-by: Oliver Tale-Yazdi <[email protected]> * Fix test Signed-off-by: Oliver Tale-Yazdi <[email protected]> * Review fixes Signed-off-by: Oliver Tale-Yazdi <[email protected]> Co-authored-by: parity-processbot <>
-
Oliver Tale-Yazdi authored
Signed-off-by: Oliver Tale-Yazdi <[email protected]>
-
- Mar 31, 2022
-
-
asynchronous rob authored
-
Kian Paimani authored
* companion for bags-list iter-from * remove unused * update lockfile for {"substrate"} * fix CI Signed-off-by: Oliver Tale-Yazdi <[email protected]> Co-authored-by: parity-processbot <> Co-authored-by: Oliver Tale-Yazdi <[email protected]>
-
Oliver Tale-Yazdi authored
* Update storage weights These weights were generated on a recent Polkadot chain snapshot at Block 9643856 from 2022-03-29 17:50:30 (+UTC) using RocksDB. Signed-off-by: Oliver Tale-Yazdi <[email protected]> * Update ParityDb weights Signed-off-by: Oliver Tale-Yazdi <[email protected]>
-
- Mar 30, 2022
-
-
Shawn Tabrizi authored
* Also migrate lease depositors * bump spec version * Update runtime/common/src/crowdloan/migration.rs Co-authored-by: Kian Paimani <[email protected]> Co-authored-by: Kian Paimani <[email protected]>
-
dependabot[bot] authored
Bumps [log](https://github.com/rust-lang/log) from 0.4.14 to 0.4.16. - [Release notes](https://github.com/rust-lang/log/releases) - [Changelog](https://github.com/rust-lang/log/blob/master/CHANGELOG.md) - [Commits](https://github.com/rust-lang/log/commits) --- updated-dependencies: - dependency-name: log dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
-
dependabot[bot] authored
Bumps [async-trait](https://github.com/dtolnay/async-trait) from 0.1.52 to 0.1.53. - [Release notes](https://github.com/dtolnay/async-trait/releases) - [Commits](https://github.com/dtolnay/async-trait/compare/0.1.52...0.1.53) --- updated-dependencies: - dependency-name: async-trait dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
-
- Mar 29, 2022
-
-
Koute authored
* Update `regex` to 1.5.5 * Update `libc` to 0.2.121 * Update `handlebars` to 4.2.2 * Update `lru` to 0.7.3 * Update `zeroize` to 1.5.4 and `zeroize_derive` to 1.3.2 * update lockfile for {"substrate"} Co-authored-by: parity-processbot <>
-
Oliver Tale-Yazdi authored
* Remove constants:: module Signed-off-by: Oliver Tale-Yazdi <[email protected]> * Update block+extrinsic weights Signed-off-by: Oliver Tale-Yazdi <[email protected]> * fmt Signed-off-by: Oliver Tale-Yazdi <[email protected]> * Sanity check full block price Signed-off-by: Oliver Tale-Yazdi <[email protected]> * Spellcheck on Signed-off-by: Oliver Tale-Yazdi <[email protected]> Co-authored-by: Shawn Tabrizi <[email protected]>
-
Keith Yeung authored
* Implement transfer_asset on CurrencyAdapter * Use Currency::transfer in transfer_asset * Add a test to assert that Currency::transfer was indeed used * Remove superfluous balance conversion to u128 * Rename transfer_asset and beam_asset Co-authored-by: Giles Cope <[email protected]>
-
Oliver Tale-Yazdi authored
* [ci] Require short-benches check to pass Signed-off-by: Oliver Tale-Yazdi <[email protected]> * Allow the kusama benchmarks to fail Signed-off-by: Oliver Tale-Yazdi <[email protected]>
-
- Mar 28, 2022
-
-
Chevdor authored
fix #4743
-
- 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 25, 2022
-
-
Shawn Tabrizi authored
* update bounty deposit config * fix * update lockfile for {"substrate"} Co-authored-by: parity-processbot <>
-
Bernhard Schuster authored
-
- Mar 24, 2022
-
-
Vsevolod Stakhov authored
This issue happens when some peer sends a good but already known Seconded statement and the statement-distribution code does not update the statements_received field in the peer_knowledge structure. Subsequently, a Valid statement causes out-of-view message that is incorrectly emitted and causes reputation lose. This PR also introduces a concept of passing the specific pseudo-random generator to subsystems to make it easier to write deterministic tests. This functionality is not really necessary for the specific issue and unit test but it can be useful for other tests and subsystems.
-
Koute authored
* Rename to BagError * Additional parameter for 'revert' command * Set aux revert param to None * Align to changes in how the WASM executor is configured in `substrate` * update lockfile for {"substrate"} * update lockfile for {"substrate"} * Update substrate * Update substrate Co-authored-by: Keith Yeung <[email protected]> Co-authored-by: Davide Galassi <[email protected]> Co-authored-by: Shawn Tabrizi <[email protected]> Co-authored-by: parity-processbot <>
-
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]>
-
Alexander Samusev authored
-
Keith Yeung authored
* Rename to BagError * update lockfile for {"substrate"} Co-authored-by: Shawn Tabrizi <[email protected]> Co-authored-by: parity-processbot <>
-
Alexander Samusev authored
* [ci] Add short benchmarks to the pipeline * fix bench * divide build and bench * debug * debug * remove build from bench script * run benches on ci runners * return full pipeline * fix pipeline * Update scripts/run_short_benches_for_runtime.sh Co-authored-by: Mara Robin B. <[email protected]> * change short benchmark script * allow short bench fail Co-authored-by: Mara Robin B. <[email protected]> Co-authored-by: parity-processbot <>
-
- Mar 23, 2022
-
-
Bernhard Schuster authored
* use coarsetime-saturated for the time being * Revert "use coarsetime-saturated for the time being" This reverts commit 114263f0e6a98fd94ac1b29aad2efb1c75ada6fc. * make coarsetime min 0.1.22
-
Gavin Wood authored
* Update docs and enable DOT-over-XCM * Formatting * Fixes * Fixes * Formatting * Spelling * add UmpSink config (#5032) * Update runtime/polkadot/src/xcm_config.rs Co-authored-by: joe petrowski <[email protected]> Co-authored-by: Robert Habermeier <[email protected]>
-
asynchronous rob authored
* enable disputes on all chains * fmt
-
Kian Paimani authored
* companion for validator self-vote in bags * fix * cargo update -p sp-io
-
Boluwatife Bakre authored
* Fix for Issue #4788 * Updated fix. Moved constant to node primitives * cargo fmt * Update node/primitives/src/lib.rs Co-authored-by: Andronik <[email protected]> * Update node/core/dispute-coordinator/src/real/initialized.rs Co-authored-by: Andronik <[email protected]>
-
Georges authored
* Fixing `generate_solution_type` This is needed after changes to substrate * `VoterSnapshotPerBlock` -> `MaxElectingVoters` * rename `SizeBound` to `MaxVoters` * cargo update -p sp-io * ignore failing test * spell-check * fix pub OffchainRepeat Co-authored-by: kianenigma <[email protected]> Co-authored-by: Kian Paimani <[email protected]>
-