mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-07-19 11:05:40 +00:00
make era public (#11575)
This commit is contained in:
@@ -33,7 +33,7 @@ use sp_runtime::{
|
|||||||
/// The extension affects `longevity` of the transaction according to the [`Era`] definition.
|
/// The extension affects `longevity` of the transaction according to the [`Era`] definition.
|
||||||
#[derive(Encode, Decode, Clone, Eq, PartialEq, TypeInfo)]
|
#[derive(Encode, Decode, Clone, Eq, PartialEq, TypeInfo)]
|
||||||
#[scale_info(skip_type_params(T))]
|
#[scale_info(skip_type_params(T))]
|
||||||
pub struct CheckMortality<T: Config + Send + Sync>(Era, sp_std::marker::PhantomData<T>);
|
pub struct CheckMortality<T: Config + Send + Sync>(pub Era, sp_std::marker::PhantomData<T>);
|
||||||
|
|
||||||
impl<T: Config + Send + Sync> CheckMortality<T> {
|
impl<T: Config + Send + Sync> CheckMortality<T> {
|
||||||
/// utility constructor. Used only in client/factory code.
|
/// utility constructor. Used only in client/factory code.
|
||||||
|
|||||||
Reference in New Issue
Block a user