ethclient: add testcase for nonexist contract

Signed-off-by: jsvisa <delweng@gmail.com>
This commit is contained in:
jsvisa 2023-10-31 18:53:01 +08:00
parent 7dd0b4e58f
commit a53ffd90de

View file

@ -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) },