Struct near_sdk_sim::runtime::GenesisConfig [−][src]
pub struct GenesisConfig { pub genesis_time: u64, pub gas_price: Balance, pub gas_limit: Gas, pub genesis_height: u64, pub epoch_length: u64, pub block_prod_time: Duration, pub runtime_config: RuntimeConfig, pub state_records: Vec<StateRecord>, pub validators: Vec<AccountInfo>, }
Fields
genesis_time: u64
gas_price: Balance
gas_limit: Gas
genesis_height: u64
epoch_length: u64
block_prod_time: Duration
runtime_config: RuntimeConfig
state_records: Vec<StateRecord>
validators: Vec<AccountInfo>
Implementations
impl GenesisConfig
[src]
impl GenesisConfig
[src]pub fn init_root_signer(&mut self, account_id: &str) -> InMemorySigner
[src]
Trait Implementations
impl Default for GenesisConfig
[src]
impl Default for GenesisConfig
[src]Auto Trait Implementations
impl RefUnwindSafe for GenesisConfig
impl RefUnwindSafe for GenesisConfig
impl Send for GenesisConfig
impl Send for GenesisConfig
impl Sync for GenesisConfig
impl Sync for GenesisConfig
impl Unpin for GenesisConfig
impl Unpin for GenesisConfig
impl UnwindSafe for GenesisConfig
impl UnwindSafe for GenesisConfig
Blanket Implementations
impl<T> Instrument for T
[src]
impl<T> Instrument for T
[src]pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T> Same<T> for T
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,