Skip to content

Commit 7d4ff80

Browse files
author
colinlyguo
committed
update type error
1 parent 5869bfd commit 7d4ff80

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

common/types/message/message.go

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ import (
44
"encoding/json"
55
"errors"
66
"fmt"
7+
"math/big"
78

89
"github.com/scroll-tech/go-ethereum/common"
910
"github.com/scroll-tech/go-ethereum/log"
@@ -87,11 +88,11 @@ type ChunkInfo struct {
8788

8889
// BlockContextV2 is the block context for euclid v2
8990
type BlockContextV2 struct {
90-
Timestamp uint64 `json:"timestamp"`
91-
BaseFee common.Hash `json:"base_fee"`
92-
GasLimit uint64 `json:"gas_limit"`
93-
NumTxs uint16 `json:"num_txs"`
94-
NumL1Msgs uint16 `json:"num_l1_msgs"`
91+
Timestamp uint64 `json:"timestamp"`
92+
BaseFee *big.Int `json:"base_fee"`
93+
GasLimit uint64 `json:"gas_limit"`
94+
NumTxs uint16 `json:"num_txs"`
95+
NumL1Msgs uint16 `json:"num_l1_msgs"`
9596
}
9697

9798
// SubCircuitRowUsage tracing info added in v0.11.0rc8

0 commit comments

Comments
 (0)