Disputes which are unknown for the Runtime are sent with priority by the...
Disputes which are unknown for the Runtime are sent with priority by the Provisioner when preparing inherent data (#5336) * Implement MallocSizeOf for DisputeState * Implementation of `Disputes` Runtime API message * Modify on-chain dispute import * Add feature flag for the new functionality * Update node/core/provisioner/src/onchain_disputes.rs Co-authored-by:Andrei Sandu <54316454+sandreim@users.noreply.github.com> * Add target to log messages * Update node/core/provisioner/src/lib.rs Co-authored-by:
Andronik <write@reusable.software> * Use `staging-client` feature to enable the client code using the staging runtime api * Remove TODO comment * Don't filter out DisputeState * Fix disputes selection logic * spelling * Tests * Rename `Disputes` message to `StagingDisputes` * Update node/core/provisioner/src/lib.rs Co-authored-by:
Bernhard Schuster <bernhard@ahoi.io> * Code review feedback - Logging - Separate error module - Add additional fields for GetOnchainDisputesErr - logging and impl MallocSizeOf - fix impl MallocSizeOf for DisputeState - fix tests * Update node/core/provisioner/src/error.rs Co-authored-by:
Andronik <write@reusable.software> * Update node/core/provisioner/src/lib.rs Co-authored-by:
Andronik <write@reusable.software> * Update node/core/provisioner/src/lib.rs Co-authored-by:
Andronik <write@reusable.software> * Apply suggestions from code review dummy metrics instance Co-authored-by:
Bernhard Schuster <bernhard@ahoi.io> * Revert "Apply suggestions from code review" This reverts commit 6dc518cbf77e037ff4760d315938a68c806e662e. * Code review feedback: #[cfg(test)] for new_dummy() in metrics * Code review feedback: break the disputes generation logic in separate functions * Code review feedback - align_eight Co-authored-by:
Andrei Sandu <54316454+sandreim@users.noreply.github.com> Co-authored-by:
Andronik <write@reusable.software> Co-authored-by:
Bernhard Schuster <bernhard@ahoi.io>
Showing
- polkadot/Cargo.lock 1 addition, 0 deletionspolkadot/Cargo.lock
- polkadot/Cargo.toml 1 addition, 0 deletionspolkadot/Cargo.toml
- polkadot/cli/Cargo.toml 1 addition, 0 deletionspolkadot/cli/Cargo.toml
- polkadot/node/core/provisioner/Cargo.toml 4 additions, 0 deletionspolkadot/node/core/provisioner/Cargo.toml
- polkadot/node/core/provisioner/src/error.rs 83 additions, 0 deletionspolkadot/node/core/provisioner/src/error.rs
- polkadot/node/core/provisioner/src/lib.rs 101 additions, 71 deletionspolkadot/node/core/provisioner/src/lib.rs
- polkadot/node/core/provisioner/src/metrics.rs 6 additions, 0 deletionspolkadot/node/core/provisioner/src/metrics.rs
- polkadot/node/core/provisioner/src/onchain_disputes.rs 74 additions, 0 deletionspolkadot/node/core/provisioner/src/onchain_disputes.rs
- polkadot/node/core/provisioner/src/tests.rs 424 additions, 15 deletionspolkadot/node/core/provisioner/src/tests.rs
- polkadot/node/core/runtime-api/src/cache.rs 24 additions, 2 deletionspolkadot/node/core/runtime-api/src/cache.rs
- polkadot/node/core/runtime-api/src/lib.rs 6 additions, 0 deletionspolkadot/node/core/runtime-api/src/lib.rs
- polkadot/node/service/Cargo.toml 2 additions, 0 deletionspolkadot/node/service/Cargo.toml
- polkadot/node/subsystem-types/src/messages.rs 10 additions, 6 deletionspolkadot/node/subsystem-types/src/messages.rs
- polkadot/primitives/src/v2/mod.rs 16 additions, 0 deletionspolkadot/primitives/src/v2/mod.rs
Please register or sign in to comment