Skip to main content

guard_provider

Function guard_provider 

Source
async fn guard_provider(
    receipt: &Bytes,
    send_tx: &SendTxOpts,
    command: &str,
) -> Result<RetryProvider<TempoNetwork>>
Expand description

Checks the receipt and that the RPC is T6+: the ReceivePolicyGuard precompile only has code from T6 onwards, so a pre-T6 call would succeed as a silent no-op instead of reverting.