diff --git a/x/evm/precompile/funtoken.go b/x/evm/precompile/funtoken.go index 8441412e1..7329e6f31 100644 --- a/x/evm/precompile/funtoken.go +++ b/x/evm/precompile/funtoken.go @@ -63,7 +63,7 @@ func (p precompileFunToken) Run( if err != nil { return nil, err } - p.evmKeeper.Bank.StateDB = start.StateDB + p.evmKeeper.Bank.StateDB = startResult.StateDB // Resets the gas meter to parent one after precompile execution and gracefully handles "out of gas" defer ReturnToParentGasMeter(startResult.CacheCtx, contract, startResult.parentGasMeter, &err)()