Skip to content
This repository has been archived by the owner on Apr 4, 2024. It is now read-only.

Commit

Permalink
add oldestBlock check
Browse files Browse the repository at this point in the history
  • Loading branch information
mmsqe committed Jan 20, 2023
1 parent 3f89b22 commit e693133
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tests/integration_tests/test_fee_history.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,4 +67,7 @@ def test_basic(cluster):
diff = size - min - i
reduce = size - diff
target = reduce if diff >= 0 else max
assert len(fee_history["result"][field]) == target
res = fee_history["result"]
assert len(res[field]) == target
oldest = i + min - max
assert res["oldestBlock"] == hex(oldest if oldest > 0 else 0)

0 comments on commit e693133

Please sign in to comment.