- May 04, 2023
-
-
Davide Galassi authored
* Companion for substrate #14036 * Rollback of some trivial renamings * update lockfile
-
Robert Hambrock authored
* test that successfully verify self-generated proof * verify proof result on all unpaused nodes * tighten interface: reuse connection * generate the proof on arbitrary node * s/stub-name/validator seems this doesn't pass some regex * rename script * add basic mmr-leaves test * documentation formatting * check lower bound on mmr leaves * test beefy rpc: finalized heads match * test mmr api: stateless proofs * set lower bound on number of leaves * change leaves in proof generation * remove TODOs * cleanup: consistently ignore zndsl name arg * refactor: simplify returns Co-authored-by: Serban Iorga <[email protected]> * lax finalized head test Co-authored-by: Adrian Catangiu <[email protected]> * fixup! refactor: simplify returns * refactor out getApis Co-authored-by: Serban Iorga <[email protected]> * split out paused validator from group * refactor: don't ignore node arg don't randomize selection of proof generating / finalized head retrieving node, but use the node arg for this. * only check min block height, not relative Co-authored-by: Adrian Catangiu <[email protected]> * verify finalized heads share same canonical chain picks the node with the highest finalized head, gets its blockchain headers since genesis, and verifies that all other nodes' finalized heads are in said blockchain. * fixup! split out paused validator from group Co-authored-by: Serban Iorga <[email protected]> --------- Co-authored-by: Serban Iorga <[email protected]> Co-authored-by: Adrian Catangiu <[email protected]>
-
Bulat Saifullin authored
-
Arkadiy Paronyan authored
* Set data_path * update lockfile for {"substrate"} --------- Co-authored-by: parity-processbot <>
-
Kshitij Rajgude authored
-
Niklas Adolfsson authored
* companion for #13384 * adjust parsing RPC address from process output * update rpc cli * update lockfile for {"substrate"} * bump zombienet v1.3.48 * bump zombienet version * allow zombienet-tests-misc-upgrade-node to fail * add comment and issue link to allowed_failure * grumbles: disable failed job * disabled the correct test --------- Co-authored-by: parity-processbot <> Co-authored-by: Javier Viola <[email protected]>
-
- May 03, 2023
-
-
Oliver Tale-Yazdi authored
* Sort migrations by release Signed-off-by: Oliver Tale-Yazdi <[email protected]> * Inline 'SinceV0940' Signed-off-by: Oliver Tale-Yazdi <[email protected]> * Mention order Signed-off-by: Oliver Tale-Yazdi <[email protected]> * Extend comment Signed-off-by: Oliver Tale-Yazdi <[email protected]> * Fix compile Signed-off-by: Oliver Tale-Yazdi <[email protected]> --------- Signed-off-by: Oliver Tale-Yazdi <[email protected]>
-
ordian authored
* runtime/polkadot: enable disputes rewards and slashing * ".git/.scripts/commands/bench/bench.sh" runtime polkadot runtime_parachains::disputes::slashing --------- Co-authored-by: command-bot <>
-
Bruno Galvao authored
* add swapped event to registrar * check swapped event on integration test * check for swapped event in paras_registrar swap tests * cargo +nightly fmt --all * add test for para to para swap * make paraId event consistent * cargo +nightly fmt
-
- May 02, 2023
-
-
Mira Ressel authored
-
Just van Stam authored
* fix log targets for nonfungibles-adapter * change target * make const for LOG_TARGET and fmt
-
Mara Broda authored
* polkadot: update weights * westend: update weights * kusama: update weights * rococo: update weights
-
- Apr 28, 2023
-
-
Sebastian Kunert authored
* Allow to skip availability-store * Update node/network/availability-recovery/src/lib.rs Co-authored-by: Michal Kucharczyk <[email protected]> --------- Co-authored-by: Michal Kucharczyk <[email protected]>
-
dependabot[bot] authored
Bumps [wasmtime](https://github.com/bytecodealliance/wasmtime) from 6.0.1 to 6.0.2. - [Release notes](https://github.com/bytecodealliance/wasmtime/releases) - [Changelog](https://github.com/bytecodealliance/wasmtime/blob/main/docs/WASI-some-possible-changes.md) - [Commits](https://github.com/bytecodealliance/wasmtime/compare/v6.0.1...v6.0.2) --- updated-dependencies: - dependency-name: wasmtime dependency-type: indirect ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
-
- Apr 27, 2023
-
-
Liam Aharon authored
* update configs for check-runtime-migration tasks * update fixme issues * fix indentation
-
Keith Yeung authored
* Move XCM matcher to xcm-builder * Use ProcessMessageError as the error type in MatchXcm and ShouldExecute * Implement a blocking barrier * Fixes * Add benchmarking for force_suspension * ".git/.scripts/commands/bench/bench.sh" runtime westend pallet_xcm * ".git/.scripts/commands/bench/bench.sh" runtime rococo pallet_xcm * ".git/.scripts/commands/bench/bench.sh" runtime kusama pallet_xcm * ".git/.scripts/commands/bench/bench.sh" runtime polkadot pallet_xcm * ".git/.scripts/commands/bench/bench.sh" runtime westend pallet_xcm * ".git/.scripts/commands/bench/bench.sh" runtime rococo pallet_xcm --------- Co-authored-by: command-bot <>
-
dependabot[bot] authored
Bumps [chevdor/srtool-actions](https://github.com/chevdor/srtool-actions) from 0.6.0 to 0.7.0. - [Release notes](https://github.com/chevdor/srtool-actions/releases) - [Commits](https://github.com/chevdor/srtool-actions/compare/v0.6.0...v0.7.0) --- updated-dependencies: - dependency-name: chevdor/srtool-actions 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>
-
gupnik authored
* Fixes migration for Session pallet * Moves migration to polkadot * Minor change * Fixes test * ".git/.scripts/commands/fmt/fmt.sh" * Allow dead_code for test * removes test * Minor change * Fixes build * Import vec for try-runtime * Addresses review comment * ".git/.scripts/commands/fmt/fmt.sh" * Addresses review comment --------- Co-authored-by: command-bot <>
-
- Apr 26, 2023
-
-
ordian authored
* malus: don't panic if can't fetch validation data * malus: add fast-runtime feature
-
gupnik authored
* Companion for substrate * Adds kusama migration * update lockfile for {"substrate"} * Temp allow try-runtime to fail ... until https://github.com/paritytech/substrate/issues/14006 is done. 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]>
-
- Apr 25, 2023
-
-
eskimor authored
* Fix stalling dispute coordinator. * Initialization. --------- Co-authored-by: eskimor <[email protected]>
-
- Apr 24, 2023
-
-
Andrei Sandu authored
* Use stored sessions
🤦 Signed-off-by: Andrei Sandu <[email protected]> * Add test Signed-off-by: Andrei Sandu <[email protected]> * remove redundant Signed-off-by: Andrei Sandu <[email protected]> --------- Signed-off-by: Andrei Sandu <[email protected]> -
Alexander Samusev authored
-
Alejandro Martinez Andres authored
-
Frederik Gartenmeister authored
* Draft remote account converter * Tests and doc comments * Adapt naming, tests fix * Try with prefix in account * Revert "Try with prefix in account" This reverts commit 461759794cc9f59f768aad0e0899df6dc8cba747. * Adapt code and test to review suggestions * adapt to take into account parent in conversion * fix: docs * fix: try doc fix v2
-
Tsvetomir Dimitrov authored
Rework `dispute-coordinator` to use `RuntimeInfo` for obtaining session information instead of `RollingSessionWindow` (#6968) * Pass `SessionInfo` directly to `CandidateEnvironment::new` otherwise it should be an async function * Replace calls to `RollingSessionWindow` with `RuntimeInfo` Adjust `dispute-coordinator` initialization to use `RuntimeInfo` * Modify `dispute-coordinator` initialization * Pass `Hash` to `process_on_chain_votes` so that `RuntimeInfo` calls can be made Remove some fixmes * Pass `Hash` to `handle_import_statements` to perform `RuntimeInfo` calls * remove todo comments * Remove `error` from `Initialized` Rework new session handling code * Remove db code which is no longer used * Update stale comment and remove unneeded type specification * Cache SessionInfo on startup * Use `DISPUTE_WINDOW` from primitives * Fix caching in `process_active_leaves_update` * handle_import_statements: leaf_hash -> block_hash * Restore `ensure_available_session_info` * Don't interrupt `process_on_chain_votes` if SessionInfo can't be fetched * Small style improvements in logging * process_on_chain_votes: leaf_hash -> block_hash * Restore `note_earliest_session` - it is required to prune disputes and votes * Cache new sessions only when there is an actual session change * Fix tests * `CandidateEnvironment::new` gets `session_idx` and fetches SessionInfo by itself to avoid the invariant where the input SessionIndex and SessionInfo parameters don't match * Fix handling of missing session info * Move sessions caching in `handle_startup` and fix tests * Load `relay_parent` from db in `handle_import_statements` instead of passing it as a parameter via two functions * Don't do two db reads * Fix the twisted logic in `handle_import_statements` * fixup * Small style fix * Decrease log levels for caching errors to debug and fix a typo * Update outdated comment * Remove `ensure_available_session_info` * Load relay parent from db in `process_on_chain_votes` * Revert "Load relay parent from db in `process_on_chain_votes`" This reverts commit 978ad4f223d517faa7a7fbad96e3f8de4fa17501. * Keep track of highest seen session and last session cached without gaps. * Apply suggestions from code review Co-authored-by: ordian <[email protected]> * Handle session caching failure on startup correctly * Update node/core/dispute-coordinator/src/initialized.rs Co-authored-by: ordian <[email protected]> * Simplify session caching retries * Update stale comment * Fix lower bound calculation for session caching --------- Co-authored-by: ordian <[email protected]>
-
Keith Yeung authored
* Revert default proof size back to 64 KB * Fix test expectations * Enhance unit test * cargo fmt * Fix comment
-
- Apr 21, 2023
-
-
ordian authored
* update rocksdb to 0.20.1 * update lockfile for {"substrate"} --------- Co-authored-by: parity-processbot <>
-
Keith Yeung authored
* Reduce base proof size weight component to 1KiB * Create TempFixedXcmWeight and set PoV weight to 0 * Set DEFAULT_PROOF_SIZE to 0 * Fix comment * Update test expectations * Fix comment
-
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]>
-