Skip to content

Commit

Permalink
feat(tests): count down storage values across blocks for unique vals
Browse files Browse the repository at this point in the history
This just allows easier checking of the the modified values in the Verkle tree.
  • Loading branch information
danceratopz committed May 15, 2024
1 parent ddbe122 commit 1311c46
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -50,10 +50,10 @@ def test_verkle_from_mpt_conversion(
tx_count = 64
blocks: List[Block] = []
code_storage = Storage()
for _ in range(block_count):
for b in range(block_count):
txs: List[Transaction] = []
for t in range(tx_count):
storage_value = 2**256 - t - 1
storage_value = 2**256 - t - 1 - b * tx_count
storage_key = code_storage.store_next(storage_value)
txs.append(
Transaction(
Expand Down

0 comments on commit 1311c46

Please sign in to comment.