Skip to content

Commit a73f1c4

Browse files
blockifier_test_utils: update meta-tx test contract
1 parent 85b5a5d commit a73f1c4

File tree

6 files changed

+6328
-973
lines changed

6 files changed

+6328
-973
lines changed

crates/blockifier/src/execution/syscalls/syscall_tests/meta_tx.rs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,8 @@ fn test_meta_tx_v0(
123123
2.into(),
124124
signature0,
125125
signature1,
126+
// Should revert.
127+
false.into(),
126128
]
127129
.into(),
128130
);
@@ -174,7 +176,7 @@ fn test_meta_tx_v0(
174176
assert_eq!(call_info.execution.gas_consumed, 0);
175177
expect![[r#"
176178
DeterministicExecutionResources {
177-
n_steps: 4481,
179+
n_steps: 4515,
178180
n_memory_holes: 30,
179181
builtin_instance_counter: {
180182
"pedersen_builtin": 12,
@@ -195,7 +197,7 @@ fn test_meta_tx_v0(
195197
l2_to_l1_messages: [],
196198
cairo_native: false,
197199
failed: false,
198-
gas_consumed: 512830,
200+
gas_consumed: 516250,
199201
}
200202
"#]]
201203
.assert_debug_eq(&call_info.execution);

0 commit comments

Comments
 (0)