Constant pallet_revive::evm::runtime::GAS_PRICE
source · pub const GAS_PRICE: u32 = 1u32;
Expand description
The EVM gas price. This constant is used by the proxy to advertise it via the eth_gas_price RPC.
We use a fixed value for the gas price.
This let us calculate the gas estimate for a transaction with the formula:
estimate_gas = substrate_fee / gas_price
.