This repository was archived by the owner on Nov 15, 2023. It is now read-only.
Weights for para inherent#4202
Closed
emostov wants to merge 137 commits intobernhard-inherent-filteringfrom
Closed
Weights for para inherent#4202emostov wants to merge 137 commits intobernhard-inherent-filteringfrom
emostov wants to merge 137 commits intobernhard-inherent-filteringfrom
Conversation
Bumps [trybuild](https://github.com/dtolnay/trybuild) from 1.0.45 to 1.0.48. - [Release notes](https://github.com/dtolnay/trybuild/releases) - [Commits](dtolnay/trybuild@1.0.45...1.0.48) --- updated-dependencies: - dependency-name: trybuild dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Update for warp sync * update Substrate Co-authored-by: parity-processbot <>
…geVersion (#4035) * wip * Remove unused members
* Remove bridges from check_line_width * Remove bridges from spellcheck
* Substrate companion for #9966 * Bump spec_versions * Update Substrate
…4036) * validator-discovery: remove from peer set before inserting * bump spec versions * rework into a companion * fmt * fix * fix * one more time * one more try * one more try * Revert "one more try" This reverts commit ab6568d. * one more try * one more try * Revert "one more try" This reverts commit 8d7369f. * fix a warning * fix another warn * correct log * fix compilation * ffs * less cloning * Apply suggestions from code review Co-authored-by: Pierre Krieger <pierre.krieger1708@gmail.com> * add comments and a small refactoring * use set_reserved_peers * cargo update -p sp-io * rename added to num_peers * update Substrate Co-authored-by: Pierre Krieger <pierre.krieger1708@gmail.com> Co-authored-by: parity-processbot <>
Bumps [trybuild](https://github.com/dtolnay/trybuild) from 1.0.48 to 1.0.49. - [Release notes](https://github.com/dtolnay/trybuild/releases) - [Commits](dtolnay/trybuild@1.0.48...1.0.49) --- updated-dependencies: - dependency-name: trybuild dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Add para pallets to polkadot benchmarks * cargo run --quiet --release --features=runtime-benchmarks -- benchmark --chain=polkadot-dev --steps=50 --repeat=20 --pallet=runtime_parachains::configuration --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/polkadot/src/weights/runtime_parachains_configuration.rs * cargo run --quiet --release --features=runtime-benchmarks -- benchmark --chain=polkadot-dev --steps=50 --repeat=20 --pallet=runtime_parachains::initializer --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/polkadot/src/weights/runtime_parachains_initializer.rs * cargo run --quiet --release --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 Co-authored-by: Parity Bot <admin@parity.io>
Bumps [strum](https://github.com/Peternator7/strum) from 0.21.0 to 0.22.0. - [Release notes](https://github.com/Peternator7/strum/releases) - [Changelog](https://github.com/Peternator7/strum/blob/master/CHANGELOG.md) - [Commits](https://github.com/Peternator7/strum/commits) --- updated-dependencies: - dependency-name: strum dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [thiserror](https://github.com/dtolnay/thiserror) from 1.0.29 to 1.0.30. - [Release notes](https://github.com/dtolnay/thiserror/releases) - [Commits](dtolnay/thiserror@1.0.29...1.0.30) --- updated-dependencies: - dependency-name: thiserror dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* overseer: simplify debugging some more * chore: undo gitignore change
* Companion PR for ss58 crate * cargo fmt * Rename * into() * into() * updating substrate (ideally use bot merge)
Bumps [trybuild](https://github.com/dtolnay/trybuild) from 1.0.49 to 1.0.50. - [Release notes](https://github.com/dtolnay/trybuild/releases) - [Commits](dtolnay/trybuild@1.0.49...1.0.50) --- updated-dependencies: - dependency-name: trybuild dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Extend xcm-simulator with a fuzzer for xcm exec This commit adds a very basic fuzzer that fuzzes the xcm exectution, in particular the process_instruction function. * Update cargo.toml in xcm-simulator-fuzzer * Add xcm-fuzzer to honggfuzz workflow * Update Cargo.lock * Update xcm/xcm-simulator/fuzzer/Cargo.toml so honggfuzz shows up on top Co-authored-by: Keith Yeung <kungfukeith11@gmail.com> * Update relay_chain.rs in xcm-fuzzer * Use MAX_XCM_DECODE_DEPTH instead of hardcoded decode limit in xcm-fuzzer * Add comment on how to generate coverage report in xcm-fuzzer * fix warnings, fmt, and unused result * fix compiler Co-authored-by: Vincent Ulitzsch <vincent.ulitzsch@srlabs.de> Co-authored-by: Vincent Ulitzsch <vincent@srlabs.de> Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com> Co-authored-by: Keith Yeung <kungfukeith11@gmail.com>
* Dispatchable XCMs should translate to v0 * Formatting * Update Westend's XCM WrapVersion
* found issue * fix up * remove printlns
* Update wasmtime config to match new version * update Substrate Co-authored-by: parity-processbot <>
…4067) * Move runtime to with_transaction in order to Rollback state changes * add assert_storage_noop to tests
Bumps [proc-macro2](https://github.com/alexcrichton/proc-macro2) from 1.0.29 to 1.0.30. - [Release notes](https://github.com/alexcrichton/proc-macro2/releases) - [Commits](dtolnay/proc-macro2@1.0.29...1.0.30) --- updated-dependencies: - dependency-name: proc-macro2 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Create a README for XCMv1 detailing notable changes * Update xcm/src/v1/README.md Co-authored-by: Gavin Wood <gavin@parity.io> * Update xcm/src/v1/README.md Co-authored-by: David <dvdplm@gmail.com> * Update xcm/src/v1/README.md Co-authored-by: David <dvdplm@gmail.com> * Update xcm/src/v1/README.md Co-authored-by: David <dvdplm@gmail.com> * Update xcm/src/v1/README.md Co-authored-by: David <dvdplm@gmail.com> * Link to relevant PR for a full list of changes * Typo * Add notable changes to top-level XCM rustdoc * Appease spellchecker Co-authored-by: Gavin Wood <gavin@parity.io> Co-authored-by: David <dvdplm@gmail.com>
* Remove the upload of the non compressed runtimes * Fix template * Add loggin for local testing * Keep simple logger but remove the need for another dependency
Co-authored-by: Niklas Adolfsson <niklasadolfsson1@gmail.com>
* companion for substrate/10013 * remove in buffer * update Substrate Co-authored-by: parity-processbot <>
emostov
commented
Nov 5, 2021
emostov
commented
Nov 5, 2021
emostov
commented
Nov 5, 2021
emostov
commented
Nov 5, 2021
drahnr
reviewed
Nov 5, 2021
runtime/parachains/src/builder.rs
Outdated
| DisputeStatementSet { | ||
| candidate_hash: candidate_hash.clone(), | ||
| session: self.target_session, | ||
| session: session, |
Contributor
There was a problem hiding this comment.
Should be just session, right?
emostov
commented
Nov 5, 2021
emostov
commented
Nov 5, 2021
drahnr
reviewed
Nov 5, 2021
emostov
commented
Nov 5, 2021
emostov
commented
Nov 5, 2021
emostov
commented
Nov 5, 2021
emostov
commented
Nov 5, 2021
…aritytech/polkadot into zeke-create-enter-benchmarks-5
emostov
commented
Nov 5, 2021
|
|
||
| #[test] | ||
| // Ensure that when a block is overlength due to disputes and bitfields, we abort | ||
| fn limit_candidates_overlength_failure() { |
Contributor
Author
There was a problem hiding this comment.
This test is really similiar to limit_dispute_data_ignore_backed_candidates_failure - Is there a way to show that the reason it failed is different?
emostov
commented
Nov 5, 2021
| frame_system::RawOrigin::None.into(), | ||
| expected_para_inherent_data, | ||
| ), | ||
| DispatchError::from(Error::<Test>::InherentOverweight), |
Contributor
Author
There was a problem hiding this comment.
Is there a way we can show this is overweight due to quantity of bitfields and not just because of the added disputes?
Contributor
Author
There was a problem hiding this comment.
It would be good to show how this is different than limit_dispute_data_ignore_backed_candidates_failure
Use `StorageKey` in the rpc call `getStorage` instead of `[u8;32]`
Use `StorageKey` in the rpc call `getStorage` instead of `[u8;32]`
Contributor
Author
|
relevant changes have been brought into #4028 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
target branch: bernhard-inherent-filtering
target pr: #4028