mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-14 01:41:09 +00:00
Track received attestations from recent blocks (#337)
* record attestations in storage ringbuffer * remove some reliance on Aura * fix up test configuration * extract attestations stuff out to its own module * add dummy inherent * use double_map * fix a couple more compilation errors
This commit is contained in:
committed by
GitHub
parent
8c4d882407
commit
4d19de4bd9
@@ -717,7 +717,7 @@ impl<C, TxApi> CreateProposal<C, TxApi> where
|
||||
let mut inherent_data = self.inherent_data
|
||||
.take()
|
||||
.expect("CreateProposal is not polled after finishing; qed");
|
||||
inherent_data.put_data(polkadot_runtime::PARACHAIN_INHERENT_IDENTIFIER, &candidates).map_err(Error::InherentError)?;
|
||||
inherent_data.put_data(polkadot_runtime::NEW_HEADS_IDENTIFIER, &candidates).map_err(Error::InherentError)?;
|
||||
|
||||
let runtime_api = self.client.runtime_api();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user