From a96775b3ff6233da6c3662462bdb79eb13346004 Mon Sep 17 00:00:00 2001 From: HAOYUatHZ <37070449+HAOYUatHZ@users.noreply.github.com> Date: Thu, 31 Mar 2022 15:08:04 +0800 Subject: [PATCH] fix `code_hash` json annotation (#64) --- core/types/l2trace.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/types/l2trace.go b/core/types/l2trace.go index fa4e6ccd99..287f846e8f 100644 --- a/core/types/l2trace.go +++ b/core/types/l2trace.go @@ -60,7 +60,7 @@ type AccountProofWrapper struct { Address common.Address `json:"address,omitempty"` Nonce uint64 `json:"nonce,omitempty"` Balance *big.Int `json:"balance,omitempty"` - CodeHash common.Hash `json:"code_hash,omitempty"` + CodeHash common.Hash `json:"codeHash,omitempty"` Proof []string `json:"proof,omitempty"` Storage *StorageProofWrapper `json:"storage,omitempty"` // StorageProofWrapper can be empty if irrelated to storage operation }