Closed sergerad closed 1 month ago
The comments refer to the relevant arguments as gas limit
/// Stateful precompile that is Arc over [`ContextStatefulPrecompile`] trait. /// It takes a reference to input, gas limit and Context. ContextStateful(ContextStatefulPrecompileArc<DB>),
but the source names the argument gas_price
gas_price
pub trait ContextStatefulPrecompile<DB: Database>: Sync + Send { fn call( &self, bytes: &Bytes, gas_price: u64,
My understanding is that gas price is not relevant to precompiles in general, just gas limit. In which case the variable name gas_price is incorrect.
Thanks!
The comments refer to the relevant arguments as gas limit
but the source names the argument
gas_price
My understanding is that gas price is not relevant to precompiles in general, just gas limit. In which case the variable name
gas_price
is incorrect.Thanks!