Blocks carry full attestations for candidates (#42)
* statement table yields fully-attested candidates
* attestation types in polkadot-primitives
* propose block with fully-attested candidates in consensus
* some signature-checking logic in the runtime
* fix runtime compilation
* ensure attestations are full and without duplicate when checking
* fix consensus-service compilation
* add some tests
* use bitvec from crates.io now that it's published
* sign statements based on primitive statement's encoding
* remove some serialize bounds
* Fix error message with duplicate availability attestations
Co-Authored-By:
rphmeier <rphmeier@gmail.com>
Showing
- polkadot/Cargo.lock 7 additions, 0 deletionspolkadot/Cargo.lock
- polkadot/consensus/src/lib.rs 9 additions, 7 deletionspolkadot/consensus/src/lib.rs
- polkadot/consensus/src/service.rs 1 addition, 1 deletionpolkadot/consensus/src/service.rs
- polkadot/consensus/src/shared_table/mod.rs 23 additions, 9 deletionspolkadot/consensus/src/shared_table/mod.rs
- polkadot/primitives/src/lib.rs 2 additions, 2 deletionspolkadot/primitives/src/lib.rs
- polkadot/primitives/src/parachain.rs 49 additions, 7 deletionspolkadot/primitives/src/parachain.rs
- polkadot/runtime/Cargo.toml 3 additions, 1 deletionpolkadot/runtime/Cargo.toml
- polkadot/runtime/src/lib.rs 6 additions, 0 deletionspolkadot/runtime/src/lib.rs
- polkadot/runtime/src/parachains.rs 400 additions, 23 deletionspolkadot/runtime/src/parachains.rs
- polkadot/runtime/wasm/Cargo.lock 7 additions, 0 deletionspolkadot/runtime/wasm/Cargo.lock
- polkadot/runtime/wasm/Cargo.toml 1 addition, 0 deletionspolkadot/runtime/wasm/Cargo.toml
- polkadot/runtime/wasm/target/wasm32-unknown-unknown/release/polkadot_runtime.compact.wasm 0 additions, 0 deletions...m32-unknown-unknown/release/polkadot_runtime.compact.wasm
- polkadot/runtime/wasm/target/wasm32-unknown-unknown/release/polkadot_runtime.wasm 0 additions, 0 deletions...rget/wasm32-unknown-unknown/release/polkadot_runtime.wasm
- polkadot/statement-table/src/generic.rs 87 additions, 7 deletionspolkadot/statement-table/src/generic.rs
- polkadot/statement-table/src/lib.rs 14 additions, 1 deletionpolkadot/statement-table/src/lib.rs
Please register or sign in to comment