Skip to main content

simulation_spec

Function simulation_spec 

Source
pub fn simulation_spec(
    account: Address,
    config: &ConfigurableAccountConfig,
    approvals: &[(Address, PrimitiveSignatureType)],
) -> ConfigurableAccountSimulationSpec
Expand description

Returns the owner quorum that gas estimation models for account: the owners in approvals with their key types or, when it is empty, the most approvals any valid signing set can need, as maximum-size WebAuthn approvals.