From b4f3ac8152902086dab02f8ceb3b8f73b50718e4 Mon Sep 17 00:00:00 2001 From: Kevin Yang <5478483+k-yang@users.noreply.github.com> Date: Thu, 16 Jan 2025 15:43:17 -0800 Subject: [PATCH] fix base fee wei --- x/evm/keeper/grpc_query.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/x/evm/keeper/grpc_query.go b/x/evm/keeper/grpc_query.go index abf0fa6ec..3255b8f73 100644 --- a/x/evm/keeper/grpc_query.go +++ b/x/evm/keeper/grpc_query.go @@ -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()))