Skip to content

Commit 459941d

Browse files
author
colinlyguo
committed
use hexutil.Big
1 parent 9f480e5 commit 459941d

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

common/types/message/message.go

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

98
"github.com/scroll-tech/go-ethereum/common"
9+
"github.com/scroll-tech/go-ethereum/common/hexutil"
1010
"github.com/scroll-tech/go-ethereum/log"
1111
)
1212

@@ -88,11 +88,11 @@ type ChunkInfo struct {
8888

8989
// BlockContextV2 is the block context for euclid v2
9090
type BlockContextV2 struct {
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"`
91+
Timestamp uint64 `json:"timestamp"`
92+
BaseFee hexutil.Big `json:"base_fee"`
93+
GasLimit uint64 `json:"gas_limit"`
94+
NumTxs uint16 `json:"num_txs"`
95+
NumL1Msgs uint16 `json:"num_l1_msgs"`
9696
}
9797

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

0 commit comments

Comments
 (0)