Skip to content

Commit 73e2d89

Browse files
chore(tests): update gas cost configuration for clz (#1887)
1 parent 196ae81 commit 73e2d89

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/osaka/eip7939_count_leading_zeros/test_count_leading_zeros.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ def test_clz_gas_cost(state_test: StateTestFiller, pre: Alloc, fork: Fork):
117117
CodeGasMeasure(
118118
code=Op.CLZ(Op.PUSH1(1)),
119119
extra_stack_items=1,
120-
overhead_cost=fork.gas_costs().G_LOW,
120+
overhead_cost=fork.gas_costs().G_VERY_LOW,
121121
),
122122
),
123123
storage={"0x00": "0xdeadbeef"},
@@ -126,7 +126,7 @@ def test_clz_gas_cost(state_test: StateTestFiller, pre: Alloc, fork: Fork):
126126
tx = Transaction(to=contract_address, sender=sender, gas_limit=200_000)
127127
post = {
128128
contract_address: Account( # Cost measured is CLZ + PUSH1
129-
storage={"0x00": fork.gas_costs().G_VERY_LOW}
129+
storage={"0x00": fork.gas_costs().G_LOW}
130130
),
131131
}
132132
state_test(pre=pre, post=post, tx=tx)

0 commit comments

Comments
 (0)