jim380/Re

fix error in account query

uwezukwechibuzor opened this issue · 2 comments

when running this cmd, red query fix list-account, it gives an error

Error: rpc error: code = Unknown desc = rpc error: code = Internal desc = proto: Account: wiretype end group for non-group: unknown request

logs: []
raw_log: "recovered: proto: Account: wiretype end group for non-group\nstack:\ngoroutine
88 [running]:\nruntime/debug.Stack()\n\t/opt/homebrew/Cellar/go/1.20.3/libexec/src/runtime/debug/stack.go:24
+0x64\ngithub.com/cosmos/cosmos-sdk/baseapp.newDefaultRecoveryMiddleware.func1({0x10654ef60,
0x14000d3dfe0})\n\t/Users/chibuzordaniel/go/pkg/mod/github.com/cosmos/cosmos-sdk@v0.45.15-ics/baseapp/recovery.go:71
+0x24\ngithub.com/cosmos/cosmos-sdk/baseapp.newRecoveryMiddleware.func1({0x10654ef60?,
0x14000d3dfe0?})\n\t/Users/chibuzordaniel/go/pkg/mod/github.com/cosmos/cosmos-sdk@v0.45.15-ics/baseapp/recovery.go:39
+0x34\ngithub.com/cosmos/cosmos-sdk/baseapp.processRecovery({0x10654ef60, 0x14000d3dfe0},
0x1400000e5d0?)\n\t/Users/chibuzordaniel/go/pkg/mod/github.com/cosmos/cosmos-sdk@v0.45.15-ics/baseapp/recovery.go:28
+0x38\ngithub.com/cosmos/cosmos-sdk/baseapp.processRecovery({0x10654ef60, 0x14000d3dfe0},
0x106860e20?)\n\t/Users/chibuzordaniel/go/pkg/mod/github.com/cosmos/cosmos-sdk@v0.45.15-ics/baseapp/recovery.go:33
+0x60\ngithub.com/cosmos/cosmos-sdk/baseapp.(*BaseApp).runTx.func1()\n\t/Users/chibuzordaniel/go/pkg/mod/github.com/cosmos/cosmos-sdk@v0.45.15-ics/baseapp/baseapp.go:632
+0xb4\npanic({0x10654ef60, 0x14000d3dfe0})\n\t/opt/homebrew/Cellar/go/1.20.3/libexec/src/runtime/panic.go:884
+0x204\ngithub.com/cosmos/cosmos-sdk/codec.(*ProtoCodec).MustUnmarshal(0x10685f220?,
{0x1400062d340?, 0x1078c69b0?, 0x1400184e980?}, {0x10685d548?, 0x14000d3b270?})\n\t/Users/chibuzordaniel/go/pkg/mod/github.com/cosmos/cosmos-sdk@v0.45.15-ics/codec/proto_codec.go:99
+0x44\ngithub.com/jim380/Re/x/fix/keeper.Keeper.GetAllAccount({{0x1068612e0, 0x140011627d0},
{0x1068386e8, 0x14000550d90}, {0x1068386e8, 0x0}, {{0x1068612e0, 0x140011627d0},
0x14000527fa8, {0x1068386e8, ...}, ...}, ...}, ...)\n\t/Users/chibuzordaniel/go/src/github.com/jim380/Re/x/fix/keeper/account.go:59
+0x1bc\ngithub.com/jim380/Re/x/fix/keeper.msgServer.CreateAccount({{{0x1068612e0,
0x140011627d0}, {0x1068386e8, 0x14000550d90}, {0x1068386e8, 0x0}, {{0x1068612e0,
0x140011627d0}, 0x14000527fa8, {0x1068386e8, ...}, ...}, ...}}, ...)\n\t/Users/chibuzordaniel/go/src/github.com/jim380/Re/x/fix/keeper/msg_server_account.go:27
+0x140\ngithub.com/jim380/Re/x/fix/types.Msg_CreateAccount_Handler.func1({0x1068518e0,
0x14003a4a480}, {0x1067d3780?, 0x14003dfade0})\n\t/Users/chibuzordaniel/go/src/github.com/jim380/Re/x/fix/types/tx.pb.go:7665
+0x74\ngithub.com/cosmos/cosmos-sdk/baseapp.(*MsgServiceRouter).RegisterService.func2.1({0x1068518e0,
0x14003a4a450}, {0x140012f9128?, 0x1051944a4?}, 0x106816020?, 0x14000e564e0)\n\t/Users/chibuzordaniel/go/pkg/mod/github.com/cosmos/cosmos-sdk@v0.45.15-ics/baseapp/msg_service_router.go:113
+0x98\ngithub.com/jim380/Re/x/fix/types.Msg_CreateAccount_Handler({0x106823ea0?,
0x14000f64780}, {0x1068518e0, 0x14003a4a450}, 0x106827710, 0x14004219dc0)\n\t/Users/chibuzordaniel/go/src/github.com/jim380/Re/x/fix/types/tx.pb.go:7667
+0x138\ngithub.com/cosmos/cosmos-sdk/baseapp.(*MsgServiceRouter).RegisterService.func2({{0x1068518e0,
0x1400405ed80}, {0x106860e20, 0x1400184e980}, {{0xb, 0x0}, {0x14000dfc49c, 0x4},
0xfd, {0x12f8338, ...}, ...}, ...}, ...)\n\t/Users/chibuzordaniel/go/pkg/mod/github.com/cosmos/cosmos-sdk@v0.45.15-ics/baseapp/msg_service_router.go:126
+0x2f0\ngithub.com/cosmos/cosmos-sdk/baseapp.(*BaseApp).runMsgs(
, {{0x1068518e0,
0x1400405ed80}, {0x106860e20, 0x1400184e980}, {{0xb, 0x0}, {0x14000dfc49c, 0x4},
0xfd, ...}, ...}, ...)\n\t/Users/chibuzordaniel/go/pkg/mod/github.com/cosmos/cosmos-sdk@v0.45.15-ics/baseapp/baseapp.go:760
+0x1f8\ngithub.com/cosmos/cosmos-sdk/baseapp.(*BaseApp).runTx(0x140000f8000, 0x3,
{0x1400503c000, 0x147, 0x147})\n\t/Users/chibuzordaniel/go/pkg/mod/github.com/cosmos/cosmos-sdk@v0.45.15-ics/baseapp/baseapp.go:717
+0x994\ngithub.com/cosmos/cosmos-sdk/baseapp.(*BaseApp).DeliverTx(0x140000f8000,
{{0x1400503c000?, 0x14000e761a0?, 0x20?}})\n\t/Users/chibuzordaniel/go/pkg/mod/github.com/cosmos/cosmos-sdk@v0.45.15-ics/baseapp/abci.go:285
+0x13c\ngithub.com/tendermint/tendermint/abci/client.(*localClient).DeliverTxAsync(0x1400059d860,
{{0x1400503c000?, 0x1400059d860?, 0x104ffa5bc?}})\n\t/Users/chibuzordaniel/go/pkg/mod/github.com/skip-mev/mev-cometbft@v0.34.27-mev.17/abci/client/local_client.go:93
+0xf0\ngithub.com/tendermint/tendermint/proxy.(*appConnConsensus).DeliverTxAsync(0x14000ee3fe0?,
{{0x1400503c000?, 0x20?, 0xb?}})\n\t/Users/chibuzordaniel/go/pkg/mod/github.com/skip-mev/mev-cometbft@v0.34.27-mev.17/proxy/app_conn.go:85
+0x2c\ngithub.com/tendermint/tendermint/state.execBlockOnProxyApp({0x106852750?,
0x1400102e720}, {0x10685afc0, 0x14000c3fa00}, 0x14000051680, {0x1068628d8, 0x14000522510},
0xfc?)\n\t/Users/chibuzordaniel/go/pkg/mod/github.com/skip-mev/mev-cometbft@v0.34.27-mev.17/state/execution.go:342
+0x53c\ngithub.com/tendermint/tendermint/state.(*BlockExecutor).ApplyBlock(
, {{{0xb,
0x0}, {0x14000d919e0, 0x7}}, {0x14000d919e8, 0x4}, 0x1, 0xfc, {{0x1400105a820, ...},
...}, ...}, ...)\n\t/Users/chibuzordaniel/go/pkg/mod/github.com/skip-mev/mev-cometbft@v0.34.27-mev.17/state/execution.go:150
+0xf0\ngithub.com/tendermint/tendermint/consensus.(*State).finalizeCommit(0x1400114a000,
0xfd)\n\t/Users/chibuzordaniel/go/pkg/mod/github.com/skip-mev/mev-cometbft@v0.34.27-mev.17/consensus/state.go:1661
+0x99c\ngithub.com/tendermint/tendermint/consensus.(*State).tryFinalizeCommit(0x1400114a000,
0xfd)\n\t/Users/chibuzordaniel/go/pkg/mod/github.com/skip-mev/mev-cometbft@v0.34.27-mev.17/consensus/state.go:1570
+0x28c\ngithub.com/tendermint/tendermint/consensus.(*State).enterCommit.func1()\n\t/Users/chibuzordaniel/go/pkg/mod/github.com/skip-mev/mev-cometbft@v0.34.27-mev.17/consensus/state.go:1505
+0xa0\ngithub.com/tendermint/tendermint/consensus.(*State).enterCommit(0x1400114a000,
0xfd, 0x0)\n\t/Users/chibuzordaniel/go/pkg/mod/github.com/skip-mev/mev-cometbft@v0.34.27-mev.17/consensus/state.go:1543
+0xb90\ngithub.com/tendermint/tendermint/consensus.(*State).addVote(0x1400114a000,
0x1400478e5a0, {0x0, 0x0})\n\t/Users/chibuzordaniel/go/pkg/mod/github.com/skip-mev/mev-cometbft@v0.34.27-mev.17/consensus/state.go:2165
+0x1698\ngithub.com/tendermint/tendermint/consensus.(*State).tryAddVote(0x1400114a000,
0x1400478e5a0, {0x0?, 0x1046e71f0?})\n\t/Users/chibuzordaniel/go/pkg/mod/github.com/skip-mev/mev-cometbft@v0.34.27-mev.17/consensus/state.go:1963
+0x28\ngithub.com/tendermint/tendermint/consensus.(*State).handleMsg(0x1400114a000,
{{0x106833480, 0x14000632098}, {0x0, 0x0}})\n\t/Users/chibuzordaniel/go/pkg/mod/github.com/skip-mev/mev-cometbft@v0.34.27-mev.17/consensus/state.go:861
+0x37c\ngithub.com/tendermint/tendermint/consensus.(*State).receiveRoutine(0x1400114a000,
0x0)\n\t/Users/chibuzordaniel/go/pkg/mod/github.com/skip-mev/mev-cometbft@v0.34.27-mev.17/consensus/state.go:788
+0x350\ncreated by github.com/tendermint/tendermint/consensus.(*State).OnStart\n\t/Users/chibuzordaniel/go/pkg/mod/github.com/skip-mev/mev-cometbft@v0.34.27-mev.17/consensus/state.go:379
+0xf4\n: panic"
timestamp: "2023-06-19T11:26:58Z"