File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
rollup/internal/controller Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ import (
1212 "github.com/holiman/uint256"
1313 "github.com/prometheus/client_golang/prometheus"
1414 "github.com/scroll-tech/go-ethereum/common"
15- "github.com/scroll-tech/go-ethereum/consensus/misc/eip4844 "
15+ "github.com/scroll-tech/go-ethereum/consensus/misc"
1616 gethTypes "github.com/scroll-tech/go-ethereum/core/types"
1717 "github.com/scroll-tech/go-ethereum/crypto/kzg4844"
1818 "github.com/scroll-tech/go-ethereum/ethclient"
@@ -675,7 +675,7 @@ func (s *Sender) getBlockNumberAndBaseFeeAndBlobFee(ctx context.Context) (uint64
675675
676676 var blobBaseFee uint64
677677 if excess := header .ExcessBlobGas ; excess != nil {
678- blobBaseFee = eip4844 .CalcBlobFee (* excess ).Uint64 ()
678+ blobBaseFee = misc .CalcBlobFee (* excess ).Uint64 ()
679679 }
680680 // header.Number.Uint64() returns the pendingBlockNumber, so we minus 1 to get the latestBlockNumber.
681681 return header .Number .Uint64 () - 1 , baseFee , blobBaseFee , nil
Original file line number Diff line number Diff line change 66 "math/big"
77
88 "github.com/prometheus/client_golang/prometheus"
9- "github.com/scroll-tech/go-ethereum/consensus/misc/eip4844 "
9+ "github.com/scroll-tech/go-ethereum/consensus/misc"
1010 gethTypes "github.com/scroll-tech/go-ethereum/core/types"
1111 "github.com/scroll-tech/go-ethereum/ethclient"
1212 "github.com/scroll-tech/go-ethereum/log"
@@ -80,7 +80,7 @@ func (w *L1WatcherClient) FetchBlockHeader(blockHeight uint64) error {
8080
8181 var blobBaseFee uint64
8282 if excess := block .ExcessBlobGas ; excess != nil {
83- blobBaseFee = eip4844 .CalcBlobFee (* excess ).Uint64 ()
83+ blobBaseFee = misc .CalcBlobFee (* excess ).Uint64 ()
8484 }
8585
8686 l1Block := orm.L1Block {
You can’t perform that action at this time.
0 commit comments