mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-20 10:52:25 +00:00
ethclient: add testcase for nonexist contract
Signed-off-by: jsvisa <delweng@gmail.com>
This commit is contained in:
parent
4d9f3cd5d7
commit
d56f21c0b8
1 changed files with 3 additions and 0 deletions
|
|
@ -110,6 +110,9 @@ func TestGethClient(t *testing.T) {
|
|||
}, {
|
||||
"TestGetProof2",
|
||||
func(t *testing.T) { testGetProof(t, client, testContract) },
|
||||
}, {
|
||||
"TestGetProofNonExistent",
|
||||
func(t *testing.T) { testGetProof(t, client, common.HexToAddress("0x0001")) },
|
||||
}, {
|
||||
"TestGetProofCanonicalizeKeys",
|
||||
func(t *testing.T) { testGetProofCanonicalizeKeys(t, client) },
|
||||
|
|
|
|||
Loading…
Reference in a new issue