Skip to content

Commit 882cc77

Browse files
committed
Fix tests
1 parent 5b9ec65 commit 882cc77

File tree

4 files changed

+74
-52
lines changed

4 files changed

+74
-52
lines changed

node/src/components/contract_runtime/operations.rs

+2-4
Original file line numberDiff line numberDiff line change
@@ -367,7 +367,8 @@ pub fn execute_finalized_block(
367367
}
368368
_ if is_v2_wasm => {
369369
let gas_limit: u64 = if gas_limit.value() > U512::from(u64::MAX) {
370-
panic!("gas limit too high; needs u64") // TODO: This should be safe and validated in transaction acceptor
370+
panic!("gas limit too high; needs u64") // TODO: This should be safe and
371+
// validated in transaction acceptor
371372
} else {
372373
gas_limit.value().as_u64()
373374
};
@@ -475,7 +476,6 @@ pub fn execute_finalized_block(
475476

476477
let initiator_key = Key::Account(*initiator_account_hash);
477478

478-
479479
builder = builder
480480
.with_address_generator(address_generator)
481481
.with_gas_limit(gas_limit)
@@ -832,8 +832,6 @@ pub fn execute_finalized_block(
832832
debug!(?transaction, ?built_artifacts, "transaction processed");
833833

834834
artifacts.push(built_artifacts);
835-
836-
837835
}
838836

839837
// transaction processing is finished

0 commit comments

Comments
 (0)