chore: regenerate umbrella crate, fix feature propagation
This commit is contained in:
@@ -28,10 +28,10 @@ pub mod inherents;
|
||||
#[cfg(not(feature = "std"))]
|
||||
use alloc::vec::Vec;
|
||||
use codec::{Decode, DecodeWithMemTracking, Encode, MaxEncodedLen};
|
||||
use pezsp_runtime::{traits::Header, ConsensusEngineId, RuntimeDebug};
|
||||
use scale_info::TypeInfo;
|
||||
#[cfg(feature = "serde")]
|
||||
use serde::{Deserialize, Serialize};
|
||||
use pezsp_runtime::{traits::Header, ConsensusEngineId, RuntimeDebug};
|
||||
|
||||
use crate::digests::{NextConfigDescriptor, NextEpochDescriptor};
|
||||
|
||||
|
||||
@@ -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];
|
||||
|
||||
@@ -35,9 +35,9 @@ pub mod error;
|
||||
mod select_chain;
|
||||
|
||||
pub use self::error::Error;
|
||||
pub use select_chain::SelectChain;
|
||||
pub use pezsp_inherents::InherentData;
|
||||
pub use pezsp_state_machine::Backend as StateBackend;
|
||||
pub use select_chain::SelectChain;
|
||||
|
||||
/// Block status.
|
||||
#[derive(Debug, PartialEq, Eq, Clone)]
|
||||
|
||||
@@ -26,13 +26,13 @@ use serde::Serialize;
|
||||
|
||||
use alloc::vec::Vec;
|
||||
use codec::{Codec, Decode, DecodeWithMemTracking, Encode};
|
||||
use scale_info::TypeInfo;
|
||||
#[cfg(feature = "std")]
|
||||
use pezsp_keystore::KeystorePtr;
|
||||
use pezsp_runtime::{
|
||||
traits::{Header as HeaderT, NumberFor},
|
||||
ConsensusEngineId, OpaqueValue, RuntimeDebug,
|
||||
};
|
||||
use scale_info::TypeInfo;
|
||||
|
||||
/// The log target to be used by client code.
|
||||
pub const CLIENT_LOG_TARGET: &str = "grandpa";
|
||||
|
||||
@@ -25,9 +25,9 @@ extern crate alloc;
|
||||
|
||||
use alloc::vec::Vec;
|
||||
use codec::{Decode, DecodeWithMemTracking, Encode, MaxEncodedLen};
|
||||
use scale_info::TypeInfo;
|
||||
use pezsp_core::crypto::KeyTypeId;
|
||||
use pezsp_runtime::{ConsensusEngineId, RuntimeDebug};
|
||||
use scale_info::TypeInfo;
|
||||
|
||||
pub use pezsp_consensus_slots::{Slot, SlotDuration};
|
||||
|
||||
|
||||
@@ -20,8 +20,8 @@
|
||||
#![cfg_attr(not(feature = "std"), no_std)]
|
||||
|
||||
use codec::{Decode, DecodeWithMemTracking, Encode, MaxEncodedLen};
|
||||
use scale_info::TypeInfo;
|
||||
use pezsp_timestamp::Timestamp;
|
||||
use scale_info::TypeInfo;
|
||||
|
||||
/// Unit type wrapper that represents a slot.
|
||||
#[derive(
|
||||
|
||||
Reference in New Issue
Block a user