diff --git a/modules/evm/src/runner/state.rs b/modules/evm/src/runner/state.rs index 1dd9de2b06..b9ca93a305 100644 --- a/modules/evm/src/runner/state.rs +++ b/modules/evm/src/runner/state.rs @@ -738,7 +738,7 @@ impl<'config, 'precompiles, S: StackState<'config>, P: PrecompileSet> StackExecu /// Get fee needed for the current executor, given the price. pub fn fee(&self, price: U256) -> U256 { let used_gas = self.used_gas(); - U256::from(used_gas) * price + U256::from(used_gas).saturating_mul(price) } /// Get account nonce.