fix: add missing ExcessBlobGas

This commit is contained in:
Isma 2024-01-18 14:45:11 +01:00 committed by mortimr
parent 4391fa20b6
commit 7abfb28f07

View file

@ -10,8 +10,6 @@ import (
eth2client "github.com/attestantio/go-eth2-client"
"github.com/attestantio/go-eth2-client/api"
"github.com/redis/go-redis/v9"
"github.com/attestantio/go-eth2-client/http"
"github.com/rs/zerolog"
@ -151,6 +149,7 @@ func (me *MonitoringEngine) update(ctx context.Context, parent *types.Block) {
Coinbase: parent.Coinbase(),
BaseFee: eip1559.CalcBaseFee(me.chainConfig, parent.Header()),
Difficulty: parent.Difficulty(),
ExcessBlobGas: parent.ExcessBlobGas(),
}
me.coinbase = parent.Coinbase()
me.state = state