We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1b44dea commit ac154c4Copy full SHA for ac154c4
tests/benchmark/compute/instruction/test_account_query.py
@@ -381,7 +381,14 @@ def test_ext_account_query_warm(
381
for an account.
382
"""
383
# Setup
384
- target_addr = pre.empty_account() if initial_balance else pre.fund_eoa()
+ target_addr = Address()
385
+ if not initial_balance and not initial_storage:
386
+ target_addr = pre.empty_account()
387
+ elif initial_balance or initial_storage:
388
+ target_addr = pre.fund_eoa(
389
+ storage={0: 0x1337} if initial_storage else {0: 0}
390
+ )
391
+
392
post = {}
393
if not empty_account:
394
code = Op.STOP + Op.JUMPDEST * 100
0 commit comments