mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-20 10:52:25 +00:00
fix: add missing ExcessBlobGas
This commit is contained in:
parent
4391fa20b6
commit
7abfb28f07
1 changed files with 8 additions and 9 deletions
|
|
@ -10,8 +10,6 @@ import (
|
||||||
|
|
||||||
eth2client "github.com/attestantio/go-eth2-client"
|
eth2client "github.com/attestantio/go-eth2-client"
|
||||||
"github.com/attestantio/go-eth2-client/api"
|
"github.com/attestantio/go-eth2-client/api"
|
||||||
"github.com/redis/go-redis/v9"
|
|
||||||
|
|
||||||
"github.com/attestantio/go-eth2-client/http"
|
"github.com/attestantio/go-eth2-client/http"
|
||||||
"github.com/rs/zerolog"
|
"github.com/rs/zerolog"
|
||||||
|
|
||||||
|
|
@ -144,13 +142,14 @@ func (me *MonitoringEngine) update(ctx context.Context, parent *types.Block) {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
me.header = &types.Header{
|
me.header = &types.Header{
|
||||||
ParentHash: parent.Hash(),
|
ParentHash: parent.Hash(),
|
||||||
Number: new(big.Int).Add(parent.Number(), common.Big1),
|
Number: new(big.Int).Add(parent.Number(), common.Big1),
|
||||||
GasLimit: parent.GasLimit(),
|
GasLimit: parent.GasLimit(),
|
||||||
Time: parent.Time() + 12,
|
Time: parent.Time() + 12,
|
||||||
Coinbase: parent.Coinbase(),
|
Coinbase: parent.Coinbase(),
|
||||||
BaseFee: eip1559.CalcBaseFee(me.chainConfig, parent.Header()),
|
BaseFee: eip1559.CalcBaseFee(me.chainConfig, parent.Header()),
|
||||||
Difficulty: parent.Difficulty(),
|
Difficulty: parent.Difficulty(),
|
||||||
|
ExcessBlobGas: parent.ExcessBlobGas(),
|
||||||
}
|
}
|
||||||
me.coinbase = parent.Coinbase()
|
me.coinbase = parent.Coinbase()
|
||||||
me.state = state
|
me.state = state
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue