- May 17, 2023
-
-
Tsvetomir Dimitrov authored
-
Tsvetomir Dimitrov authored
* Make `issue_explicit_statement_with_index` regular function * Make `issue_backing_statement_with_index` regular function * Issue `RevertBlocks` as soon as a dispute has `byzantine threshold + 1` invalid votes. * Remove a comment * Fix `has_fresh_byzantine_threshold_against()` * Extend `informs_chain_selection_when_dispute_concluded_against` test
-
Bastian Köcher authored
* Yeah * Fix all the migrations for Kusama & Polkadot --------- Co-authored-by: Liam Aharon <[email protected]>
-
Branislav Kontur authored
-
- May 16, 2023
-
-
Marcin S. authored
* PVF: Remove `rayon` and some uses of `tokio` 1. We were using `rayon` to spawn a superfluous thread to do execution, so it was removed. 2. We were using `rayon` to set a threadpool-specific thread stack size, and AFAIK we couldn't do that with `tokio` (it's possible [per-runtime](https://docs.rs/tokio/latest/tokio/runtime/struct.Builder.html#method.thread_stack_size) but not per-thread). Since we want to remove `tokio` from the workers [anyway](https://github.com/paritytech/polkadot/issues/7117), I changed it to spawn threads with the `std::thread` API instead of `tokio`.[^1] [^1]: NOTE: This PR does not totally remove the `tokio` dependency just yet. 3. Since `std::thread` API is not async, we could no longer `select!` on the threads as futures, so the `select!` was changed to a naive loop. 4. The order of thread selection was flipped to make (3) sound (see note in code). I left some TODO's related to panics which I'm going to address soon as part of https://github.com/paritytech/polkadot/issues/7045. * PVF: Vote invalid on panics in execution thread (after a retry) Also make sure we kill the worker process on panic errors and internal errors to potentially clear any error states independent of the candidate. * Address a couple of TODOs Addresses a couple of follow-up TODOs from https://github.com/paritytech/polkadot/pull/7153. * Add some documentation to implementer's guide * Fix compile error * Fix compile errors * Fix compile error * Update roadmap/implementers-guide/src/node/utility/candidate-validation.md Co-authored-by: Andrei Sandu <[email protected]> * Address comments + couple other changes (see message) - Measure the CPU time in the prepare thread, so the observed time is not affected by any delays in joining on the thread. - Measure the full CPU time in the execute thread. * Implement proper thread synchronization Use condvars i.e. `Arc::new((Mutex::new(true), Condvar::new()))` as per the std docs. Considered also using a condvar to signal the CPU thread to end, in place of an mpsc channel. This was not done because `Condvar::wait_timeout_while` is documented as being imprecise, and `mpsc::Receiver::recv_timeout` is not documented as such. Also, we would need a separate condvar, to avoid this case: the worker thread finishes its job, notifies the condvar, the CPU thread returns first, and we join on it and not the worker thread. So it was simpler to leave this part as is. * Catch panics in threads so we always notify condvar * Use `WaitOutcome` enum instead of bool condition variable * Fix retry timeouts to depend on exec timeout kind * Address review comments * Make the API for condvars in workers nicer * Add a doc * Use condvar for memory stats thread * Small refactor * Enumerate internal validation errors in an enum * Fix comment * Add a log * Fix test * Update variant naming * Address a missed TODO --------- Co-authored-by: Andrei Sandu <[email protected]>
-
Marcin S. authored
-
Branislav Kontur authored
* **Foreign** global consensus parachain LocationToAccount converter * Review fix * Added `UniversalLocation` + `ensure_is_remote` handling * Added unique id to encoding * Update xcm/xcm-builder/src/location_conversion.rs Co-authored-by: Gavin Wood <[email protected]> * Re-export `ensure_is_remote` * Test * fmt * Update xcm/xcm-builder/src/location_conversion.rs * Update xcm/xcm-builder/src/universal_exports.rs Co-authored-by: Gavin Wood <[email protected]> --------- Co-authored-by: parity-processbot <> Co-authored-by: Gavin Wood <[email protected]>
-
- May 15, 2023
-
-
Gavin Wood authored
-
Tsvetomir Dimitrov authored
* Bump parity-db to 0.4.8 * update lockfile for {"substrate"} --------- Co-authored-by: parity-processbot <>
-
-
- May 13, 2023
-
-
asynchronous rob authored
* Relax the watermark rule in the runtime * make comment more clear * add hrmp test * remove TODO now comment
-
- May 12, 2023
-
-
dependabot[bot] authored
Bumps [reqwest](https://github.com/seanmonstar/reqwest) from 0.11.11 to 0.11.17. - [Release notes](https://github.com/seanmonstar/reqwest/releases) - [Changelog](https://github.com/seanmonstar/reqwest/blob/master/CHANGELOG.md) - [Commits](https://github.com/seanmonstar/reqwest/compare/v0.11.11...v0.11.17) --- updated-dependencies: - dependency-name: reqwest 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>
-
Anton authored
* upgrade js-sys to 0.3.61 * update wasm-bindgen-futures * update once_cell * update either * update futures * update pyroscope to 0.5.3 * use the new pyroscope API * add missing imports * readme is incorrect * add shutdown * fix shutdown * remove mut * remove mut 2 * redo updates * update zeroize * update lockfile for {"substrate"} * update lockfile for {"substrate", "cumulus"} * redo updates * restart CI --------- Co-authored-by: parity-processbot <>
-
Tsvetomir Dimitrov authored
* Replace `RollingSessionWindow` with `RuntimeInfo` - initial commit * Fix tests in import * Fix the rest of the tests * Remove dead code * Fix todos * Simplify session caching * Comments for `SessionInfoProvider` * Separate `SessionInfoProvider` from `State` * `cache_session_info_for_head` becomes freestanding function * Remove unneeded `mut` usage * fn session_info -> fn get_session_info() to avoid name clashes. The function also tries to initialize `SessionInfoProvider` * Fix SessionInfo retrieval * Code cleanup * Don't wrap `SessionInfoProvider` in an `Option` * Remove `earliest_session()` * Remove pre-caching -> wip * Fix some tests and code cleanup * Fix all tests * Fixes in tests * Fix comments, variable names and small style changes * Fix a warning * impl From<SessionWindowSize> for NonZeroUsize * Fix logging for `get_session_info` - remove redundant logs and decrease log level to DEBUG * Code review feedback
-
Arkadiy Paronyan authored
-
- May 11, 2023
-
-
Oliver Tale-Yazdi authored
* Add to workspace Signed-off-by: Oliver Tale-Yazdi <[email protected]> * fmt Signed-off-by: Oliver Tale-Yazdi <[email protected]> * Remove dumb clones Signed-off-by: Oliver Tale-Yazdi <[email protected]> * Update Cargo.lock Signed-off-by: Oliver Tale-Yazdi <[email protected]> --------- Signed-off-by: Oliver Tale-Yazdi <[email protected]> Co-authored-by: parity-processbot <>
-
https://github.com/paritytech/substrate/pull/13373Falco Hirschenberger authored
* companion PR for https://github.com/paritytech/substrate/pull/13373 * update lockfile for {"substrate"} --------- Co-authored-by: parity-processbot <>
-
Doordashcon authored
* sudo benchmarks * cargo fmt * sub weights * Update Cargo.lock * NC.l * undo * cargo fmt * update sudo weights * update lockfile for {"substrate"} --------- Co-authored-by: parity-processbot <>
-
Aaro Altonen authored
* Companion for paritytech/substrate#14080 * update lockfile for {"substrate"} --------- Co-authored-by: parity-processbot <>
-
- May 10, 2023
-
-
Tsvetomir Dimitrov authored
* Bump `kvdb-rocksdb` * update lockfile for {"substrate"} --------- Co-authored-by: parity-processbot <>
-
- May 09, 2023
-
-
Francisco Aguirre authored
* Stop weighing XCM execution on pallet-xcm's send extrinsic * Add missing instruction to transfer extrinsics' weight in pallet-xcm
-
Mira Ressel authored
There are still a bunch of open questions on how to handle image pinning; in the meantime, let's keep using the production tag.
-
Przemek Rzad authored
* Update Staking Miner readme * Update README.md * Update utils/staking-miner/README.md * Update utils/staking-miner/README.md * Update utils/staking-miner/README.md --------- Co-authored-by: Niklas Adolfsson <[email protected]>
-
- May 08, 2023
-
-
Chris Sosnin authored
* paras: unconditionally precheck pvfs * Update integration tests * paras_registrar tests * runtime benchmark tests * fix bench * bypass prechecking in test node * adjust bench * ".git/.scripts/commands/bench/bench.sh" runtime polkadot runtime_parachains::paras * ".git/.scripts/commands/bench/bench.sh" runtime kusama runtime_parachains::paras * ".git/.scripts/commands/bench/bench.sh" runtime rococo runtime_parachains::paras * ".git/.scripts/commands/bench/bench.sh" runtime westend runtime_parachains::paras * use test helper * fix new test --------- Co-authored-by: command-bot <>
-
Oliver Tale-Yazdi authored
There is a deny(clippy::dbg_macro) in the crate root, so newer Clippy fails here since tests use dbg. But dbg in tests are fine IMHO. Signed-off-by: Oliver Tale-Yazdi <[email protected]>
-
Chevdor authored
* Add a new template to show the list of host functions * Fix release notes template for host functions --------- Co-authored-by: parity-processbot <>
-
- May 07, 2023
-
-
Niklas Adolfsson authored
* companion for #14088 * update lockfile for {"substrate"} --------- Co-authored-by: parity-processbot <>
-
Javier Viola authored
* bump zombienet version * enable upgrade node test * changes to fix test * typo in pipeline
-
- May 05, 2023
-
-
Tsvetomir Dimitrov authored
-
Muharem Ismailov authored
* xcm remote lock consumers * update xcm pallet config setups * fix import * update xcm pallet config setups * rename consumers to users * rename * rename users to consumers, more docs * correct doc --------- Co-authored-by: parity-processbot <>
-
Mira Ressel authored
-
Andrei Sandu authored
* impl QueryChunkSize Signed-off-by: Andrei Sandu <[email protected]> * QueryChunkSize message Signed-off-by: Andrei Sandu <[email protected]> * enable fetching from backing group for small pov Signed-off-by: Andrei Sandu <[email protected]> * review feedback Signed-off-by: Andrei Sandu <[email protected]> * Refactor `bypass_availability_store` Signed-off-by: Andrei Sandu <[email protected]> * review feedback Signed-off-by: Andrei Sandu <[email protected]> --------- Signed-off-by: Andrei Sandu <[email protected]>
-
- May 04, 2023
-
-
Stakeworld authored
-
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]>
-