Struct oasis_runtime_sdk::testing::mock::Config
source · pub struct Config;
Trait Implementations§
source§impl Config for Config
impl Config for Config
source§const DEFAULT_LOCAL_MIN_GAS_PRICE: Lazy<BTreeMap<Denomination, u128>> = _
const DEFAULT_LOCAL_MIN_GAS_PRICE: Lazy<BTreeMap<Denomination, u128>> = _
Default local minimum gas price configuration that is used in case no overrides are set in
local per-node configuration.
source§const DEFAULT_LOCAL_ESTIMATE_GAS_SEARCH_MAX_ITERS: u64 = 0u64
const DEFAULT_LOCAL_ESTIMATE_GAS_SEARCH_MAX_ITERS: u64 = 0u64
Default local estimate gas max search iterations configuration that is used in case no overrides
are set in the local per-node configuration.
source§const ESTIMATE_GAS_EXTRA_FAIL: Lazy<BTreeMap<&'static str, u64>> = _
const ESTIMATE_GAS_EXTRA_FAIL: Lazy<BTreeMap<&'static str, u64>> = _
Estimated gas amount to be added to failed transaction simulations for selected methods.
source§const MIN_GAS_PRICE_EXEMPT_METHODS: Lazy<BTreeSet<&'static str>> = _
const MIN_GAS_PRICE_EXEMPT_METHODS: Lazy<BTreeSet<&'static str>> = _
Methods which are exempt from minimum gas price requirements.
source§const EMIT_GAS_USED_EVENTS: bool = true
const EMIT_GAS_USED_EVENTS: bool = true
Whether gas used events should be emitted for every transaction. Read more
source§const ALLOW_INTERACTIVE_READ_ONLY_TRANSACTIONS: bool = false
const ALLOW_INTERACTIVE_READ_ONLY_TRANSACTIONS: bool = false
Whether to allow submission of read-only transactions in an interactive way. Read more
source§const GAS_COST_CALL_CALLDATA_PUBLIC_KEY: u64 = 20u64
const GAS_COST_CALL_CALLDATA_PUBLIC_KEY: u64 = 20u64
The gas cost of the internal call to retrieve the current calldata public key.
source§const GAS_COST_CALL_CURRENT_EPOCH: u64 = 10u64
const GAS_COST_CALL_CURRENT_EPOCH: u64 = 10u64
The gas cost of the internal call to retrieve the current epoch.
Auto Trait Implementations§
impl Freeze for Config
impl RefUnwindSafe for Config
impl Send for Config
impl Sync for Config
impl Unpin for Config
impl UnwindSafe for Config
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more