Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
add test
  • Loading branch information
ivanl committed Nov 17, 2021
commit d6712ff3340e2b91e21d52f2cb4a2dd47f15326b
5 changes: 5 additions & 0 deletions proxy/test_eth_sendRawTransaction.py
Original file line number Diff line number Diff line change
Expand Up @@ -456,5 +456,10 @@ def test_get_storage_at(self):
print('eth_getStorageAt non-existing address => ', value_received.hex())
self.assertEqual(int.from_bytes(value_received, byteorder='big'), 0)

not_a_contract_address = proxy.eth.default_account
value_received = proxy.eth.get_storage_at(not_a_contract_address, 0, "latest")
print('eth_getStorageAt not_a_contract_address address => ', value_received.hex())
self.assertEqual(int.from_bytes(value_received, byteorder='big'), 0)

if __name__ == '__main__':
unittest.main()