From 7bd6dde3f65e9ac65a8a1cd2dd53624a440082a8 Mon Sep 17 00:00:00 2001 From: VolodymyrBg Date: Thu, 5 Jun 2025 20:39:33 +0300 Subject: [PATCH] Update broken reference to EVM refund_counter calculation in test_storage.py --- cairo/tests/ethereum/prague/vm/instructions/test_storage.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cairo/tests/ethereum/prague/vm/instructions/test_storage.py b/cairo/tests/ethereum/prague/vm/instructions/test_storage.py index d12471fb5..4b47e34cd 100644 --- a/cairo/tests/ethereum/prague/vm/instructions/test_storage.py +++ b/cairo/tests/ethereum/prague/vm/instructions/test_storage.py @@ -271,7 +271,8 @@ def test_calculate_refund_counter_current_eq_new( assert int(res) % DEFAULT_PRIME == int(res_cairo) -# see https://github.com/ethereum/execution-specs/blob/6e652281164025f1f4227f6e5b0036c1bbd27347/src/ethereum/prague/vm/instructions/storage.py#L104 +# See refund_counter calculation in sstore function: +# https://github.com/ethereum/execution-specs/blob/master/src/ethereum/prague/vm/instructions/storage.py#L54 def _calculate_refund_counter_current_eq_new( current_refund_counter: Uint, original_value: U256,