mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-26 01:47:55 +00:00
60e537b95f
First step in implementing https://github.com/paritytech/polkadot-sdk/issues/3144 ### Summary of changes - switch statement `Table` candidate mapping from `ParaId` to `CoreIndex` - introduce experimental `InjectCoreIndex` node feature. - determine and assume a `CoreIndex` for a candidate based on statement validator index. If the signature is valid it means validator controls the validator that index and we can easily map it to a validator group/core. - introduce a temporary provisioner fix until we fully enable elastic scaling in the subystem. The fix ensures we don't fetch the same backable candidate when calling `get_backable_candidate` for each core. TODO: - [x] fix backing tests - [x] fix statement table tests - [x] add new test --------- Signed-off-by: Andrei Sandu <andrei-mihail@parity.io> Signed-off-by: alindima <alin@parity.io> Co-authored-by: alindima <alin@parity.io>
17 lines
541 B
TOML
17 lines
541 B
TOML
[package]
|
|
name = "polkadot-statement-table"
|
|
version = "7.0.0"
|
|
authors.workspace = true
|
|
edition.workspace = true
|
|
license.workspace = true
|
|
description = "Stores messages other authorities issue about candidates in Polkadot."
|
|
|
|
[lints]
|
|
workspace = true
|
|
|
|
[dependencies]
|
|
parity-scale-codec = { version = "3.6.1", default-features = false, features = ["derive"] }
|
|
sp-core = { path = "../../substrate/primitives/core" }
|
|
primitives = { package = "polkadot-primitives", path = "../primitives" }
|
|
gum = { package = "tracing-gum", path = "../node/gum" }
|