Struct TestDefaultConfig

Source
pub struct TestDefaultConfig;

Trait Implementations§

Source§

impl DefaultConfig for TestDefaultConfig

Source§

type Nonce = <TestDefaultConfig as DefaultConfig>::Nonce

This stores the number of previous transactions associated with a sender account.
Source§

type Hash = <TestDefaultConfig as DefaultConfig>::Hash

The output of the Hashing function.
Source§

type Hashing = <TestDefaultConfig as DefaultConfig>::Hashing

The hashing system (algorithm) being used in the runtime (e.g. Blake2).
Source§

type AccountId = <TestDefaultConfig as DefaultConfig>::AccountId

The user account identifier type for the runtime.
Source§

type Lookup = <TestDefaultConfig as DefaultConfig>::Lookup

Converting trait to take a source type and convert to AccountId. Read more
Source§

type MaxConsumers = <TestDefaultConfig as DefaultConfig>::MaxConsumers

The maximum number of consumers allowed on a single account.
Source§

type AccountData = <TestDefaultConfig as DefaultConfig>::AccountData

Data to be associated with an account (other than nonce/transaction counter, which this pallet does regardless).
Source§

type OnNewAccount = <TestDefaultConfig as DefaultConfig>::OnNewAccount

Handler for when a new account has just been created.
Source§

type OnKilledAccount = <TestDefaultConfig as DefaultConfig>::OnKilledAccount

A function that is invoked when an account has been determined to be dead. Read more
Source§

type SystemWeightInfo = <TestDefaultConfig as DefaultConfig>::SystemWeightInfo

Weight information for the extrinsics of this pallet.
Source§

type ExtensionsWeightInfo = <TestDefaultConfig as DefaultConfig>::ExtensionsWeightInfo

Weight information for the transaction extensions of this pallet.
Source§

type SS58Prefix = <TestDefaultConfig as DefaultConfig>::SS58Prefix

The designated SS58 prefix of this chain. Read more
Source§

type Version = <TestDefaultConfig as DefaultConfig>::Version

Get the chain’s in-code version.
Source§

type BlockWeights = <TestDefaultConfig as DefaultConfig>::BlockWeights

Block & extrinsics weights: base values and limits.
Source§

type BlockLength = <TestDefaultConfig as DefaultConfig>::BlockLength

The maximum length of a block (in bytes).
Source§

type DbWeight = <TestDefaultConfig as DefaultConfig>::DbWeight

The weight of runtime database operations the runtime can invoke.
Source§

type RuntimeEvent = ()

The aggregated event type of the runtime.
Source§

type RuntimeOrigin = ()

The RuntimeOrigin type used by dispatchable calls.
Source§

type RuntimeCall = ()

The aggregated RuntimeCall type.
Source§

type PalletInfo = ()

Provides information about the pallet setup in the runtime. Read more
Source§

type RuntimeTask = ()

The aggregated RuntimeTask type.
Source§

type BaseCallFilter = <TestDefaultConfig as DefaultConfig>::BaseCallFilter

The basic call filter to use in Origin. All origins are built with this filter as base, except Root. Read more
Source§

type BlockHashCount = <TestDefaultConfig as DefaultConfig>::BlockHashCount

Maximum number of block number to block hash mappings to keep (oldest pruned first).
Source§

type OnSetCode = <TestDefaultConfig as DefaultConfig>::OnSetCode

What to do if the runtime wants to change the code to something new. Read more
Source§

type SingleBlockMigrations = <TestDefaultConfig as DefaultConfig>::SingleBlockMigrations

All migrations that should run in the next runtime upgrade. Read more
Source§

type MultiBlockMigrator = <TestDefaultConfig as DefaultConfig>::MultiBlockMigrator

The migrator that is used to run Multi-Block-Migrations. Read more
Source§

type PreInherents = <TestDefaultConfig as DefaultConfig>::PreInherents

A callback that executes in every block directly before all inherents were applied. Read more
Source§

type PostInherents = <TestDefaultConfig as DefaultConfig>::PostInherents

A callback that executes in every block directly after all inherents were applied. Read more
Source§

type PostTransactions = <TestDefaultConfig as DefaultConfig>::PostTransactions

A callback that executes in every block directly after all transactions were applied. Read more
Source§

impl DefaultConfig for TestDefaultConfig

Source§

type RuntimeHoldReason = ()

Overarching hold reason.
Source§

type CurrencyBalance = u128

Just the Currency::Balance type; we have this item to allow us to constrain it to From<u64>.
Source§

type CurrencyToVote = ()

Convert a balance into a number used for election calculation. This must fit into a u64 but is allowed to be sensibly lossy. The u64 is used to communicate with the frame_election_provider_support crate which accepts u64 numbers and does operations in 128. Consequently, the backward convert is used convert the u128s from sp-elections back to a BalanceOf.
Source§

type NominationsQuota = FixedNominationsQuota<16>

Something that defines the maximum number of nominations per nominator.
Source§

type HistoryDepth = ConstU32<84>

Number of eras to keep in history. Read more
Source§

type RewardRemainder = ()

Tokens have been minted and are unused for validator-reward. See Era payout.
Source§

type Slash = ()

Handler for the unbalanced reduction when slashing a staker.
Source§

type Reward = ()

Handler for the unbalanced increment when rewarding a staker. NOTE: in most cases, the implementation of OnUnbalanced should modify the total issuance.
Source§

type SessionsPerEra = SessionsPerEra

Number of sessions per era, as per the preferences of the relay chain.
Source§

type BondingDuration = BondingDuration

Number of eras that staked funds must remain bonded for.
Source§

type PlanningEraOffset = ConstU32<1>

Number of sessions before the end of an era when the election for the next era will start. Read more
Source§

type SlashDeferDuration = ()

Number of eras that slashes are deferred by, after computation. Read more
Source§

type MaxExposurePageSize = ConstU32<64>

The maximum size of each T::ExposurePage. Read more
Source§

type MaxUnlockingChunks = ConstU32<32>

The maximum number of unlocking chunks a StakingLedger can have. Effectively determines how many unique eras a staker may be unbonding in. Read more
Source§

type MaxValidatorSet = ConstU32<100>

The absolute maximum of winner validators this pallet should return. Read more
Source§

type MaxControllersInDeprecationBatch = ConstU32<100>

The maximum amount of controller accounts that can be deprecated in one call.
Source§

type MaxInvulnerables = ConstU32<20>

Maximum number of invulnerable validators.
Source§

type MaxDisabledValidators = ConstU32<100>

Maximum number of disabled validators.
Source§

type MaxEraDuration = ()

Maximum allowed era duration in milliseconds. Read more
Source§

type EventListeners = ()

Something that listens to staking updates and performs actions based on the data it receives. Read more
Source§

type Filter = Nothing

Filter some accounts from participating in staking. Read more
Source§

type WeightInfo = ()

Weight information for extrinsics in this pallet.

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CheckedConversion for T

Source§

fn checked_from<T>(t: T) -> Option<Self>
where Self: TryFrom<T>,

Convert from a value of T into an equivalent instance of Option<Self>. Read more
Source§

fn checked_into<T>(self) -> Option<T>
where Self: TryInto<T>,

Consume self to return Some equivalent value of Option<T>. Read more
Source§

impl<T, U> DefensiveTruncateInto<U> for T

Source§

fn defensive_truncate_into(self) -> U

Defensively truncate a value and convert it into its bounded form.
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T> Instrument for T

Source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> IntoEither for T

Source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
Source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
Source§

impl<T, U> IntoKey<U> for T
where U: FromKey<T>,

Source§

fn into_key(self) -> U

Source§

impl<Src, Dest> IntoTuple<Dest> for Src
where Dest: FromTuple<Src>,

Source§

fn into_tuple(self) -> Dest

Source§

impl<T> IsType<T> for T

Source§

fn from_ref(t: &T) -> &T

Cast reference.
Source§

fn into_ref(&self) -> &T

Cast reference.
Source§

fn from_mut(t: &mut T) -> &mut T

Cast mutable reference.
Source§

fn into_mut(&mut self) -> &mut T

Cast mutable reference.
Source§

impl<T, Outer> IsWrappedBy<Outer> for T
where Outer: AsRef<T> + AsMut<T> + From<T>, T: From<Outer>,

Source§

fn from_ref(outer: &Outer) -> &T

Get a reference to the inner from the outer.

Source§

fn from_mut(outer: &mut Outer) -> &mut T

Get a mutable reference to the inner from the outer.

Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> SaturatedConversion for T

Source§

fn saturated_from<T>(t: T) -> Self
where Self: UniqueSaturatedFrom<T>,

Convert from a value of T into an equivalent instance of Self. Read more
Source§

fn saturated_into<T>(self) -> T
where Self: UniqueSaturatedInto<T>,

Consume self to return an equivalent value of T. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T, U> TryIntoKey<U> for T
where U: TryFromKey<T>,

Source§

type Error = <U as TryFromKey<T>>::Error

Source§

fn try_into_key(self) -> Result<U, <U as TryFromKey<T>>::Error>

Source§

impl<S, T> UncheckedInto<T> for S
where T: UncheckedFrom<S>,

Source§

fn unchecked_into(self) -> T

The counterpart to unchecked_from.
Source§

impl<T, S> UniqueSaturatedInto<T> for S
where T: Bounded, S: TryInto<T>,

Source§

fn unique_saturated_into(self) -> T

Consume self to return an equivalent value of T.
Source§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

Source§

fn vzip(self) -> V

Source§

impl<T> WithSubscriber for T

Source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

impl<T> JsonSchemaMaybe for T

Source§

impl<T> MaybeRefUnwindSafe for T
where T: RefUnwindSafe,