File tree Expand file tree Collapse file tree 2 files changed +2
-4
lines changed
web3/providers/eth_tester Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -31,10 +31,7 @@ def test_get_block_formatters(w3):
31
31
all_block_keys = set (BlockData .__annotations__ .keys ())
32
32
latest_block_keys = set (latest_block .keys ())
33
33
34
- keys_diff = all_block_keys .difference (latest_block_keys )
35
- assert len (keys_diff ) == 2
36
- # mixHash and miner not implemented in eth-tester
37
- assert keys_diff == set (["mixHash" , "miner" ])
34
+ assert all_block_keys == latest_block_keys
38
35
39
36
40
37
@pytest .mark .parametrize (
Original file line number Diff line number Diff line change @@ -186,6 +186,7 @@ def is_hexstr(value: Any) -> bool:
186
186
"extra_data" : "extraData" ,
187
187
"gas_used" : "gasUsed" ,
188
188
"base_fee_per_gas" : "baseFeePerGas" ,
189
+ "mix_hash" : "mixHash" ,
189
190
# eth-tester changed the miner key to coinbase since
190
191
# there is no longer any mining happening, but the current
191
192
# JSON-RPC spec still says miner
You can’t perform that action at this time.
0 commit comments