mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-20 10:52:25 +00:00
dbg: print missing baseFee
Signed-off-by: Isma <71719097+Doozers@users.noreply.github.com>
This commit is contained in:
parent
b54d49a318
commit
6975ac3af0
1 changed files with 2 additions and 3 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue