Skip to content

Commit

Permalink
Merge pull request #16 from kilnfi/isma/debug-devnet
Browse files Browse the repository at this point in the history
dbg: print missing baseFee
  • Loading branch information
Doozers authored Jan 18, 2024
2 parents 8873c98 + 237dee1 commit 08df315
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions plugins/pgeth-monitoring/pgeth_monitoring.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 08df315

Please sign in to comment.