Skip to content

Commit

Permalink
fix base fee wei
Browse files Browse the repository at this point in the history
  • Loading branch information
k-yang committed Jan 16, 2025
1 parent 8445c92 commit b4f3ac8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions x/evm/keeper/grpc_query.go
Original file line number Diff line number Diff line change
Expand Up @@ -490,9 +490,9 @@ func (k Keeper) TraceTx(

evmCfg := k.GetEVMConfig(ctx)
// compute and use base fee of the height that is being traced
baseFeeMicronibiPerGas := k.BaseFeeMicronibiPerGas(ctx)
if baseFeeMicronibiPerGas != nil {
evmCfg.BaseFeeWei = baseFeeMicronibiPerGas
baseFeeWeiPerGas := k.BaseFeeWeiPerGas(ctx)
if baseFeeWeiPerGas != nil {
evmCfg.BaseFeeWei = baseFeeWeiPerGas
}

signer := gethcore.MakeSigner(evmCfg.ChainConfig, big.NewInt(ctx.BlockHeight()))
Expand Down

0 comments on commit b4f3ac8

Please sign in to comment.