diff --git a/shared/src/ledger/native_vp/ethereum_bridge/nut.rs b/shared/src/ledger/native_vp/ethereum_bridge/nut.rs index afea1da1d4..1f7f313521 100644 --- a/shared/src/ledger/native_vp/ethereum_bridge/nut.rs +++ b/shared/src/ledger/native_vp/ethereum_bridge/nut.rs @@ -133,7 +133,7 @@ mod test_nuts { use proptest::prelude::*; use super::*; - use crate::ledger::gas::VpGasMeter; + use crate::ledger::gas::{TxGasMeter, VpGasMeter}; use crate::vm::wasm::VpCache; use crate::vm::WasmCacheRwAccess; @@ -189,7 +189,9 @@ mod test_nuts { &wl_storage.write_log, &tx, &TxIndex(0), - VpGasMeter::new(0u64), + VpGasMeter::new_from_tx_meter(&TxGasMeter::new_from_sub_limit( + u64::MAX.into(), + )), &keys_changed, &verifiers, VpCache::new(temp_dir(), 100usize),