chore: regenerate umbrella crate, fix feature propagation
This commit is contained in:
@@ -118,7 +118,8 @@ pub mod pezpallet {
|
||||
#[pezpallet::config]
|
||||
pub trait Config: pezframe_system::Config {
|
||||
#[allow(deprecated)]
|
||||
type RuntimeEvent: From<Event<Self>> + IsType<<Self as pezframe_system::Config>::RuntimeEvent>;
|
||||
type RuntimeEvent: From<Event<Self>>
|
||||
+ IsType<<Self as pezframe_system::Config>::RuntimeEvent>;
|
||||
|
||||
type Hashing: Hash<Output = H256>;
|
||||
|
||||
@@ -163,7 +164,8 @@ pub mod pezpallet {
|
||||
type GatewayAddress: Get<H160>;
|
||||
/// Reward discriminator type.
|
||||
type RewardKind: Parameter + MaxEncodedLen + Send + Sync + Copy + Clone;
|
||||
/// The default RewardKind discriminator for rewards allocated to relayers from this pezpallet.
|
||||
/// The default RewardKind discriminator for rewards allocated to relayers from this
|
||||
/// pezpallet.
|
||||
#[pezpallet::constant]
|
||||
type DefaultRewardKind: Get<Self::RewardKind>;
|
||||
/// Relayer reward payment.
|
||||
|
||||
@@ -11,7 +11,6 @@ use pezframe_support::{
|
||||
|
||||
use codec::{Decode, DecodeWithMemTracking, Encode, MaxEncodedLen};
|
||||
use hex_literal::hex;
|
||||
use scale_info::TypeInfo;
|
||||
use pezsnowbridge_core::{AgentId, AgentIdOf, ChannelId, ParaId};
|
||||
use pezsnowbridge_outbound_queue_primitives::{v2::*, Log, Proof, VerificationError, Verifier};
|
||||
use pezsnowbridge_test_utils::mock_rewards::{BridgeReward, MockRewardLedger};
|
||||
@@ -21,6 +20,7 @@ use pezsp_runtime::{
|
||||
AccountId32, BuildStorage,
|
||||
};
|
||||
use pezsp_std::marker::PhantomData;
|
||||
use scale_info::TypeInfo;
|
||||
use xcm::prelude::Here;
|
||||
use xcm_executor::traits::ConvertLocation;
|
||||
|
||||
|
||||
@@ -6,13 +6,13 @@ use crate::{
|
||||
};
|
||||
use alloy_core::primitives::FixedBytes;
|
||||
use codec::Encode;
|
||||
use hex_literal::hex;
|
||||
use pezframe_support::{
|
||||
assert_err, assert_noop, assert_ok,
|
||||
traits::{Hooks, ProcessMessage, ProcessMessageError, QueueFootprintQuery},
|
||||
weights::WeightMeter,
|
||||
BoundedVec,
|
||||
};
|
||||
use hex_literal::hex;
|
||||
use pezsnowbridge_core::{digest_item::SnowbridgeDigestItem, ChannelId, ParaId};
|
||||
use pezsnowbridge_outbound_queue_primitives::{
|
||||
v2::{abi::OutboundMessageWrapper, Command, Initializer, SendMessage},
|
||||
|
||||
@@ -3,11 +3,11 @@
|
||||
use super::Pezpallet;
|
||||
use codec::{Decode, Encode, MaxEncodedLen};
|
||||
use pezframe_support::traits::ProcessMessage;
|
||||
use scale_info::TypeInfo;
|
||||
pub use pezsnowbridge_merkle_tree::MerkleProof;
|
||||
use pezsp_core::H256;
|
||||
use pezsp_runtime::RuntimeDebug;
|
||||
use pezsp_std::prelude::*;
|
||||
use scale_info::TypeInfo;
|
||||
|
||||
pub type ProcessMessageOriginOf<T> = <Pezpallet<T> as ProcessMessage>::Origin;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user