mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-07-17 06:35:42 +00:00
BEEFY: client support for detecting equivocated votes (#13285)
* client/beefy: detect equivocated votes * client/beefy: make sure to persist state after voting * client/beefy: drop never-used aux-schema v2 migration * impl review suggestion --------- Signed-off-by: Adrian Catangiu <adrian@parity.io>
This commit is contained in:
@@ -81,12 +81,13 @@ fn verify_with_validator_set<Block: BlockT>(
|
||||
#[cfg(test)]
|
||||
pub(crate) mod tests {
|
||||
use beefy_primitives::{
|
||||
known_payloads, Commitment, Payload, SignedCommitment, VersionedFinalityProof,
|
||||
keyring::Keyring, known_payloads, Commitment, Payload, SignedCommitment,
|
||||
VersionedFinalityProof,
|
||||
};
|
||||
use substrate_test_runtime_client::runtime::Block;
|
||||
|
||||
use super::*;
|
||||
use crate::{keystore::tests::Keyring, tests::make_beefy_ids};
|
||||
use crate::tests::make_beefy_ids;
|
||||
|
||||
pub(crate) fn new_finality_proof(
|
||||
block_num: NumberFor<Block>,
|
||||
|
||||
Reference in New Issue
Block a user