cast::revm::handler::mainnet

Function deduct_caller

pub fn deduct_caller<SPEC, EXT, DB>(
    context: &mut Context<EXT, DB>,
) -> Result<(), EVMError<<DB as Database>::Error>>
where SPEC: Spec, DB: Database,
Expand description

Deducts the caller balance to the transaction limit.