-
Notifications
You must be signed in to change notification settings - Fork 232
Open
Labels
S-triageStatus: This issue is waiting on initial triage. More Info: https://tinyurl.com/25uty9w5Status: This issue is waiting on initial triage. More Info: https://tinyurl.com/25uty9w5
Description
Reproducible in mainnet / testnet / localnet.
Effect on UI: Convert ERC20 to coin just stalls. TX never gets the receipt. Try stNibi for example.
"recovered: runtime error: invalid memory address or nil pointer dereference
stack:
goroutine 870 [running]:
runtime/debug.Stack()
runtime/debug/stack.go:26 +0x5e
github.com/cosmos/cosmos-sdk/baseapp.NewBaseApp.newDefaultRecoveryMiddleware.func3({0x3f6da40, 0x6f53d40})
github.com/cosmos/[email protected]/baseapp/recovery.go:71 +0x25
github.com/cosmos/cosmos-sdk/baseapp.NewBaseApp.newDefaultRecoveryMiddleware.newRecoveryMiddleware.func5({0x3f6da40?, 0x6f53d40?})
github.com/cosmos/[email protected]/baseapp/recovery.go:39 +0x2d
github.com/cosmos/cosmos-sdk/baseapp.processRecovery({0x3f6da40, 0x6f53d40}, 0x5d37a5?)
github.com/cosmos/[email protected]/baseapp/recovery.go:28 +0x2f
github.com/cosmos/cosmos-sdk/baseapp.processRecovery({0x3f6da40, 0x6f53d40}, 0xc02f385ae8?)
github.com/cosmos/[email protected]/baseapp/recovery.go:33 +0x53
github.com/cosmos/cosmos-sdk/baseapp.(*BaseApp).runTx.func1()
github.com/cosmos/[email protected]/baseapp/baseapp.go:646 +0x10e
panic({0x3f6da40?, 0x6f53d40?})
runtime/panic.go:792 +0x132
github.com/NibiruChain/nibiru/v2/x/evm/evmstate.(*Keeper).EthereumTx.func1()
github.com/NibiruChain/nibiru/v2/x/evm/evmstate/msg_server.go:60 +0x56f
panic({0x400d1e0?, 0xc0353b2880?})
runtime/panic.go:792 +0x132
github.com/cosmos/cosmos-sdk/store/types.(*basicGasMeter).ConsumeGas(0x15?, 0x18?, {0x44174cb?, 0x18?})
github.com/cosmos/[email protected]/store/types/gas.go:116 +0x68
github.com/cosmos/cosmos-sdk/store/gaskv.(*Store).Get(0xc045206720, {0xc045200b40, 0x15, 0x18})
github.com/cosmos/[email protected]/store/gaskv/store.go:36 +0x46
github.com/cosmos/cosmos-sdk/x/auth/keeper.AccountKeeper.GetAccount({{0x500b150, 0xc001cb82f0}, {0x504b490, 0xc001c70d60}, 0xc000d8ee70, 0x4b8b5b8, {0x500e5d8, 0xc001cb88a0}, {0xc0011f0510, 0x2b}}, ...)
github.com/cosmos/[email protected]/x/auth/keeper/account.go:43 +0x125
github.com/NibiruChain/nibiru/v2/x/evm/evmstate.(*Keeper).getAccountWithoutBalance(_, {{0x502f520, 0x717f980}, {0x504bea0, 0xc045059400}, {{0xb, 0x0}, {0xc0267e8ac0, 0xb}, 0x1f369ba, ...}, ...}, ...)
github.com/NibiruChain/nibiru/v2/x/evm/evmstate/sdb_ext_keeper.go:187 +0xc3
github.com/NibiruChain/nibiru/v2/x/evm/evmstate.(*Keeper).GetAccount(_, {{0x502f520, 0x717f980}, {0x504bea0, 0xc045059400}, {{0xb, 0x0}, {0xc0267e8ac0, 0xb}, 0x1f369ba, ...}, ...}, ...)
github.com/NibiruChain/nibiru/v2/x/evm/evmstate/sdb_ext_keeper.go:23 +0x78
github.com/NibiruChain/nibiru/v2/x/evm/evmstate.(*SDB).SetNonce(0xc044f05508, {0x29, 0x98, 0x9a, 0xc8, 0xcd, 0xb4, 0xfa, 0xd7, 0xc3, ...}, ...)
github.com/NibiruChain/nibiru/v2/x/evm/evmstate/sdb_statedb.go:402 +0x9d
github.com/NibiruChain/nibiru/v2/x/evm/evmstate.(*Keeper).ApplyEvmMsg(0x20?, {0xc04500f938, {0x29, 0x98, 0x9a, 0xc8, 0xcd, 0xb4, 0xfa, 0xd7, ...}, ...}, ...)
github.com/NibiruChain/nibiru/v2/x/evm/evmstate/msg_server.go:459 +0x90a
github.com/NibiruChain/nibiru/v2/x/evm/evmstate.(*Keeper).EthereumTx(0xc00139d208, {0x5030418, 0xc045020db0}, 0xc044f54600)
github.com/NibiruChain/nibiru/v2/x/evm/evmstate/msg_server.go:94 +0x8d4
github.com/NibiruChain/nibiru/v2/x/evm._Msg_EthereumTx_Handler.func1({0x5030418?, 0xc045020db0?}, {0x43bdd60?, 0xc044f54600?})
github.com/NibiruChain/nibiru/v2/x/evm/tx.pb.go:1042 +0xcb
github.com/cosmos/cosmos-sdk/baseapp.(*MsgServiceRouter).RegisterService.func2.1({0x502f670, 0xc045028008}, {0xc02f38a050?, 0x4cfe45?}, 0x43fd6c0?, 0xc044f389c0)
github.com/cosmos/[email protected]/baseapp/msg_service_router.go:118 +0x89
github.com/NibiruChain/nibiru/v2/x/evm._Msg_EthereumTx_Handler({0x43f13e0, 0xc00139d208}, {0x502f670, 0xc045028008}, 0x4b8c440, 0xc0293b1f60)
github.com/NibiruChain/nibiru/v2/x/evm/tx.pb.go:1044 +0x143
github.com/cosmos/cosmos-sdk/baseapp.(*MsgServiceRouter).RegisterService.func2({{0x502f520, 0x717f980}, {0x504bea0, 0xc045004cc0}, {{0xb, 0x0}, {0xc0267e8ac0, 0xb}, 0x1f369ba, {0x101f8ef3, ...}, ...}, ...}, ...)
github.com/cosmos/[email protected]/baseapp/msg_service_router.go:139 +0x2a7
github.com/cosmos/cosmos-sdk/baseapp.(*BaseApp).runMsgs(_, {{0x502f520, 0x717f980}, {0x504bea0, 0xc045004cc0}, {{0xb, 0x0}, {0xc0267e8ac0, 0xb}, 0x1f369ba, ...}, ...}, ...)
github.com/cosmos/[email protected]/baseapp/baseapp.go:806 +0x285
github.com/cosmos/cosmos-sdk/baseapp.(*BaseApp).runTx(0xc001407680, 0x3, {0xc040bbd680, 0x230, 0x230})
github.com/cosmos/[email protected]/baseapp/baseapp.go:749 +0xe25
github.com/cosmos/cosmos-sdk/baseapp.(*BaseApp).DeliverTx(0xc001407680, {{0xc040bbd680?, 0xc00d85bd60?, 0xc02f38c6c8?}})
github.com/cosmos/[email protected]/baseapp/abci.go:413 +0x165
github.com/cometbft/cometbft/abci/client.(*localClient).DeliverTxAsync(0xc0017bd080, {{0xc040bbd680?, 0x0?, 0x0?}})
github.com/cometbft/[email protected]/abci/client/local_client.go:82 +0xf0
github.com/cometbft/cometbft/proxy.(*appConnConsensus).DeliverTxAsync(0xc001768750, {{0xc040bbd680?, 0x20?, 0xb?}})
github.com/cometbft/[email protected]/proxy/app_conn.go:106 +0x149
github.com/cometbft/cometbft/state.execBlockOnProxyApp({0x502f4e8, 0xc00224a370}, {0x50478c0, 0xc001768750}, 0xc000d5eb40, {0x504cbb0, 0xc002c50450}, 0x1)
github.com/cometbft/[email protected]/state/execution.go:376 +0x665
github.com/cometbft/cometbft/state.(*BlockExecutor).ApplyBlock(_, {{{0xb, 0x0}, {0xc002558510, 0x6}}, {0xc002558520, 0xb}, 0x1, 0x1f369b9, {{0xc02a273300, ...}, ...}, ...}, ...)
github.com/cometbft/[email protected]/state/execution.go:197 +0x18e
github.com/cometbft/cometbft/consensus.(*State).finalizeCommit(0xc0026de008, 0x1f369ba)
github.com/cometbft/[email protected]/consensus/state.go:1711 +0xa46
github.com/cometbft/cometbft/consensus.(*State).tryFinalizeCommit(0xc0026de008, 0x1f369ba)
github.com/cometbft/[email protected]/consensus/state.go:1620 +0x2e5
github.com/cometbft/cometbft/consensus.(*State).enterCommit.func1()
github.com/cometbft/[email protected]/consensus/state.go:1555 +0x9c
github.com/cometbft/cometbft/consensus.(*State).enterCommit(0xc0026de008, 0x1f369ba, 0x0)
github.com/cometbft/[email protected]/consensus/state.go:1593 +0xc0f
github.com/cometbft/cometbft/consensus.(*State).addVote(0xc0026de008, 0xc044bb48c0, {0xc0035980c0, 0x28})
github.com/cometbft/[email protected]/consensus/state.go:2233 +0x17df
github.com/cometbft/cometbft/consensus.(*State).tryAddVote(0xc0026de008, 0xc044bb48c0, {0xc0035980c0?, 0x0?})
github.com/cometbft/[email protected]/consensus/state.go:2022 +0x26
github.com/cometbft/cometbft/consensus.(*State).handleMsg(0xc0026de008, {{0x5002140, 0xc044a33648}, {0xc0035980c0, 0x28}})
github.com/cometbft/[email protected]/consensus/state.go:866 +0x3d0
github.com/cometbft/cometbft/consensus.(*State).receiveRoutine(0xc0026de008, 0x0)
github.com/cometbft/[email protected]/consensus/state.go:773 +0x3f1
created by github.com/cometbft/cometbft/consensus.(*State).OnStart in goroutine 348
github.com/cometbft/[email protected]/consensus/state.go:384 +0x107
: panic"
Metadata
Metadata
Assignees
Labels
S-triageStatus: This issue is waiting on initial triage. More Info: https://tinyurl.com/25uty9w5Status: This issue is waiting on initial triage. More Info: https://tinyurl.com/25uty9w5
Type
Projects
Status
⚡ Building 🧱