- Mar 04, 2022
-
-
Sebastian Kunert authored
* Run relay chain full node not as collator * Clean up
-
- Mar 02, 2022
-
-
Bastian Köcher authored
* polkadot-collator: Switch to wasm only This switches the polkadot-collator to run everything in wasm only mode. While we should not that yet with the relay chain, because it can happen that we run out of memory (very unlikely). On the relay chain that would be bad, because we only have at max 2 sessions to bring everything back, for Parachains that isn't such a problem as they would only stall and we could roll out a release that fixes it. Besides that, Parachain validation on the relay chain happens in Wasm already all the time and there is the memory usage even higher then on block import. * cargo fmt * remove unused var Co-authored-by:
Squirrel <[email protected]>
-
Dan Shields authored
* Update throughout with common Cargo formating scheme
-
- Mar 01, 2022
-
-
Dan Shields authored
* add wasmtime feature to all parachain clients * Apply suggestions from code review Co-authored-by:
Bastian Köcher <[email protected]>
-
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]>
-
- Feb 25, 2022
-
-
wigy authored
* Updating dependencies * Adapting code to scale v3 * cargo fmt * Fix compilation * Update Cargo.lock * TIL exists Co-authored-by:
Bastian Köcher <[email protected]>
-
- Feb 23, 2022
-
-
Bastian Köcher authored
-
Alexander Theißen authored
-
dependabot[bot] authored
* Bump clap from 3.0.7 to 3.1.1 Bumps [clap](https://github.com/clap-rs/clap) from 3.0.7 to 3.1.1. - [Release notes](https://github.com/clap-rs/clap/releases) - [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md) - [Commits](https://github.com/clap-rs/clap/compare/v3.0.7...v3.1.1 ) --- updated-dependencies: - dependency-name: clap dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by:
dependabot[bot] <[email protected]> * Fix up deprecated usages * cargo fmt Co-authored-by:
dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by:
Keith Yeung <[email protected]>
-
- Feb 22, 2022
-
-
André Silva authored
* companion for slot duration changes * fix aura inherent data provider * update lockfile for {"polkadot"} Co-authored-by: parity-processbot <>
-
Bastian Köcher authored
This is a crate that shouldn't be used outside of the Substrate Node. Here the correct crate is the `polkadot-core-primitives` to get the `Balance` type.
-
dependabot[bot] authored
Bumps [assert_cmd](https://github.com/assert-rs/assert_cmd) from 0.12.2 to 2.0.4. - [Release notes](https://github.com/assert-rs/assert_cmd/releases) - [Changelog](https://github.com/assert-rs/assert_cmd/blob/master/CHANGELOG.md) - [Commits](https://github.com/assert-rs/assert_cmd/compare/v0.12.2...v2.0.4 ) --- updated-dependencies: - dependency-name: assert_cmd dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by:
dependabot[bot] <[email protected]> Co-authored-by:
dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
-
dependabot[bot] authored
Bumps [nix](https://github.com/nix-rust/nix) from 0.17.0 to 0.23.1. - [Release notes](https://github.com/nix-rust/nix/releases) - [Changelog](https://github.com/nix-rust/nix/blob/master/CHANGELOG.md) - [Commits](https://github.com/nix-rust/nix/compare/v0.17.0...v0.23.1 ) --- updated-dependencies: - dependency-name: nix 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>
-
dependabot[bot] authored
Bumps [hex-literal](https://github.com/RustCrypto/utils) from 0.2.1 to 0.3.4. - [Release notes](https://github.com/RustCrypto/utils/releases) - [Commits](https://github.com/RustCrypto/utils/compare/hex-literal-v0.2.1...hex-literal-v0.3.4 ) --- 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>
-
- Feb 21, 2022
-
-
Alexander Theißen authored
* Run migrations defined by pallet-contracts * cargo fmt
-
Alexander Theißen authored
* canvas: Move contracts config to own file * Reduce usage of parameter_types where possible * Fix try-runtime compilation
-
Alexander Theißen authored
-
Squirrel authored
-
Alexander Theißen authored
-
Bastian Köcher authored
Before this fix the relay chain node name was always a random generated, because we did not had implemented all the required methods of the `CliConfiguration` trait.
-
Alexander Theißen authored
-
- Feb 17, 2022
-
-
Alexander Theißen authored
* Added kanvas runtime * Fix up benchmarking * Fixup markdown stucture * replace :emoji_name: by utf8 * fix up header hierarchy * Merge canvas README * Only use "Canvas" as a name * Remove reference to Rocanvas
-
- Feb 11, 2022
-
-
Keith Yeung authored
* Move XCM configurations out into its own module * Revert removal of the AccountNonceApi
-
- Feb 10, 2022
-
-
Squirrel authored
-
Squirrel authored
Co-authored-by:
Ignacio Palacios <[email protected]>
-
Squirrel authored
Co-authored-by:
Ignacio Palacios <[email protected]>
-
Squirrel authored
-
Squirrel authored
Co-authored-by:
Wilfried Kopp <[email protected]>
-
- Feb 09, 2022
-
-
yjh authored
* chore: fix typos for consensus * chore: fix typos for RelayChainError
-
- Feb 01, 2022
-
-
Chris Sosnin authored
-
- Jan 31, 2022
-
-
Keith Yeung authored
* Add the ability to suspend or resume XCM execution on the XCMP queue * Rename QueueActive to QueueSuspended * Add the ability to suspend the DMP queue * Rename XCMP to DMP in comments where appropriate Co-authored-by:
Alexander Popiak <[email protected]> * Add a bypass for XCMP queue suspension * Revert "Add the ability to suspend the DMP queue" This reverts commit 363ca09b41e40fce3f2740e7ab78f5c54781ca5c. * Change controller origin to either root or council-issued origin * Rename to ControllerOriginConverter Co-authored-by:
Alexander Popiak <[email protected]>
-
- Jan 26, 2022
-
-
Squirrel authored
* Add safe_xcm_version to Genesis Specs (#743) * add safe_xcm_version to genesis specs * cargo +nightly fmt * Point to xcm latest version Co-authored-by:
Alexander Popiak <[email protected]>
-
- Jan 25, 2022
-
-
Sebastian Kunert authored
-
WMQ authored
* fix: remove duplicate event of pallet_balances https://github.com/paritytech/substrate/blob/master/frame/support/src/traits/tokens/currency.rs#L158 https://github.com/paritytech/substrate/blob/master/frame/balances/src/lib.rs#L1647 Since 0.9.12 of substrate, there is no need for a separate of balances event in runtime. * Update impls.rs
-
Qinxuan Chen authored
* Companion for substrate#10632 Signed-off-by:
koushiro <[email protected]> * cargo update -p clap Signed-off-by:
koushiro <[email protected]> * Update substrate * update lockfile for {"polkadot"} Co-authored-by:
Keith Yeung <[email protected]> Co-authored-by: parity-processbot <>
-
- Jan 22, 2022
-
-
Bastian Köcher authored
* Update Substrate & Polkadot * Hmm * Set workspace hint path * Test * Use absolute path * Update again
-
- Jan 21, 2022
-
-
Bastian Köcher authored
* pov-recovery: Enable pov-recovery as well on full nodes Pov recovery was before only enabled for collators. The reason behind this was prevention of spam of the relay chain for block recovery. However, recent events has shown that this wasn't a good idea. So, this pr enables pov-recover for normal full nodes as well, but with a much higher delay before trying to recover a block. This means that full nodes will wait in minimum 2.5 minutes and in maximum 5 minutes before recovering a block. This should give collators in "normal mode" enough time to recover a block (they wait in maximum 6 seconds after they have seen a new candidate in the relay chain) before recovering a block. So, we should hopefully not spam the relay chain. * FMT * Fixes * Fix documentation
-
Oliver Tale-Yazdi authored
Signed-off-by:
Oliver Tale-Yazdi <[email protected]>
-
Squirrel authored
Co-authored-by:
Chevdor <[email protected]>
-
Keith Yeung authored
* Rename ParentIsDefault to ParentIsAllZeroes * Fixes * Create ParentAccounts for respective networks * Fixes * Use b"Parent" as the basis for generating parent AccountId * Fixes * Use preset parent account ID * update lockfile for {"polkadot"} Co-authored-by: parity-processbot <>
-