@@ -64,8 +64,8 @@ func (sd *Payload) Encode() ([]byte, error) {
6464
6565// StateDiff is the final output structure from the builder
6666type StateDiff struct {
67- BlockNumber * big.Int `json:"blockNumber" gencodec:"required"`
68- BlockHash common.Hash `json:"blockHash" gencodec:"required"`
67+ BlockNumber * big.Int `json:"blockNumber" gencodec:"required"`
68+ BlockHash common.Hash `json:"blockHash" gencodec:"required"`
6969 CreatedAccounts []AccountDiff `json:"createdAccounts" gencodec:"required"`
7070 DeletedAccounts []AccountDiff `json:"deletedAccounts" gencodec:"required"`
7171 UpdatedAccounts []AccountDiff `json:"updatedAccounts" gencodec:"required"`
@@ -76,7 +76,7 @@ type StateDiff struct {
7676
7777// AccountDiff holds the data for a single state diff node
7878type AccountDiff struct {
79- Leaf bool `json:"leaf" gencodec:"required"`
79+ Leaf bool `json:"leaf" gencodec:"required"`
8080 Key []byte `json:"key" gencodec:"required"`
8181 Value []byte `json:"value" gencodec:"required"`
8282 Proof [][]byte `json:"proof" gencodec:"required"`
@@ -86,7 +86,7 @@ type AccountDiff struct {
8686
8787// StorageDiff holds the data for a single storage diff node
8888type StorageDiff struct {
89- Leaf bool `json:"leaf" gencodec:"required"`
89+ Leaf bool `json:"leaf" gencodec:"required"`
9090 Key []byte `json:"key" gencodec:"required"`
9191 Value []byte `json:"value" gencodec:"required"`
9292 Proof [][]byte `json:"proof" gencodec:"required"`
0 commit comments