From 1311c463c92a3adeb46dd0f83e40191a330daa6a Mon Sep 17 00:00:00 2001 From: danceratopz Date: Wed, 15 May 2024 14:45:46 +0300 Subject: [PATCH] feat(tests): count down storage values across blocks for unique vals This just allows easier checking of the the modified values in the Verkle tree. --- .../eip6800_verkle_tree/test_verkle_from_mpt_conversion.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/prague/eip6800_verkle_tree/test_verkle_from_mpt_conversion.py b/tests/prague/eip6800_verkle_tree/test_verkle_from_mpt_conversion.py index e675a54fbd..fa772d228b 100644 --- a/tests/prague/eip6800_verkle_tree/test_verkle_from_mpt_conversion.py +++ b/tests/prague/eip6800_verkle_tree/test_verkle_from_mpt_conversion.py @@ -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(