Skip to content

Commit

Permalink
Revert "dbg: print missing baseFee"
Browse files Browse the repository at this point in the history
  • Loading branch information
Doozers authored Jan 18, 2024
1 parent 08df315 commit 543fc04
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions plugins/pgeth-monitoring/pgeth_monitoring.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ 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"

Expand Down Expand Up @@ -215,8 +217,7 @@ 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)
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)
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
Expand Down

0 comments on commit 543fc04

Please sign in to comment.