Skip to main content

digest_context

Function digest_context 

Source
pub(crate) async fn digest_context(
    eth: &impl LoadConfig,
    account: Address,
    gas_limit: bool,
) -> Result<(u64, Option<ConfigurableAccountSimulationSpec>)>
Expand description

Returns the owner digest and the configuration-change quorum for account, used by cast mktx --tempo.digest.

An unregistered account’s configuration is only known to its owners, so its quorum cannot be simulated: it needs an explicit gas_limit.