chore: regenerate umbrella crate, fix feature propagation
This commit is contained in:
@@ -18,9 +18,9 @@
|
||||
use alloc::{vec, vec::Vec};
|
||||
use codec::{Decode, DecodeWithMemTracking, Encode, Error, Input};
|
||||
use core::cmp;
|
||||
use scale_info::TypeInfo;
|
||||
use pezsp_application_crypto::RuntimeAppPublic;
|
||||
use pezsp_runtime::traits::Hash;
|
||||
use scale_info::TypeInfo;
|
||||
|
||||
use crate::{BeefyAuthorityId, Payload, ValidatorSet, ValidatorSetId};
|
||||
|
||||
|
||||
@@ -49,7 +49,6 @@ pub use payload::{known_payloads, BeefyPayloadId, Payload, PayloadProvider};
|
||||
use alloc::vec::Vec;
|
||||
use codec::{Codec, Decode, DecodeWithMemTracking, Encode};
|
||||
use core::fmt::{Debug, Display};
|
||||
use scale_info::TypeInfo;
|
||||
use pezsp_application_crypto::{AppPublic, RuntimeAppPublic};
|
||||
use pezsp_core::H256;
|
||||
use pezsp_runtime::{
|
||||
@@ -57,6 +56,7 @@ use pezsp_runtime::{
|
||||
OpaqueValue,
|
||||
};
|
||||
use pezsp_weights::Weight;
|
||||
use scale_info::TypeInfo;
|
||||
|
||||
/// Key type for BEEFY module.
|
||||
pub const KEY_TYPE: pezsp_core::crypto::KeyTypeId = pezsp_application_crypto::key_types::BEEFY;
|
||||
|
||||
@@ -29,11 +29,11 @@
|
||||
use crate::{ecdsa_crypto::AuthorityId, ConsensusLog, MmrRootHash, BEEFY_ENGINE_ID};
|
||||
use alloc::vec::Vec;
|
||||
use codec::{Decode, Encode, MaxEncodedLen};
|
||||
use scale_info::TypeInfo;
|
||||
use pezsp_runtime::{
|
||||
generic::OpaqueDigestItemId,
|
||||
traits::{Block, Header},
|
||||
};
|
||||
use scale_info::TypeInfo;
|
||||
|
||||
/// A provider for extra data that gets added to the Mmr leaf
|
||||
pub trait BeefyDataProvider<ExtraData> {
|
||||
@@ -48,7 +48,8 @@ impl BeefyDataProvider<Vec<u8>> for () {
|
||||
}
|
||||
}
|
||||
|
||||
/// A standard leaf that gets added every block to the MMR constructed by Bizinikiwi's `pezpallet_mmr`.
|
||||
/// A standard leaf that gets added every block to the MMR constructed by Bizinikiwi's
|
||||
/// `pezpallet_mmr`.
|
||||
#[derive(Debug, PartialEq, Eq, Clone, Encode, Decode, TypeInfo)]
|
||||
pub struct MmrLeaf<BlockNumber, Hash, MerkleRoot, ExtraData> {
|
||||
/// Version of the leaf format.
|
||||
|
||||
@@ -17,8 +17,8 @@
|
||||
|
||||
use alloc::{vec, vec::Vec};
|
||||
use codec::{Decode, DecodeWithMemTracking, Encode};
|
||||
use scale_info::TypeInfo;
|
||||
use pezsp_runtime::traits::Block;
|
||||
use scale_info::TypeInfo;
|
||||
|
||||
/// Id of different payloads in the [`crate::Commitment`] data.
|
||||
pub type BeefyPayloadId = [u8; 2];
|
||||
|
||||
Reference in New Issue
Block a user