- Apr 21, 2023
-
-
Marcin S. authored
* Move PVF workers into separate crate * Fix indentation * Fix compilation errors * Fix more compilation errors * Rename `worker.rs` files, make host interface to worker more clear * Fix more compilation errors * Fix more compilation errors * Add link to issue * Address review comments * Update comment
-
Liam Aharon authored
* make staking miner compatible with new OnlineConfig * remove dead code
-
Xiliang Chen authored
-
- Apr 20, 2023
-
-
Marcin S. authored
* PVF: Don't dispute on missing artifact A dispute should never be raised if the local cache doesn't provide a certain artifact. You can not dispute based on this reason, as it is a local hardware issue and not related to the candidate to check. Design: Currently we assume that if we prepared an artifact, it remains there on-disk until we prune it, i.e. we never check again if it's still there. We can change it so that instead of artifact-not-found triggering a dispute, we retry once (like we do for AmbiguousWorkerDeath, except we don't dispute if it still doesn't work). And when enqueuing an execute job, we check for the artifact on-disk, and start preparation if not found. Changes: - [x] Integration test (should fail without the following changes) - [x] Check if artifact exists when executing, prepare if not - [x] Return an internal error when file is missing - [x] Retry once on internal errors - [x] Document design (update impl guide) * Add some context to wasm error message (it is quite long) * Fix impl guide * Add check for missing/inaccessible file * Add comment referencing Substrate issue * Add test for retrying internal errors --------- Co-authored-by: parity-processbot <>
-
Keith Yeung authored
* Properly set the pricing for the DMP router * Publicize price types * Use FixedU128 instead of Percent * Add sp-arithmetic as a dependency for rococo runtime * Add sp-arithmetic as a dependency to all runtimes * Remove duplicate import * Add missing import * Fix tests * Create an appropriate QueueDownwardMessageError variant * Recalculate delivery fee factor based on past queue sizes * Remove unused error variant * Fixes * Fixes * Remove unused imports * Rewrite fee factor update mechanism * Remove unused imports * Fixes * Update runtime/parachains/src/dmp.rs Co-authored-by: Squirrel <[email protected]> * Make DeliveryFeeFactor be a StorageMap keyed on ParaIds * Fixes * introduce limit for fee increase on dmp queue * add message_size based fee factor to increment_fee_factor * change message_size fee rate to correct value * fix div by 0 error * bind limit to variable * fix message_size_factor and add DeliveryFeeFactor test * add test for ExponentialPrice implementation * make test formula based * make delivery fee factor test formula based * add max value test for DeliveryFeeFactor and move limit to config * change threshold back to dynamic value and fix tests * fmt * suggested changes and fmt * small stylistic change * fmt * change to tokenlocation * small fixes * fmt * remove sp_arithmetic dependency * Update runtime/parachains/src/dmp.rs Co-authored-by: Kian Paimani <[email protected]> --------- Co-authored-by: Squirrel <[email protected]> Co-authored-by: Just van Stam <[email protected]> Co-authored-by: Just van Stam <[email protected]> Co-authored-by: Kian Paimani <[email protected]>
-
- Apr 19, 2023
-
-
Marcin S. authored
* pvf: Update docs for PVF artifacts * pvf: Clarify doc re. node start-up
-
dependabot[bot] authored
Bumps [syn](https://github.com/dtolnay/syn) from 2.0.14 to 2.0.15. - [Release notes](https://github.com/dtolnay/syn/releases) - [Commits](https://github.com/dtolnay/syn/compare/2.0.14...2.0.15) --- 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>
-
Muharem Ismailov authored
* max proposal weight config * update lockfile for {"substrate"} --------- Co-authored-by: parity-processbot <>
-
Joakim Nyman authored
-
Davide Galassi authored
* Companion for substrate #13889 * Remove leftover * Remove removed dependency * Remove sp-consensus-vrf from lock * Revert "Remove sp-consensus-vrf from lock" This reverts commit 2269ca1e32df89272e8fd4544292204db387f436. * Fix after substrate modifications * Fix tests to use new VRF Signature type * Don't rely of Deref trait * Fix test * Further code simplification * Reuse garbage_vrf_signature * update lockfile for {"substrate"} --------- Co-authored-by: parity-processbot <>
-
Artyom Bakhtin authored
* Switch to DNS name based bootnodes for Rococo Signed-off-by: bakhtin <[email protected]> * Switch Rococo bootnodes from WS to WSS Signed-off-by: bakhtin <[email protected]> --------- Signed-off-by: bakhtin <[email protected]>
-
- Apr 18, 2023
-
-
André Silva authored
* companion for substrate#13883 * update lockfile for {"substrate"} --------- Co-authored-by: parity-processbot <>
-
Branislav Kontur authored
-
- Apr 17, 2023
-
-
dependabot[bot] authored
Bumps [serde_json](https://github.com/serde-rs/json) from 1.0.85 to 1.0.96. - [Release notes](https://github.com/serde-rs/json/releases) - [Commits](https://github.com/serde-rs/json/compare/v1.0.85...v1.0.96) --- updated-dependencies: - dependency-name: serde_json 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 [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>
-
Serban Iorga authored
-
Serban Iorga authored
* Remove unreachable code * Fix warning
-
Mara Broda authored
* sync workspace version with current release * polkadot: sync spec with current release * westend: sync spec with current release * kusama: sync spec with current release * rococo: sync spec with current release
-
dependabot[bot] authored
Bumps [h2](https://github.com/hyperium/h2) from 0.3.11 to 0.3.17. - [Release notes](https://github.com/hyperium/h2/releases) - [Changelog](https://github.com/hyperium/h2/blob/master/CHANGELOG.md) - [Commits](https://github.com/hyperium/h2/compare/v0.3.11...v0.3.17) --- updated-dependencies: - dependency-name: h2 dependency-type: indirect ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
-
Koute authored
-
- 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 <>
-
Oliver Tale-Yazdi authored
* Fix try-runtime CI Signed-off-by: Oliver Tale-Yazdi <[email protected]> * Actually fix it Signed-off-by: Oliver Tale-Yazdi <[email protected]> --------- Signed-off-by: Oliver Tale-Yazdi <[email protected]>
-
Mira Ressel authored
-
- Apr 13, 2023
-
-
Martin Pugh authored
* add weights verification job * switch to a github action * rename script.. * add swc check * fix perms... * debugging * fix comments, remove artifact. I hate CI * switch to swc compare files * sigh * switch back to compare commits * fix output * fix output... again. yay markdown! * remove test version number * remove TODO * switch to docker image * Revert "remove TODO" This reverts commit c313afd4604c437ebd25ffa84bb8cc7d95cd1092. * fix docker registry url * revert docker experiment too janky. will fix upstream stuff and fix as a separate PR reverts commits: - 3be2043a95f15579453e68ff96360f60aeae24e3 - fd17a0fbf8a75449720fe3861f941f4a91fcc9c7 - 59f0ebfef49e37060cb2dc63cf67c7809befcf57 --------- Co-authored-by: parity-processbot <> Co-authored-by: Martin <[email protected]>
-
Alexandru Vasile authored
* node: Replace deprecated versions of sc_executor Signed-off-by: Alexandru Vasile <[email protected]> * Update cargo.lock via `cargo update -p sc-executor` Signed-off-by: Alexandru Vasile <[email protected]> * Update Cargo.lock with latest substrate Signed-off-by: Alexandru Vasile <[email protected]> * node: Replace `new` with `new_with_wasm_executor` Signed-off-by: Alexandru Vasile <[email protected]> * Update substrate to latest Signed-off-by: Alexandru Vasile <[email protected]> --------- Signed-off-by: Alexandru Vasile <[email protected]>
-
Andrei Sandu authored
* Send lag update message Signed-off-by: Andrei Sandu <[email protected]> * Process ApprovalCheckingLagUpdate Signed-off-by: Andrei Sandu <[email protected]> * Comput min age based on lag Signed-off-by: Andrei Sandu <[email protected]> * fix comment Signed-off-by: Andrei Sandu <[email protected]> * Fix tests Signed-off-by: Andrei Sandu <[email protected]> * Fix test build Signed-off-by: Andrei Sandu <[email protected]> * Make the spawnhandle optional Signed-off-by: Andrei Sandu <[email protected]> * remove unused Signed-off-by: Andrei Sandu <[email protected]> --------- Signed-off-by: Andrei Sandu <[email protected]>
-
Keith Yeung authored
* Use RuntimeHoldReason for the NIS pallet HoldReason * Update substrate * Fixes * Fixes * Fixes * Fixes * Move encoding test to tests.rs
-
- Apr 12, 2023
-
-
Sam Johnson authored
* globally upgrade syn to 1.0.109 * globally upgrade quote to 1.0.26 * globally upgrade proc-macro2 to 1.0.56 * globally bump syn to v2.0.13 * update expander to v1.0.0 * temporary commit to prove new version of expander works (new version hasn't been released yet so using git) * use expander 2.0.0 * upgrade to syn 2.0.14 * update lock file
-
Roman Useinov authored
* bump scale-info to be in line with cumulus * remove irrelevant lines * fix Cargo.lock
-
Mira Ressel authored
-
- Apr 11, 2023
-
-
Mira Ressel authored
cargo-fmt stays on the nightly pipeline; our fmt config uses a heap of unstable features.
-
Mira Ressel authored
* Simplify &(ref foo, _) tuple pattern matches * Drop unneccessary .clone() calls * Replace .position(cond).is_some() by .any(cond) * Drop unneccessary lifetime specs
-
- 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 07, 2023
-
-
Tsvetomir Dimitrov authored
Onchain scraper in `dispute-coordinator` will scrape `SCRAPED_FINALIZED_BLOCKS_COUNT` blocks before finality (#7013) * Onchain scraper in `dispute-coordinator` will scrape `SCRAPED_FINALIZED_BLOCKS_COUNT` blocks before finality The purpose is to make the availability of a `CandidateReceipt` for finalized candidates more likely. For details see: https://github.com/paritytech/polkadot/issues/7009 * Fix off by one error * Replace `SCRAPED_FINALIZED_BLOCKS_COUNT` with `DISPUTE_CANDIDATE_LIFETIME_AFTER_FINALIZATION`
-
Marcin S. authored
* Move version check to `worker_event_loop` * More minor refactors - More consistent use of `format_invalid` and `format_internal`. - Fix a doc error. - Fix some poorly-named local variables.
-
- Apr 05, 2023
-
-
s0me0ne-unkn0wn authored
-
- Apr 04, 2023
-
-
Oliver Tale-Yazdi authored
* Remove old calls Companion for https://github.com/paritytech/substrate/pull/13699 Signed-off-by: Oliver Tale-Yazdi <[email protected]> * update lockfile for {"substrate"} --------- Signed-off-by: Oliver Tale-Yazdi <[email protected]> Co-authored-by: parity-processbot <>
-
s0me0ne-unkn0wn authored
* Companion for paritytech/substrate#13811 * Add comment * update lockfile for {"substrate"} * Update Substrate Signed-off-by: Oliver Tale-Yazdi <[email protected]> * Fix pallet weight warnings Signed-off-by: Oliver Tale-Yazdi <[email protected]> --------- Signed-off-by: Oliver Tale-Yazdi <[email protected]> Co-authored-by: parity-processbot <> Co-authored-by: Oliver Tale-Yazdi <[email protected]>
-
Muharem Ismailov authored
-
Bastian Köcher authored
* Substrate companion: Remove deprecated batch verification * update lockfile for {"substrate"} --------- Co-authored-by: parity-processbot <>
-