- May 06, 2023
-
-
Oliver Tale-Yazdi authored
* Import Clippy config from Polkadot Signed-off-by: Oliver Tale-Yazdi <[email protected]> * Auto clippy fix Signed-off-by: Oliver Tale-Yazdi <[email protected]> * No tabs in comments Signed-off-by: Oliver Tale-Yazdi <[email protected]> * Prefer matches Signed-off-by: Oliver Tale-Yazdi <[email protected]> * Dont drop references Signed-off-by: Oliver Tale-Yazdi <[email protected]> * Trivial Signed-off-by: Oliver Tale-Yazdi <[email protected]> * Refactor Signed-off-by: Oliver Tale-Yazdi <[email protected]> * fmt Signed-off-by: Oliver Tale-Yazdi <[email protected]> * add clippy to ci * Clippy reborrow Signed-off-by: Oliver Tale-Yazdi <[email protected]> * Update client/pov-recovery/src/lib.rs Co-authored-by: Bastian Köcher <[email protected]> * Update client/pov-recovery/src/lib.rs Co-authored-by: Bastian Köcher <[email protected]> * Partially revert 'Prefer matches' Using matches! instead of match does give less compiler checks as per review from @chevdor . Partially reverts 8c0609677f3ea040f77fffd5be6facf7c3fec95c Signed-off-by: Oliver Tale-Yazdi <[email protected]> * Update .cargo/config.toml Co-authored-by: Chevdor <[email protected]> * Revert revert
💩 Should be fine to use matches! macro since it is an explicit whitelist, not wildcard matching. --------- Signed-off-by: Oliver Tale-Yazdi <[email protected]> Co-authored-by: alvicsam <[email protected]> Co-authored-by: Bastian Köcher <[email protected]> Co-authored-by: Chevdor <[email protected]> Co-authored-by: parity-processbot <>
-
- Mar 07, 2023
-
-
Bastian Köcher authored
-
- Mar 06, 2023
-
-
Aaro Altonen authored
* Companion for paritytech/substrate#12764 * Remove `async-trait` * Companion for paritytech/substrate#12828 * carg fmt * Update client/relay-chain-minimal-node/src/network.rs Co-authored-by: Bastian Köcher <[email protected]> * update lockfile for {"polkadot", "substrate"} --------- Co-authored-by: Bastian Köcher <[email protected]> Co-authored-by: parity-processbot <>
-
- Feb 21, 2023
-
-
Michal Kucharczyk authored
* BlockId removal: refactor of runtime API It changes the first argument of all generated runtime API calls from: `BlockId<Block>` to: `Block::Hash` * fmt * cargo update -p polkadot-primitives * Revert "cargo update -p polkadot-primitives" This reverts commit 58506ecd31e1e5e42b78c2db3982acbc4d8edc70. * update lockfile for {"substrate", "polkadot"} --------- Co-authored-by: parity-processbot <>
-
- Feb 14, 2023
-
-
Sam Elamin authored
* wait for relay chain to sync then get parachain header * Spawn new thread to wait for the target block * second round of comments from the PR on substrate * third round of pr comments * add zombienet tests * rebase issues * refactor tests based on pr comments * rebase issues * pr comments * passing zombienet test * cargo +nightly fmt * Update client/network/src/lib.rs Co-authored-by: Bastian Köcher <[email protected]> * Update client/service/src/lib.rs Co-authored-by: Bastian Köcher <[email protected]> * Update client/service/src/lib.rs Co-authored-by: Bastian Köcher <[email protected]> * Update client/service/src/lib.rs Co-authored-by: Bastian Köcher <[email protected]> * Update client/service/src/lib.rs Co-authored-by: Bastian Köcher <[email protected]> * Update client/network/src/lib.rs Co-authored-by: Bastian Köcher <[email protected]> * Update client/network/src/lib.rs Co-authored-by: Bastian Köcher <[email protected]> * Update client/network/src/lib.rs Co-authored-by: Bastian Köcher <[email protected]> * Update client/network/src/lib.rs Co-authored-by: Bastian Köcher <[email protected]> * use cargo lock from master * pr comments * cargo fmt * use finalised block instead of best block * use import notification stream * rebase changes * Update client/network/src/lib.rs Co-authored-by: Bastian Köcher <[email protected]> * Update client/network/src/lib.rs Co-authored-by: Bastian Köcher <[email protected]> * Update client/network/src/lib.rs Co-authored-by: Bastian Köcher <[email protected]> * Update client/network/src/lib.rs Co-authored-by: Bastian Köcher <[email protected]> * Update client/network/src/lib.rs Co-authored-by: Bastian Köcher <[email protected]> * Update client/service/src/lib.rs Co-authored-by: Bastian Köcher <[email protected]> * Update client/relay-chain-interface/src/lib.rs Co-authored-by: Bastian Köcher <[email protected]> * Update client/relay-chain-interface/src/lib.rs Co-authored-by: Bastian Köcher <[email protected]> * pr comments * use new file names * db snaphots moved to google cloud storage * Update client/network/src/lib.rs Co-authored-by: Bastian Köcher <[email protected]> * Update client/service/src/lib.rs Co-authored-by: Bastian Köcher <[email protected]> * Update client/service/src/lib.rs Co-authored-by: Bastian Köcher <[email protected]> * Update client/service/src/lib.rs Co-authored-by: Bastian Köcher <[email protected]> * Update client/service/src/lib.rs Co-authored-by: Bastian Köcher <[email protected]> * Update client/service/src/lib.rs Co-authored-by: Bastian Köcher <[email protected]> * Update client/service/src/lib.rs Co-authored-by: Bastian Köcher <[email protected]> * Update client/service/src/lib.rs Co-authored-by: Bastian Köcher <[email protected]> * Update client/service/src/lib.rs Co-authored-by: Bastian Köcher <[email protected]> * Update client/service/src/lib.rs Co-authored-by: Sebastian Kunert <[email protected]> * pr comments * Update zombienet/tests/0007-full_node_warp_sync.toml Co-authored-by: Sebastian Kunert <[email protected]> * Update zombienet/tests/0007-full_node_warp_sync.toml Co-authored-by: Sebastian Kunert <[email protected]> * Scenario 1 Parachain node and in-node relay chain both start with --sync warp. This ensures that the waiting logic works as expected. Scenario 2 Parachain node starts with warp sync, relay chain points to a node already synced up scenario 3 Parachain node starts with warp sync, relay chain points to a node that uses warp sync * Use test-parachain * use test-parachain chainspecs * remove relay chain spec as it is no longer required * add back relaychain spec file * pr comments * Upload snapshots to google cloud * Update zombienet/tests/0007-prepare-warp-sync-db-snapshot.md Co-authored-by: Sebastian Kunert <[email protected]> * update documentation * Fix snapshot URLs * use master lock file * add finalized_block_hash * Patch diener for CI * Bump Zombienet * Add 0007 zombienet test * Bump zombienet * Revert "Patch diener for CI" This reverts commit 9ece6c9fc9b17058b61cd7e9dee29d3a9af87841. * merge fixes * use master lock file * Update Substrate & Polkadot --------- Co-authored-by: Bastian Köcher <[email protected]> Co-authored-by: Michal Kucharczyk <[email protected]> Co-authored-by: Sebastian Kunert <[email protected]> Co-authored-by: Bastian Köcher <[email protected]>
-
- Jan 11, 2023
-
-
s0me0ne-unkn0wn authored
* Use primitives reexported from `polkadot_primitives` crate root * restart CI * Fixes after merge * update lockfile for {"polkadot", "substrate"} Co-authored-by: parity-processbot <>
-
- Dec 21, 2022
-
-
Michal Kucharczyk authored
* BlockId removal: refactor: HeaderBackend::status It changes the arguments of `HeaderBackend::status` method from: `BlockId<Block>` to: `Block::Hash` This PR is part of BlockId::Number refactoring analysis (paritytech/substrate#11292) * update lockfile for {"polkadot", "substrate"} Co-authored-by: parity-processbot <>
-
- Nov 07, 2022
-
-
Michal Kucharczyk authored
* BlockId removal: &Hash to Hash It changes &Block::Hash argument to Block::Hash. This PR is part of BlockId::Number refactoring analysis (paritytech/substrate#11292) * update lockfile for {"polkadot", "substrate"} Co-authored-by: parity-processbot <>
-
- Oct 14, 2022
-
-
Michal Kucharczyk authored
* BlockId removal refactor: Backend::state_at * corrected * update lockfile for {"substrate", "polkadot"} Co-authored-by: parity-processbot <>
-
- Oct 10, 2022
-
-
Sebastian Kunert authored
* Add minimal overseer gen with dummy subsystems * Fix dependencies * no-compile: only client transaction pool missing * Remove unused imports * Continue to hack towards PoC * Continue * Make mini node compile * Compiling version with blockchainevents trait * Continue * Check in lockfile * Block with tokio * update patches * Update polkadot patches * Use polkadot-primitives v2 * Fix build problems * First working version * Adjust cargo.lock * Add integration test * Make integration test work * Allow startinc collator without relay-chain args * Make OverseerRuntimeClient async * Create separate integration test * Remove unused ChainSelection code * Remove unused parameters on new-mini * Connect collator node in test to relay chain nodes * Make BlockChainRPCClient obsolete * Clean up * Clean up * Reimplement blockchain-rpc-events * Revert "Allow startinc collator without relay-chain args" This reverts commit f22c70e16521f375fe125df5616d48ceea926b1a. * Add `strict_record_validation` to AuthorityDiscovery * Move network to cumulus * Remove BlockchainRPCEvents * Remove `BlockIdTo` and `BlockchainEvents` * Make AuthorityDiscovery async * Use hash in OverseerRuntime * Adjust naming of runtime client trait * Implement more rpc-client methods * Improve error handling for `ApiError` * Extract authority-discovery creationand cleanup * RPC -> Rpc * Extract bitswap * Adjust to changes on master * Implement `hash` method * Introduce DummyChainSync, remove ProofProvider and BlockBackend * Remove `HeaderMetadata` from blockchain-rpc-client * Make ChainSync work * Implement NetworkHeaderBackend * Cleanup * Adjustments after master merge * Remove ImportQueue from network parameters * Remove cargo patches * Eliminate warnings * Revert to HeaderBackend * Add zombienet test * Implement `status()` method * Add more comments, improve readability * Remove patches from Cargo.toml * Remove integration test in favor of zombienet * Remove unused dependencies, rename minimal node crate * Adjust to latest master changes * fmt * Execute zombienet test on gitlab ci * Reuse network metrics * Chainsync metrics * fmt * Feed RPC node as boot node to the relay chain minimal node * fmt * Add bootnodes to zombienet collators * Allow specification of relay chain args * Apply review suggestions * Remove unnecessary casts * Enable PoV recovery for rpc full nodes * Revert unwanted changes * Make overseerHandle non-optional * Add availability-store subsystem * Add AuxStore and ChainApiSubsystem * Add availability distribution subsystem * Improve pov-recovery logging and add RPC nodes to tests * fmt * Make availability config const * lock * Enable debug logs for pov-recovery in zombienet * Add log filters to test binary * Allow wss * Address review comments * Apply reviewer comments * Adjust to master changes * Apply reviewer suggestions * Bump polkadot * Add builder method for minimal node * Bump substrate and polkadot * Clean up overseer building * Add bootnode to two in pov_recovery test * Fix missing quote in pov recovery zombienet test * Improve zombienet pov test * More debug logs for pov-recovery * Remove reserved nodes like on original test * Revert zombienet test to master
-
- Aug 09, 2022
-
-
Nazar Mokrynskyi authored
* Trivial networking changes for Substrate PR https://github.com/paritytech/substrate/pull/11940 * Apply formatting rules * update lockfile for {"polkadot", "substrate"} Co-authored-by: parity-processbot <>
-
- Jul 23, 2022
-
-
https://github.com/paritytech/polkadot/pull/5770ordian authored
* companion for https://github.com/paritytech/polkadot/pull/5770 * update lockfile for {"polkadot", "substrate"} Co-authored-by: parity-processbot <>
-
- Jul 21, 2022
-
-
Dmitry Markin authored
* Cleanup light client leftovers * Readme: make it clear that Collator is full node of parachain * cargo update -p sp-io * cargo update -p polkadot-primitives
-
- Jun 17, 2022
-
-
Sebastian Kunert authored
* Disable beefy for inprocess relay chain node * Update client/relay-chain-inprocess-interface/src/lib.rs Co-authored-by: Bastian Köcher <[email protected]>
-
- Jun 07, 2022
-
-
yjh authored
* chore: rm unused sc-service * fmt
-
- May 30, 2022
-
-
Bastian Köcher authored
This is basically a hack, but with the current way we initialize the node this is the easiest solution to ensure we send the correct version etc.
-
- May 06, 2022
-
-
https://github.com/paritytech/substrate/pull/10995Roman Gafiyatullin authored
* Substrate API change: https://github.com/paritytech/substrate/issues/8103 * fix fallout of https://github.com/paritytech/polkadot/pull/5454 * update lockfile for {"polkadot"} Co-authored-by: Bernhard Schuster <[email protected]> Co-authored-by: parity-processbot <>
-
- Apr 26, 2022
-
-
Koute authored
* Align to changes in Substrate * Align to the newest changes in substrate * Update `Cargo.lock` * Add hwbenches to `parachain-template` too * update lockfile for {"polkadot"} Co-authored-by: parity-processbot <>
-
- Apr 12, 2022
-
-
Tsvetomir Dimitrov authored
* Handle relocation of `ParachainHost` in Polkadot `ParachainHost` is no longer versioned and is in `runtime_api` module. This is a companion for https://github.com/paritytech/polkadot/pull/5048 * Update dependencies
-
- Mar 10, 2022
-
-
asynchronous rob authored
* branches * update all primitives references * fmt * Update Polkadot & Substrate * Again Co-authored-by: Bastian Köcher <[email protected]>
-
- Mar 04, 2022
-
-
Sebastian Kunert authored
* Run relay chain full node not as collator * Clean up
-
- Mar 01, 2022
-
-
Sebastian Kunert authored
* Initial network interface preparations * Implement get_storage_by_key * Implement `validators` and `session_index_for_child` * Implement persisted_validation_data and candidate_pending_availability * Fix method name for persisted_validation_data and add encoded params * Implement `retrieve_dmq_contents` and `retrieve_all_inbound_hrmp_channel_contents` * Implement `prove_read` * Introduce separate RPC client, expose JsonRpSee errors * Simplify closure in call_remote_runtime_function * Implement import stream, upgrade JsonRpSee * Implement finality stream * Remove unused method from interface * Implement `is_major_syncing` * Implement `wait_on_block` * Fix tests * Unify error handling `ApiError` * Replace WaitError with RelayChainError * Wrap BlockChainError in RelayChainError * Unify error handling in relay chain intefaces * Fix return type of proof method * Improve error handling of new methods * Improve error handling and move logging outside of interface * Clean up * Remove unwanted changes, clean up * Remove unused import * Add format for StatemachineError and remove nused From trait * Use 'thiserror' crate to simplify error handling * Expose error for overseer, further simplify error handling * Reintroduce network interface * Implement cli option * Adjust call_state method to use hashes * Disable PoV recovery when RPC is used * Add integration test for network full node * Use Hash instead of BlockId to ensure compatibility with RPC interface * Fix cargo check warnings * Implement retries * Remove `expect` statements from code * Update jsonrpsee to 0.8.0 and make collator keys optional * Make cli arguments conflicting * Remove unused `block_status` method * Add clippy fixes * Cargo fmt * Validate relay chain rpc url * Clean up dependencies and add one more integration test * Clean up * Clean up dependencies of relay-chain-network * Use hash instead of blockid for rpc methods * Fix tests * Update client/cli/src/lib.rs Co-authored-by: Koute <[email protected]> * Improve error message of cli validation * Add rpc client constructor * Do not use debug formatting for errors * Improve logging for remote runtime methods * Only retry on transport problems * Use PHash by value, rename test * Improve tracing, return error on relay-chain-interface build * Fix naming, use generics instead of deserializing manually * Rename RelayChainLocal and RelayChainNetwork * lock * Format * Use impl trait for encodable runtime payload * Only instantiate full node in tests when we need it * Upgrade scale-codec to 3.0.0 * Improve expect log Co-authored-by: Koute <[email protected]>
-