Skip to content
This repository has been archived by the owner on Jan 9, 2025. It is now read-only.

Commit

Permalink
test: fix composite max_priority_fee_too_high
Browse files Browse the repository at this point in the history
  • Loading branch information
obatirou committed Aug 26, 2024
1 parent 56951a3 commit 59681f5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/src/kakarot/test_kakarot.py
Original file line number Diff line number Diff line change
Expand Up @@ -530,9 +530,9 @@ def test_raise_max_fee_per_gas_too_low(self, cairo_run, tx):

@composite
def max_priority_fee_too_high(draw):
max_fee_per_gas = draw(integers(min_value=0, max_value=2**128 - 1))
max_fee_per_gas = draw(integers(min_value=0, max_value=2**128 - 2))
max_priority_fee_per_gas = draw(
integers(min_value=max_fee_per_gas + 1, max_value=2**128 - 1)
integers(min_value=max_fee_per_gas + 1, max_value=DEFAULT_PRIME - 1)
)
return (max_fee_per_gas, max_priority_fee_per_gas)

Expand Down

0 comments on commit 59681f5

Please sign in to comment.