From 237dee1003adfd6188be69b2c83b2fe821503f4a Mon Sep 17 00:00:00 2001 From: Isma <71719097+Doozers@users.noreply.github.com> Date: Thu, 18 Jan 2024 14:07:40 +0100 Subject: [PATCH] dbg: print missing baseFee Signed-off-by: Isma <71719097+Doozers@users.noreply.github.com> --- plugins/pgeth-monitoring/pgeth_monitoring.go | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/plugins/pgeth-monitoring/pgeth_monitoring.go b/plugins/pgeth-monitoring/pgeth_monitoring.go index 922149f64ced..a2c5f3dcdba7 100644 --- a/plugins/pgeth-monitoring/pgeth_monitoring.go +++ b/plugins/pgeth-monitoring/pgeth_monitoring.go @@ -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" @@ -217,7 +215,8 @@ func (me *MonitoringEngine) analyze(ctx context.Context, block *types.Block, sco // We simulate all the transactions of the block for idx, tx := range block.Transactions() { state.SetTxContext(tx.Hash(), idx) - receipt, err := core.ApplyTransaction(me.chainConfig, me.backend.Ethereum().BlockChain(), &block.Header().Coinbase, gp, state, block.Header(), tx, &block.Header().GasUsed, vmConfig) + fmt.Println("HEADER BASE FEES", block.Header().BaseFee) + receipt, err := core.ApplyTransaction(me.chainConfig, me.backend.Ethereum().Blockchain(), &block.Header().Coinbase, gp, state, block.Header(), tx, &block.Header().GasUsed, vmConfig) if err != nil { me.errChan <- err return nil