Skip to main content

ensure_storage_credits_t7

Function ensure_storage_credits_t7 

Source
async fn ensure_storage_credits_t7<P>(provider: &P, command: &str) -> Result<()>
where P: Provider<TempoNetwork>,
Expand description

The StorageCredits precompile only exists on T7+; fail early with a clear message instead of surfacing a raw revert. Fall back to a code check when the RPC lacks the hardfork query.