From ed07a8aff1c6f81db18b04e4524dda12a8d1d94f Mon Sep 17 00:00:00 2001 From: HAOYUatHZ <37070449+HAOYUatHZ@users.noreply.github.com> Date: Thu, 14 Dec 2023 18:01:02 +0800 Subject: [PATCH] fix `testGetProof` (#597) --- ethclient/gethclient/gethclient.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ethclient/gethclient/gethclient.go b/ethclient/gethclient/gethclient.go index c692441138..174abf36c3 100644 --- a/ethclient/gethclient/gethclient.go +++ b/ethclient/gethclient/gethclient.go @@ -95,7 +95,7 @@ func (ec *Client) GetProof(ctx context.Context, account common.Address, keys []s Balance *hexutil.Big `json:"balance"` KeccakCodeHash common.Hash `json:"keccakCodeHash"` PoseidonCodeHash common.Hash `json:"poseidonCodeHash"` - CodeSize uint64 `json:"codeSize"` + CodeSize hexutil.Uint64 `json:"codeSize"` Nonce hexutil.Uint64 `json:"nonce"` StorageHash common.Hash `json:"storageHash"` StorageProof []storageResult `json:"storageProof"`