From 187986d7f471a9b5b0a610f8efe06762f9b9e565 Mon Sep 17 00:00:00 2001 From: LucasLvy Date: Mon, 28 Aug 2023 22:04:22 +0200 Subject: [PATCH] impl suggestions --- crates/evm/src/instructions/push_operations.cairo | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/evm/src/instructions/push_operations.cairo b/crates/evm/src/instructions/push_operations.cairo index ad83edc03..b0c9bdce7 100644 --- a/crates/evm/src/instructions/push_operations.cairo +++ b/crates/evm/src/instructions/push_operations.cairo @@ -25,7 +25,7 @@ impl PushOperations of PushOperationsTrait { /// # Specification: https://www.evm.codes/#5f?fork=shanghai #[inline(always)] fn exec_push0(ref self: ExecutionContext) -> Result<(), EVMError> { - internal::exec_push_i(ref self, 0) + self.stack.push(0) }