Skip to main content

configurable_account_signers_available

Function configurable_account_signers_available 

Source
async fn configurable_account_signers_available<FEN: FoundryEvmNetwork>(
    script_config: &ScriptConfig<FEN>,
    sequence: &ScriptSequenceKind<FEN::Network>,
    script_wallets: &Wallets,
    remaining: &[SignerScope],
    session_scope: Option<SignerScope>,
    available: bool,
) -> Result<bool>
Expand description

Returns whether broadcast can sign every remaining transaction without running the script, given whether the wallets, sessions and access keys cover every sender (available).

The session in session_scope signs for its sender before any owner keys do, as broadcast selects it first, even for an upgraded account. On Tempo, any other sender that the chain reports as a configurable account signs with its owners, even when its own key is among the wallets, as the retired root key of an upgraded EOA is. It is ready only when its owner keys among the wallets, --tempo.owner and the Tempo Accounts store reach its threshold. Resume only publishes the saved transactions, so it runs the script again only to collect signers, such as keys from vm.rememberKey. When detection fails, resume runs the script as before.