chore: regenerate umbrella crate, fix feature propagation
This commit is contained in:
@@ -50,6 +50,7 @@
|
||||
use codec::{Decode, DecodeWithMemTracking, Encode, MaxEncodedLen};
|
||||
use scale_info::TypeInfo;
|
||||
|
||||
pub use payment::*;
|
||||
use pezframe_support::{
|
||||
dispatch::{
|
||||
DispatchClass, DispatchInfo, DispatchResult, GetDispatchInfo, Pays, PostDispatchInfo,
|
||||
@@ -60,7 +61,6 @@ use pezframe_support::{
|
||||
RuntimeDebugNoBound,
|
||||
};
|
||||
pub use pezpallet::*;
|
||||
pub use payment::*;
|
||||
use pezsp_runtime::{
|
||||
traits::{
|
||||
Convert, DispatchInfoOf, Dispatchable, One, PostDispatchInfoOf, SaturatedConversion,
|
||||
@@ -352,7 +352,8 @@ pub mod pezpallet {
|
||||
/// The overarching event type.
|
||||
#[pezpallet::no_default_bounds]
|
||||
#[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>;
|
||||
|
||||
/// Handler for withdrawing, refunding and depositing the transaction fee.
|
||||
/// Transaction fees are withdrawn before the transaction is executed.
|
||||
@@ -521,9 +522,9 @@ impl<T: Config> Pezpallet<T> {
|
||||
|
||||
/// Query the data that we know about the fee of a given `call`.
|
||||
///
|
||||
/// This pezpallet is not and cannot be aware of the internals of a signed extension, for example
|
||||
/// a tip. It only interprets the extrinsic as some encoded value and accounts for its weight
|
||||
/// and length, the runtime's extrinsic base weight, and the current fee multiplier.
|
||||
/// This pezpallet is not and cannot be aware of the internals of a signed extension, for
|
||||
/// example a tip. It only interprets the extrinsic as some encoded value and accounts for its
|
||||
/// weight and length, the runtime's extrinsic base weight, and the current fee multiplier.
|
||||
///
|
||||
/// All dispatchables must be annotated with weight and will have some fee info. This function
|
||||
/// always returns.
|
||||
|
||||
@@ -29,11 +29,11 @@ use pezframe_support::{
|
||||
},
|
||||
unsigned::TransactionValidityError,
|
||||
};
|
||||
use scale_info::TypeInfo;
|
||||
use pezsp_runtime::{
|
||||
traits::{CheckedSub, DispatchInfoOf, PostDispatchInfoOf, Saturating, Zero},
|
||||
transaction_validity::InvalidTransaction,
|
||||
};
|
||||
use scale_info::TypeInfo;
|
||||
|
||||
type NegativeImbalanceOf<C, T> =
|
||||
<C as Currency<<T as pezframe_system::Config>::AccountId>>::NegativeImbalance;
|
||||
@@ -104,9 +104,9 @@ pub trait TxCreditHold<T: Config> {
|
||||
type Credit: FullCodec + DecodeWithMemTracking + MaxEncodedLen + TypeInfo + SuppressedDrop;
|
||||
}
|
||||
|
||||
/// Implements transaction payment for a pezpallet implementing the [`pezframe_support::traits::fungible`]
|
||||
/// trait (eg. pezpallet_balances) using an unbalance handler (implementing
|
||||
/// [`OnUnbalanced`]).
|
||||
/// Implements transaction payment for a pezpallet implementing the
|
||||
/// [`pezframe_support::traits::fungible`] trait (eg. pezpallet_balances) using an unbalance handler
|
||||
/// (implementing [`OnUnbalanced`]).
|
||||
///
|
||||
/// The unbalance handler is given 2 unbalanceds in [`OnUnbalanced::on_unbalanceds`]: `fee` and
|
||||
/// then `tip`.
|
||||
|
||||
@@ -27,6 +27,7 @@ use pezsp_runtime::{
|
||||
BuildStorage,
|
||||
};
|
||||
|
||||
use mock::*;
|
||||
use pezframe_support::{
|
||||
assert_ok,
|
||||
dispatch::{DispatchClass, DispatchInfo, GetDispatchInfo, PostDispatchInfo},
|
||||
@@ -34,7 +35,6 @@ use pezframe_support::{
|
||||
weights::Weight,
|
||||
};
|
||||
use pezframe_system as system;
|
||||
use mock::*;
|
||||
use pezpallet_balances::Call as BalancesCall;
|
||||
|
||||
pub struct ExtBuilder {
|
||||
|
||||
Reference in New Issue
Block a user