chore: regenerate umbrella crate, fix feature propagation
This commit is contained in:
@@ -306,7 +306,8 @@ mod benchmarks {
|
||||
proxy_type: T::ProxyType::default(),
|
||||
disambiguation_index: 0,
|
||||
at: <T as Config>::BlockNumberProvider::current_block_number(),
|
||||
extrinsic_index: pezframe_system::Pezpallet::<T>::extrinsic_index().unwrap_or_default(),
|
||||
extrinsic_index: pezframe_system::Pezpallet::<T>::extrinsic_index()
|
||||
.unwrap_or_default(),
|
||||
}
|
||||
.into(),
|
||||
);
|
||||
|
||||
@@ -16,8 +16,8 @@
|
||||
// limitations under the License.
|
||||
|
||||
//! # Proxy Pezpallet
|
||||
//! A pezpallet allowing accounts to give permission to other accounts to dispatch types of calls from
|
||||
//! their signed origin.
|
||||
//! A pezpallet allowing accounts to give permission to other accounts to dispatch types of calls
|
||||
//! from their signed origin.
|
||||
//!
|
||||
//! The accounts to which permission is delegated may be required to announce the action that they
|
||||
//! wish to execute some duration prior to execution happens. In this case, the target account may
|
||||
@@ -132,7 +132,8 @@ pub mod pezpallet {
|
||||
pub trait Config: pezframe_system::Config {
|
||||
/// The overarching event type.
|
||||
#[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>;
|
||||
|
||||
/// The overarching call type.
|
||||
type RuntimeCall: Parameter
|
||||
@@ -219,8 +220,8 @@ pub mod pezpallet {
|
||||
/// - are freshly deploying this pezpallet: `RelaychainDataProvider`
|
||||
/// - Teyrchains with a reliably block production rate (PLO or bulk-coretime):
|
||||
/// - already have the pezpallet deployed: `pezframe_system::Pezpallet`
|
||||
/// - are freshly deploying this pezpallet: no strong recommendation. Both local and remote
|
||||
/// providers can be used. Relay provider can be a bit better in cases where the
|
||||
/// - are freshly deploying this pezpallet: no strong recommendation. Both local and
|
||||
/// remote providers can be used. Relay provider can be a bit better in cases where the
|
||||
/// teyrchain is lagging its block production to avoid clock skew.
|
||||
type BlockNumberProvider: BlockNumberProvider;
|
||||
}
|
||||
@@ -357,7 +358,8 @@ pub mod pezpallet {
|
||||
T::Currency::reserve(&who, deposit)?;
|
||||
|
||||
Proxies::<T>::insert(&pure, (bounded_proxies, deposit));
|
||||
let extrinsic_index = <pezframe_system::Pezpallet<T>>::extrinsic_index().unwrap_or_default();
|
||||
let extrinsic_index =
|
||||
<pezframe_system::Pezpallet<T>>::extrinsic_index().unwrap_or_default();
|
||||
Self::deposit_event(Event::PureCreated {
|
||||
pure,
|
||||
who,
|
||||
|
||||
Reference in New Issue
Block a user