- Aug 04, 2023
-
-
Lulu authored
* Add license to crates This is required to publish to crates.io * Add more licenses
-
- Aug 01, 2023
-
-
eskimor authored
* Take into account size as well in weight limiting. * Fix logging. * More logs. * Remove randomized selection in provisioner No longer supported by runtime. * Fix and simplify weight calculation. Random filtering of remote disputes got dropped. * Make existing tests pass. * Tests for size limiting. * Fix provisioner. * Remove rand dependency. * Better default block length for tests. * ".git/.scripts/commands/bench/bench.sh" runtime kusama runtime_parachains::paras_inherent * ".git/.scripts/commands/bench/bench.sh" runtime polkadot runtime_parachains::paras_inherent * ".git/.scripts/commands/bench/bench.sh" runtime westend runtime_parachains::paras_inherent * Update runtime/parachains/src/paras_inherent/mod.rs Co-authored-by:
Tsvetomir Dimitrov <[email protected]> * Update runtime/parachains/src/paras_inherent/mod.rs Co-authored-by:
Chris Sosnin <[email protected]> * Add back missing line. * Fix test. * fmt fix. * Add missing test annotation --------- Co-authored-by:
eskimor <[email protected]> Co-authored-by: command-bot <> Co-authored-by:
Tsvetomir Dimitrov <[email protected]> Co-authored-by:
Chris Sosnin <[email protected]>
-
- Jun 27, 2023
-
-
Sebastian Kunert authored
* Remove unneeded feature flag * More serde flags * update lockfile for {"substrate"} --------- Co-authored-by: parity-processbot <>
-
- Jun 21, 2023
-
-
Koute authored
-
eskimor authored
* Clarifications on vstaging. * Typos. --------- Co-authored-by:
eskimor <[email protected]>
-
- Jun 14, 2023
-
-
eskimor authored
* Remove redundant enter call. * Remove optionality in dispute signature checking * Make enter_inner and create_inherent the same. * Remove redundant metric. * Unification: enter and create_inherent. * Remove `enter_inner` function. * Remove dead code. * Remove redundant import. * Remove dead code in disputes. * ".git/.scripts/commands/bench/bench.sh" runtime polkadot runtime_parachains::paras_inherent * ".git/.scripts/commands/bench/bench.sh" runtime kusama runtime_parachains::paras_inherent * ".git/.scripts/commands/bench/bench.sh" runtime westend runtime_parachains::paras_inherent * Merge fix. * Fix tests. * Remove obsolete comment. * ".git/.scripts/commands/bench/bench.sh" runtime polkadot runtime_parachains::paras_inherent * ".git/.scripts/commands/bench/bench.sh" runtime westend runtime_parachains::paras_inherent * ".git/.scripts/commands/bench/bench.sh" runtime kusama runtime_parachains::paras_inherent * Review remarks, fixes. * Guide updates. * Fmt. * ".git/.scripts/commands/bench/bench.sh" runtime polkadot runtime_parachains::paras_inherent --------- Co-authored-by:
eskimor <[email protected]> Co-authored-by: command-bot <>
-
- Jun 12, 2023
-
-
eskimor authored
* Move vstaging to production (and thus past session slashing). WIP: test-runtime still needs to be fixed. * Fix test-runtime. --------- Co-authored-by:
eskimor <[email protected]>
-
- Jun 05, 2023
-
-
ordian authored
* runtime/vstaging: unapplied_slashes runtime API * runtime/vstaging: key_ownership_proof runtime API * runtime/ParachainHost: submit_report_dispute_lost * fix key_ownership_proof API * runtime: submit_report_dispute_lost runtime API * nits * Update node/subsystem-types/src/messages.rs Co-authored-by:
Marcin S. <[email protected]> * revert unrelated fmt changes * dispute-coordinator: past session dispute slashing * encapsule runtime api call for submitting report * prettify: extract into a function * do not exit on runtime api error * fix tests * try initial zombienet test * try something * fix a typo * try cumulus-based collator * fix clippy * build polkadot-debug images with fast-runtime enabled * wip * runtime/inclusion: fix availability_threshold * fix wip * fix wip II * revert native provider * propagate tx submission error * DEBUG: sync=trace * print key ownership proof len * panic repro * log validator index in panic message * post merge fixes * replace debug assertion with a log * fix compilation * Let's log the dispatch info in validate block. * fix double encoding * Revert "Let's log the dispatch info in validate block." This reverts commit a70fbc51b464d7f4355dbada5e16cd83cf71eab4. * Revert "Let's log the dispatch info in validate block." This reverts commit a70fbc51b464d7f4355dbada5e16cd83cf71eab4. * fix compilation * update to latest zombienet and fix test * lower finality lag to 11 * bump zombienet again * add a workaround, but still does not work * Update .gitlab-ci.yml bump zombienet. * add a comment and search logs on all nodes --------- Co-authored-by:
Marcin S. <[email protected]> Co-authored-by:
Bastian Köcher <[email protected]> Co-authored-by:
Javier Viola <[email protected]>
-
- Jun 01, 2023
-
-
Michal Kucharczyk authored
* ParaId: Serialize/Deserialize trait implemented in no-std * Serialize/Deserialize trait implemented in no-std for more types * serde in deps enabled * fix * missing types added * update lockfile for {"substrate"} * ".git/.scripts/commands/fmt/fmt.sh" --------- Co-authored-by: parity-processbot <>
-
- May 31, 2023
-
-
Sam Johnson authored
* bump serde to 1.0.163 * bump ci * update lockfile for {"substrate"} --------- Co-authored-by: parity-processbot <>
-
- May 26, 2023
-
-
ordian authored
* runtime/vstaging: unapplied_slashes runtime API * runtime/vstaging: key_ownership_proof runtime API * runtime/ParachainHost: submit_report_dispute_lost * fix key_ownership_proof API * runtime: submit_report_dispute_lost runtime API * nits * Update node/subsystem-types/src/messages.rs Co-authored-by:
Marcin S. <[email protected]> * revert unrelated fmt changes * post merge fixes * fix compilation --------- Co-authored-by:
Marcin S. <[email protected]>
-
- May 19, 2023
-
-
Gavin Wood authored
* Add ProcessXcmMessage struct * Migrate away from weights in host config * New well-known key to report UMPQ capacity * Add missing file * Fixes * Remove original UMP files * Docs * Update runtime/parachains/src/inclusion/mod.rs Co-authored-by:
asynchronous rob <[email protected]> * Add benchmarking * Benchmarks * Mock example of using the QueueChangeHandler to update the WKK * Use master Cargo.lock Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Merge remote-tracking branch 'origin/master' into gav-message-queue * Update Cargo.lock Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Update remove-weight migration The migration got touched on master; just resolving conflicts here. Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Add message- to dispatch-origin conversion for XCM processing Just using the `impl Into<MultiLocation>` was a bit inflexible. Like this, the Relaychain can convert `UMP(para)` to a MultiLocation `para`. Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * DNM: Temporarily comment code since XCMv3 is not merged yet Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Use u64 for queue-wide limits on UmpAcceptanceCheckErr Using u32 here was one audit finding for the queue pallet. Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Define one sub-queue per *MP queue Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Harden check_upward_messages Using safe math and casts. Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Add type-safe well_known_keys Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Add message-queue weights Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Deploy MessageQueue to Polkadot Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Update Cargo.toml Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Migrate to parachain config V5 Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Update UMP tests Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Cleanup Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * fmt Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Revert messed up merge
🤦 Signed-off-by:Oliver Tale-Yazdi <[email protected]> * Update remove-weight migration The migration got touched on master; just resolving conflicts here. Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Add message- to dispatch-origin conversion for XCM processing Just using the `impl Into<MultiLocation>` was a bit inflexible. Like this, the Relaychain can convert `UMP(para)` to a MultiLocation `para`. Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * DNM: Temporarily comment code since XCMv3 is not merged yet Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Use u64 for queue-wide limits on UmpAcceptanceCheckErr Using u32 here was one audit finding for the queue pallet. Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Define one sub-queue per *MP queue Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Harden check_upward_messages Using safe math and casts. Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Add type-safe well_known_keys Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Add message-queue weights Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Deploy MessageQueue to Polkadot Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Update Cargo.toml Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Migrate to parachain config V5 Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Update UMP tests Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Cleanup Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * fmt Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Make stuff compile Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Move DMP and HRMP messages to the MessageQueue It currently does not compile in the CIbecause of some local tweaks to Substrate. Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Diener for CI Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * diener update cargo.lock Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Cleanup Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Revert wrong changes Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Revert "DNM: Temporarily comment code since XCMv3 is not merged yet" This reverts commit 820aa235cb21dd1d2621843607f7682bf035434e. * Make compile Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Fixup runtimes Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * fmt Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Define benchmarks Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Cleanup Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Fix migration Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Use master Cargo.lock Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Lockfile Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Fix test Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Add AggregateMessageOrigin This enum currently only holds one value, but having it will make it easier in the future to extend. Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Forbid UMP for off-boarding paras - Reject candidates with UMP messages for off-boarding paras - Forbid scheduling off-boarding when a para has unprocess UMPs Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Delete stupid test Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Use BoundedVec for upward messages Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Add weights and fix MessageProcessor Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Bound receive_upward_messages and check bound in configuration pallet Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Bound Debug impl Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * fmt Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * clippy Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Fix test runtime Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Fix xcm-simulator Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Properly fix xcm-simulator and fuzzer Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Fix tests Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * fmt Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * cargo update -p sp-io Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Adapt to upstream Substrate changes Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Fix ProcesseMessage impls Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Some tests Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Use master Cargo.lock Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * cargo update -p sp-io Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Use new MQ API Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Fix test Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Fix migration Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Update Cargo.lock Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Add UMP while Para offboarding tests Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * fmt Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Use Mocked message processor for benchmarking Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Use variables for constants Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Add MQ pallet weights Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Use MQ pallet weights Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Configure QueueChangeHandler Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * fmt Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Add config test Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Fix MQ serive weight Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Cleanup Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Cleanup outgoing UMP dispatch queues Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Use Master Cargo.lock Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Update Cargo.lock Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Weight mul is not const Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Clippy Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Remove merge marker Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Update runtime/parachains/src/inclusion/mod.rs Co-authored-by:
Gavin Wood <[email protected]> * Update runtime/kusama/src/lib.rs Co-authored-by:
Gavin Wood <[email protected]> * Use lowercase UMP Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Clarify comment Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Use Weight::from_parts Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Fix test Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Fix doc Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Emit event after the fact Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Add defensive_proof to receive_upward_messages Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Reapply "Remove original UMP files" Looks like they came back from the dead. Re-apply commit cf6d316f0 Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Remove old files Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Rename MaxUmpMessageLen -> MaxUmpMessageLenOf Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Test defensive message dropping of receive_upward_messages Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Fixup imports Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Update implementors guide Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Fix tests Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Remove FAIL-CI mark Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Delete unused code Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Add another test for MQ change hook Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Imports Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Keep Kusama runtime formatting Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Revert "Delete unused code" This reverts commit dd76bca5025b7e1ef846a9539c3607eed185f16a. * Feature gate mock functions Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Review: Use saturating_add Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Test RelayDispatchQueueSize storage key Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Move migration to own file to avoid merge conflicts Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Migration in own file Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Fixup migration Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Rococo: configure MQ pallet Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Fixup tests Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Revert "Rococo: configure MQ pallet" Going to do this as follow up, since it needs Substrate changes and i dont want to stall this MR any longer. This reverts commit b9c15e8a8339c4e877d654ee3f09903af4210736. Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Revert "Fixup tests" This reverts commit 88f1cbe20774d20e5e1e554e798960ae39437af1. * Fixup migration Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Fix migration Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * fmt Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Fix CI Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Fix migration Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Fix other migration Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Bump MAX_CODE_SIZE to 10MiB Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Add ForceUpdateUmpLimits migration Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * fmt Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * clippy Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * clippy Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * imports Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Use defensive instead of defensive_proof 'defensive_proof' also prints the 'self', which spams the console too much when running the tests. Just the length is enough. Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Rename to ScheduleConfigUpdate Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Fixup migration checks Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Add MAX_CODE_SIZE to ScheduleConfigUpdate Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Set MAX_CODE_SIZE to 4MiB Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Fix benchmark Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Fix formatting Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Revert "Add MAX_CODE_SIZE to ScheduleConfigUpdate" This reverts commit 7caffb09e83083b57affd548215e45b25c3d64dc. * Revert "Set MAX_CODE_SIZE to 4MiB" This reverts commit 103ffbaf686487d2fbe0082a16826af17cacc1a1. * Revert "Bump MAX_CODE_SIZE to 10MiB" This reverts commit 530734b7b0da5b7680054e0242348fcc79a666fe. Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Remove consistency check from migration Re-addig these checks is blocked on https://github.com/paritytech/polkadot/issues/7108 Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Fix constants Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Bump MAX_UPWARD_MESSAGE_SIZE_BOUND for Westend Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Fix migrations Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Use old nightly for fmt Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Fixes * cargo fmt * Fix tests Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Fix tests Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Fixes * Add MQ pallet to fuzzer Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Fmt Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Fix XMC simulator example Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Remove runtime-benchmarks from fuzzers Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Revert "Remove runtime-benchmarks from fuzzers" This reverts commit e1f2bb01b6dea2dd465539d3658719895b58b557. * Fix example simulator Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Add V6 migration and remove old ones Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Actually make old migrations reusable Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Dont delete old migrations Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Future proof AggregateMessageOrigin and review fixes There are indications that Loopback and Bridged will be needed soon. Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * More cleanup Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * fmt Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * fix benchmarks Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Fix fuzzer build Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Review Co-authored-by:
muharem <[email protected]> Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Remove old migration Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Set MQ service weight to 20% Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Fix tabs in Markdown Signed-off-by:
Oliver Tale-Yazdi <[email protected]> --------- Signed-off-by:
Oliver Tale-Yazdi <[email protected]> Co-authored-by:
asynchronous rob <[email protected]> Co-authored-by:
Oliver Tale-Yazdi <[email protected]> Co-authored-by:
Keith Yeung <[email protected]>
-
- Apr 17, 2023
-
-
dependabot[bot] authored
Bumps [hex-literal](https://github.com/RustCrypto/utils) from 0.3.4 to 0.4.1. - [Release notes](https://github.com/RustCrypto/utils/releases) - [Commits](https://github.com/RustCrypto/utils/compare/hex-literal-v0.3.4...hex-literal-v0.4.1 ) --- updated-dependencies: - dependency-name: hex-literal dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by:
dependabot[bot] <[email protected]> Co-authored-by:
dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
-
- Apr 14, 2023
-
-
s0me0ne-unkn0wn authored
* Add a pallet call to change executor params * Use `OptionQuery`; Avoid runtime panic * Move pending executor params to `configuration` * Move `ExecutorParams` to `HostConfiguration` structure * Add executor params to the v5 migration * Add an `ExecutorParams` benchmark * ".git/.scripts/commands/bench/bench.sh" runtime polkadot runtime_parachains::configuration * Add to `WeightInfo` * Add dummy weights to other networks * ".git/.scripts/commands/bench/bench.sh" runtime kusama runtime_parachains::configuration * ".git/.scripts/commands/bench/bench.sh" runtime rococo runtime_parachains::configuration * ".git/.scripts/commands/bench/bench.sh" runtime westend runtime_parachains::configuration * Use real weight * Fix comment --------- Co-authored-by: command-bot <>
-
- Apr 12, 2023
-
-
Roman Useinov authored
* bump scale-info to be in line with cumulus * remove irrelevant lines * fix Cargo.lock
-
- Apr 08, 2023
-
-
s0me0ne-unkn0wn authored
* Happy New Year! * Remove year entierly Co-authored-by:
Oliver Tale-Yazdi <[email protected]> * Remove years from copyright notice in the entire repo --------- Co-authored-by:
Oliver Tale-Yazdi <[email protected]>
-
- Apr 05, 2023
-
-
s0me0ne-unkn0wn authored
-
- Mar 28, 2023
-
-
Chris Sosnin authored
* Backport async backing params primitive * migration follow-up * link pr * parameters -> params * rustfmt::skip block ident
-
Tsvetomir Dimitrov authored
* Histogram support in runtime metrics Add support for histograms to the runtime metrics. Additionally add `polkadot_parachain_verify_dispute_signature` histogram which tracks the time needed from the runtime to verify a single validator signature of a dispute statement. * Add noops * u64 instead of f64 * Update buckets * Wrap `get_current_time()` in runtime metrics * Change the dimension of the Histogram from usec to sec * Fix a compilation error * Update buckets * Fix `on_signature_check_complete` calculation * Update buckets * Update buckets * formatting * Another weights update * Adjust buckets again * Final buckets adjustment * Revert "Fix a compilation error" This reverts commit 06290b40a39eeb78de2602d8916a39edf7a8b714. * Update primitives/src/v4/metrics.rs Co-authored-by:
Andrei Sandu <[email protected]> * Use `saturating_sub` for time difference calculation * Pass nanoseconds to client instead of seconds (using f64 in runtime is dangerous) --------- Co-authored-by:
Andrei Sandu <[email protected]>
-
- Mar 24, 2023
-
-
Davide Galassi authored
* Companion for #13683 * Wraps trait is not required * update lockfile for {"substrate"} --------- Co-authored-by: parity-processbot <>
-
- Mar 23, 2023
-
-
Tsvetomir Dimitrov authored
-
- Mar 21, 2023
-
-
ordian authored
-
Chris Sosnin authored
-
- Mar 17, 2023
-
-
Davide Galassi authored
* Remove not required async calls * Fixed missing renaming * make_keystore can be sync * More fixes * Trivial nitpicks * Cherry pick test fix from master * Fixes after master merge * update lockfile for {"substrate"} --------- Co-authored-by: parity-processbot <>
-
- Mar 15, 2023
-
-
s0me0ne-unkn0wn authored
-
- Mar 13, 2023
-
-
Vivek Pandya authored
* Remove use of Store trait from runtime directory * Remove Store trait usage from xcm directory * Run cargo fmt * update lockfile for {"substrate"} --------- Co-authored-by: parity-processbot <>
-
- Mar 08, 2023
-
-
s0me0ne-unkn0wn authored
* Move PVF timeouts to executor environment parameters * Typo Co-authored-by:
Marcin S. <[email protected]> * Fix comments * Change handle_import_statements to FatalResult (#6820) * Changing dispute db errors to fatal * fmt * Change node-key for bootnodes (#6772) * Additional tracing in `provisioner`, `vote_selection` and `dispute-coordinator` (#6775) * Additional tracing in `provisioner`, `vote_selection` * Add `fetched_onchain_disputes` metric to provisioner * Some tracelines in dispute-coordinator TODO: cherry pick this in the initial branch!!! * Remove spammy logs * Remove some trace lines * Rename and fix things * Fix comments * Typo * Minor fixes * Add codec indexes; Remove macro --------- Co-authored-by:
Marcin S. <[email protected]> Co-authored-by:
Bradley Olson <[email protected]> Co-authored-by:
Petr Mensik <[email protected]> Co-authored-by:
Tsvetomir Dimitrov <[email protected]>
-
- Mar 03, 2023
-
-
eskimor authored
* Add note about frozen `SessionInfo`. * Better comment. --------- Co-authored-by:
eskimor <[email protected]>
-
- Feb 20, 2023
-
-
s0me0ne-unkn0wn authored
-
- Feb 16, 2023
-
-
Bastian Köcher authored
* Change `MaxMemorySize` to `MaxMemoryPages` We should set the max memory for the executor in pages (64KiB) and not in bytes. The wasm memory is always a multiple of a page and we should use the same terminology. * FMT * Fix warning
-
Marcin S. authored
* Use a `BoundedVec` in `ValidationResult` > Use a `BoundedVec` for `upward_messages` and `horizontal_messages` in order to > limit the number of individual messages/memory allocations right at decoding > time. The reason for this is that the `ValidationResult` may contain a code > upgrade (including a full PVF binary), so the total size limit can't be set > too low and this limit will still allow several millions of upward messages, > which will (due to the memory allocator overhead) already have a > non-negligible memory footprint in decoded form. * List all fields when hashing so we don't miss one * Define types for `BoundedVec`s of messages * Fix test compile errors * Depend on `bounded-collections` 0.1.4 (fixes allocation issue) * Fix compilation issue * Derive `Hash` instead of manual `impl` * Avoid use of unwrap
-
- Feb 15, 2023
-
-
s0me0ne-unkn0wn authored
* Re-apply changes without Diener, rebase to the lastest master * Cache pruning * Bit-pack InstantiationStrategy * Move ExecutorParams version inside the structure itself * Rework runtime API and executor parameters storage * Pass executor parameters through backing subsystem * Update Cargo.lock * Introduce `ExecutorParams` to approval voting subsys * Introduce `ExecutorParams` to dispute coordinator * `cargo fmt` * Simplify requests from backing subsys * Fix tests * Replace manual config cloning with `.clone()` * Move constants to module * Parametrize executor performing PVF pre-check * Fix Malus * Fix test runtime * Introduce session executor params as a constant defined by session info pallet * Use Parity SCALE codec instead of hand-crafted binary encoding * Get rid of constants; Add docs * Get rid of constants * Minor typo * Fix Malus after rebase * `cargo fmt` * Use transparent SCALE encoding instead of explicit * Clean up * Get rid of relay parent to session index mapping * Join environment type and version in a single enum element * Use default execution parameters if running an old runtime * `unwrap()` -> `expect()` * Correct API version * Constants are back in town * Use constants for execution environment types * Artifact separation, first try * Get rid of explicit version * PVF execution queue worker separation * Worker handshake * Global renaming * Minor fixes resolving discussions * Two-stage requesting of executor params to make use of runtime API cache * Proper error handling in pvf-checker * Executor params storage bootstrapping * Propagate migration to v3 network runtimes * Fix storage versioning * Ensure `ExecutorParams` serialization determinism; Add comments * Rename constants to make things a bit more deterministic Get rid of stale code * Tidy up a structure of active PVFs * Minor formatting * Fix comment * Add try-runtime hooks * Add storage version write on upgrade Co-authored-by:
Andronik <[email protected]> * Add pre- and post-upgrade assertions * Require to specify environment type; Remove redundant `impl`s * Add `ExecutorParamHash` creation from `H256` * Fix candidate validation subsys tests * Return splittable error from executor params request fn * Revert "Return splittable error from executor params request fn" This reverts commit a0b274177d8bb2f6e13c066741892ecd2e72a456. * Decompose approval voting metrics * Use more relevant errors * Minor formatting fix * Assert a valid environment type instead of checking * Fix `try-runtime` hooks * After-merge fixes * Add migration logs * Remove dead code * Fix tests * Fix tests * Back to the strongly typed implementation * Promote strong types to executor interface * Remove stale comment * Move executor params to `SessionInfo`: primitives and runtime * Move executor params to `SessionInfo`: node * Try to bump primitives and API version * Get rid of `MallocSizeOf` * Bump target API version to v4 * Make use of session index already in place * Back to v3 * Fix all the tests * Add migrations to all the runtimes * Make use of existing `SessionInfo` in approval voting subsys * Rename `TARGET` -> `LOG_TARGET` * Bump all the primitives to v3 * Fix Rococo ParachainHost API version * Use `RollingSessionWindow` to acquire `ExecutorParams` in disputes * Fix nits from discussions; add comments * Re-evaluate queue logic * Rework job assignment in execution queue * Add documentation * Use `RuntimeInfo` to obtain `SessionInfo` (with blackjack and caching) * Couple `Pvf` with `ExecutorParams` wherever possible * Put members of `PvfWithExecutorParams` under `Arc` for cheap cloning * Fix comment * Fix CI tests * Fix clippy warnings * Address nits from discussions * Add a placeholder for raw data * Fix non exhaustive match * Remove redundant reexports and fix imports * Keep only necessary semantic features, as discussed * Rework `RuntimeInfo` to support mock implementation for tests * Remove unneeded bound * `cargo fmt` * Revert "Remove unneeded bound" This reverts commit 932463f26b00ce290e1e61848eb9328632ef8a61. * Fix PVF host tests * Fix PVF checker tests * Fix overseer declarations * Simplify tests * `MAX_KEEP_WAITING` timeout based on `BACKGING_EXECUTION_TIMEOUT` * Add a unit test for varying executor parameters * Minor fixes from discussions * Add prechecking max. memory parameter (see paritytech/srlabs_findings#110) * Fix and improve a test * Remove `ExecutionEnvironment` and `RawData` * New primitives versioning in parachain host API * `disputes()` implementation for Kusama and Polkadot * Move `ExecutorParams` from `vstaging` to stable primitives * Move disputes from `vstaging` to stable implementation * Fix `try-runtime` * Fixes after merge * Move `ExecutorParams` to the bottom of `SessionInfo` * Revert "Move executor params to `SessionInfo`: primitives and runtime" This reverts commit dfcfb85fefd1c5be6c8a8f72dc09fd1809cfa9ce. * Always use fresh activated live hash in pvf precheck (re-apply 34b09a4c20de17e7926ed942cd0d657d18f743fa) * Fixing tests (broken commit) * Fix candidate validation tests * Fix PVF host test * Minor fixes * Address discussions * Restore migration * Fix `use` to only include what is needed instead of `*` * Add comment to never touch `DEFAULT_CONFIG` * Update migration to set default `ExecutorParams` for `dispute_period` sessions back * Use `earliest_stored_session` instead of calculations * Nit * Add logs * Treat any runtime error as `NotSupported` again * Always return default executor params if not available * Revert "Always return default executor params if not available" This reverts commit b58ac4482ef444c67a9852d5776550d08e312f30. * Add paritytech/substrate#9997 workaround * `cargo fmt` * Remove migration (again!) * Bump executor params to API v4 (backport from #6698) --------- Co-authored-by:
Andronik <[email protected]>
-
- Feb 03, 2023
-
-
Keith Yeung authored
-
- Jan 11, 2023
-
-
s0me0ne-unkn0wn authored
* Re-export current primitives in crate root * Add missing exports * restart CI
-
- Dec 06, 2022
-
-
Marcin S. authored
* Begin removing `parity-util-mem`; remove `collect_memory_stats` * Update some dependencies that were using `parity-util-mem` * Remove `trie-memory-tracker` feature * Update Cargo.lock * Update `kvdb-shared-tests` * Add back jemalloc * Add missing license header * update lockfile for {"substrate"} Co-authored-by: parity-processbot <> Co-authored-by:
Andronik <[email protected]>
-
- Dec 05, 2022
-
-
Squirrel authored
* rust 1.64 enables workspace properties * add edition, repository and authors. * of course, update the version in one place. Co-authored-by:
Andronik <[email protected]>
-
- Nov 30, 2022
-
-
alexgparity authored
* Add clippy config and remove .cargo from gitignore * first fixes * Clippyfied * Add clippy CI job * comment out rusty-cachier * minor * fix ci * remove DAG from check-dependent-project * add DAG to clippy Co-authored-by:
alvicsam <[email protected]>
-
Mara Broda authored
* westend: update transaction version * polkadot: update transaction version * kusama: update transaction version * Bump spec_version to 9330 * bump versions to 0.9.33
-
- Nov 07, 2022
-
-
Xiliang Chen authored
-
- Oct 22, 2022
-
-
Boluwatife Bakre authored
* Fix for issue #2403 * Nightly fmt * Quick documentation fixes * Default Implementation * iter() function integrated * Implemented iter functionalities * Fmt * small change * updates node-network * updates in dispute-coordinator * Updates * benchmarking fix * minor fix * test fixes in runtime api * Update primitives/src/v2/mod.rs Co-authored-by:
Andronik <[email protected]> * Update primitives/src/v2/mod.rs Co-authored-by:
Andronik <[email protected]> * Update primitives/src/v2/mod.rs Co-authored-by:
Andronik <[email protected]> * Update primitives/src/v2/mod.rs Co-authored-by:
Andronik <[email protected]> * Update primitives/src/v2/mod.rs Co-authored-by:
Andronik <[email protected]> * Removal of [index], shorting of FromIterator, Renaming of GroupValidators to ValidatorGroups * Removal of ops import * documentation fixes for spell check * implementation of generic type * Refactoring * Test and documentation fixes * minor test fix * minor test fix * minor test fix * Update node/network/statement-distribution/src/lib.rs Co-authored-by:
Andronik <[email protected]> * Update primitives/src/v2/mod.rs Co-authored-by:
Andronik <[email protected]> * Update primitives/src/v2/mod.rs Co-authored-by:
Andronik <[email protected]> * removed IterMut * Update node/core/dispute-coordinator/src/import.rs Co-authored-by:
Andronik <[email protected]> * Update node/core/dispute-coordinator/src/initialized.rs Co-authored-by:
Andronik <[email protected]> * Update primitives/src/v2/mod.rs Co-authored-by:
Andronik <[email protected]> * fmt * IterMut * documentation update Co-authored-by:
Andronik <[email protected]> * minor adjustments and new TypeIndex trait * spelling fix * TypeIndex fix Co-authored-by:
Andronik <[email protected]>
-