mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-12-02 07:17:09 +00:00
Move BEEFY code to consensus (#13484)
* Move beefy primitives to consensus dir * Move beefy gadget to client consensus folder * Rename beefy crates
This commit is contained in:
1 parent
1eb0cd31b9
commit
1ef9c473e7
47 files changed
+260
-262
No files matched your search
@@ -43,13 +43,13 @@ mod offchain_mmr;
|
||||
pub mod test_utils;
|
||||
|
||||
use crate::offchain_mmr::OffchainMmr;
|
||||
use beefy_primitives::MmrRootHash;
|
||||
use futures::StreamExt;
|
||||
use log::{debug, error, trace, warn};
|
||||
use sc_client_api::{Backend, BlockchainEvents, FinalityNotification, FinalityNotifications};
|
||||
use sc_offchain::OffchainDb;
|
||||
use sp_api::ProvideRuntimeApi;
|
||||
use sp_blockchain::{HeaderBackend, HeaderMetadata};
|
||||
use sp_consensus_beefy::MmrRootHash;
|
||||
use sp_mmr_primitives::{utils, LeafIndex, MmrApi};
|
||||
use sp_runtime::traits::{Block, Header, NumberFor};
|
||||
use std::{marker::PhantomData, sync::Arc};
|
||||
|
||||
@@ -22,11 +22,11 @@
|
||||
#![warn(missing_docs)]
|
||||
|
||||
use crate::{aux_schema, MmrClient, LOG_TARGET};
|
||||
use beefy_primitives::MmrRootHash;
|
||||
use log::{debug, error, info, warn};
|
||||
use sc_client_api::{Backend, FinalityNotification};
|
||||
use sc_offchain::OffchainDb;
|
||||
use sp_blockchain::{CachedHeaderMetadata, ForkBackend};
|
||||
use sp_consensus_beefy::MmrRootHash;
|
||||
use sp_core::offchain::{DbExternalities, StorageKind};
|
||||
use sp_mmr_primitives::{utils, utils::NodesUtils, MmrApi, NodeIndex};
|
||||
use sp_runtime::{
|
||||
|
||||
Reference in new issue
Block a user