Sitelet https://github.com/starkware-libs/cairo/commit/821c0c12352370a67ae0e891a273ec9d0c8d2c6f
Skip to content

Commit 821c0c1

Browse files
committed
Made calling meta_tx_v0 not crashl cairo test.
1 parent 080a411 commit 821c0c1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • crates/cairo-lang-runner/src/casm_run

‎crates/cairo-lang-runner/src/casm_run/mod.rs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -863,7 +863,7 @@ impl CairoHintProcessor<'_> {
863863
self.get_class_hash_at(gas_counter, system_buffer.next_felt252()?.into_owned())
864864
}),
865865
"MetaTxV0" => execute_handle_helper(&mut |_system_buffer, _gas_counter| {
866-
panic!("Meta transaction is not supported.")
866+
fail_syscall!(b"Meta transaction is not supported.")
867867
}),
868868
_ => panic!("Unknown selector for system call!"),
869869
}

0 commit comments

Comments
 (0)