@@ -64,7 +64,7 @@ def test_blockhash_insufficient_gas(blockchain_test: BlockchainTestFiller, fork:
6464 """
6565 Test BLOCKHASH with insufficient gas.
6666 """
67- _blockhash (blockchain_test , fork , block_number - 1 , gas_limit = 1042 , fail = True )
67+ _blockhash (blockchain_test , fork , block_number - 1 , gas_limit = 21_042 , fail = True )
6868
6969
7070def _blockhash (
@@ -96,19 +96,19 @@ def _blockhash(
9696 )
9797 blocks = [Block (txs = [tx ])]
9898
99- witness = Witness ()
100- witness .add_account_full (env .fee_recipient , None )
101- witness .add_account_full (TestAddress , pre [TestAddress ])
102- witness .add_account_full (TestAddress2 , pre [TestAddress2 ])
103- if not fail :
104- storage_slot = block_num_target % HISTORY_STORAGE_ADDRESS
105- value = None # TODO(verkle): TODO.
106- witness .add_storage_slot (blockhash_system_contract_address , storage_slot , value )
99+ # witness = Witness()
100+ # witness.add_account_full(env.fee_recipient, None)
101+ # witness.add_account_full(TestAddress, pre[TestAddress])
102+ # witness.add_account_full(TestAddress2, pre[TestAddress2])
103+ # if not fail:
104+ # storage_slot = block_num_target % HISTORY_STORAGE_ADDRESS
105+ # value = None # TODO(verkle): TODO.
106+ # witness.add_storage_slot(blockhash_system_contract_address, storage_slot, value)
107107
108108 blockchain_test (
109109 genesis_environment = env ,
110110 pre = pre ,
111111 post = {},
112112 blocks = blocks ,
113- witness = witness ,
113+ # witness=witness,
114114 )
0 commit comments