mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-28 14:27:57 +00:00
Approval voting failsafe (#2675)
* add consensus log type * origin and issue force_approve * add origin in runtimes * ref API * scrape force_approve digest from header * add parent_hash to BlockEntry * add block_number to block entry and force_approve skeleton * implement and plug in force-approve * test force_approve * test force_approve extraction * westend runtime * Update node/core/approval-voting/src/approval_db/v1/mod.rs Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com> * rename * Update runtime/parachains/src/initializer.rs Co-authored-by: André Silva <123550+andresilva@users.noreply.github.com> Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com> Co-authored-by: André Silva <123550+andresilva@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
dce20644c8
commit
ef816b089d
@@ -314,6 +314,8 @@ fn add_block(
|
||||
block_hash,
|
||||
approval_db::v1::BlockEntry {
|
||||
block_hash,
|
||||
parent_hash: Default::default(),
|
||||
block_number: 0,
|
||||
session,
|
||||
slot,
|
||||
candidates: Vec::new(),
|
||||
|
||||
Reference in New Issue
Block a user