Skip to content
This repository was archived by the owner on May 28, 2025. It is now read-only.
This repository was archived by the owner on May 28, 2025. It is now read-only.

genesis proof - panic: json: cannot unmarshal number into Go value #29

@ThomasBlock

Description

@ThomasBlock

i try to launch testnet. last tries did stop at 46329 . now i started from scratch

POKTROLLD_IMAGE_TAG_OFF_CHAIN=0.0.10
POKTROLLD_IMAGE_TAG_VALIDATOR=0.0.10

now it fails instantly:

full-node            | 3:11PM INF service start impl=multiAppConn module=proxy msg="Starting multiAppConn service"
full-node            | 3:11PM INF service start connection=query impl=localClient module=abci-client msg="Starting localClient service"
full-node            | 3:11PM INF service start connection=snapshot impl=localClient module=abci-client msg="Starting localClient service"
full-node            | 3:11PM INF service start connection=mempool impl=localClient module=abci-client msg="Starting localClient service"
full-node            | 3:11PM INF service start connection=consensus impl=localClient module=abci-client msg="Starting localClient service"
full-node            | 3:11PM INF service start impl=EventBus module=events msg="Starting EventBus service"
full-node            | 3:11PM INF service start impl=PubSub module=pubsub msg="Starting PubSub service"
full-node            | 3:11PM INF service start impl=IndexerService module=txindex msg="Starting IndexerService service"
full-node            | 3:11PM INF ABCI Handshake App Info hash=E3B0C44298FC1C149AFBF4C8996FB92427AE41E4649B934CA495991B7852B855 height=0 module=consensus protocol-version=0 software-version=0.0.10
full-node            | 3:11PM INF ABCI Replay Blocks appHeight=0 module=consensus stateHeight=0 storeHeight=0
full-node            | 3:11PM INF InitChain chainID=poktroll initialHeight=1 module=server
full-node            | 3:11PM INF initializing blockchain state from genesis.json module=server
full-node            | 3:11PM INF asserting crisis invariants inv=1/13 module=x/crisis name=group/Group-TotalWeight
full-node            | 3:11PM INF asserting crisis invariants inv=2/13 module=x/crisis name=staking/module-accounts
full-node            | 3:11PM INF asserting crisis invariants inv=3/13 module=x/crisis name=staking/nonnegative-power
full-node            | 3:11PM INF asserting crisis invariants inv=4/13 module=x/crisis name=staking/positive-delegation
full-node            | 3:11PM INF asserting crisis invariants inv=5/13 module=x/crisis name=staking/delegator-shares
full-node            | 3:11PM INF asserting crisis invariants inv=6/13 module=x/crisis name=distribution/nonnegative-outstanding
full-node            | 3:11PM INF asserting crisis invariants inv=7/13 module=x/crisis name=distribution/can-withdraw
full-node            | 3:11PM INF asserting crisis invariants inv=8/13 module=x/crisis name=distribution/reference-count
full-node            | 3:11PM INF asserting crisis invariants inv=9/13 module=x/crisis name=distribution/module-account
full-node            | 3:11PM INF asserting crisis invariants inv=10/13 module=x/crisis name=transfer/total-escrow-per-denom
full-node            | 3:11PM INF asserting crisis invariants inv=11/13 module=x/crisis name=gov/module-account
full-node            | 3:11PM INF asserting crisis invariants inv=12/13 module=x/crisis name=bank/nonnegative-outstanding
full-node            | 3:11PM INF asserting crisis invariants inv=13/13 module=x/crisis name=bank/total-supply
full-node            | 3:11PM INF asserted all invariants duration=0.690781 height=0 module=x/crisis
full-node            | 3:11PM INF Closing application.db module=server
full-node            | 3:11PM INF Closing snapshots/metadata.db module=server
full-node            | panic: json: cannot unmarshal number into Go value of type map[string]json.RawMessage
full-node            | 
full-node            | goroutine 1 [running]:
full-node            | github.com/cosmos/cosmos-sdk/codec.(*ProtoCodec).MustUnmarshalJSON(0xc001a09e40?, {0xc00032eb40?, 0xc0017fb680?, 0xc001efcd58?}, {0x4416c20?, 0xc00137b3b0?})
full-node            | 	/home/runner/go/pkg/mod/github.com/cosmos/cosmos-sdk@v0.50.9/codec/proto_codec.go:219 +0x3b
full-node            | github.com/pokt-network/poktroll/x/proof/module.AppModule.InitGenesis({{{0x4451aa0, 0xc000207450}}, {{0x4451aa0, 0xc000207450}, {0x43f1600, 0xc0010ad540}, {0x443c018, 0xc0003e3b90}, {0xc001425680, 0x2b}, ...}, ...}, ...)
full-node            | 	/home/runner/work/poktroll/poktroll/x/proof/module/module.go:128 +0x94
full-node            | github.com/cosmos/cosmos-sdk/types/module.(*Manager).InitGenesis(_, {{0x4432260, 0x64cf660}, {0x4452450, 0xc003222f40}, {{0x0, 0x0}, {0xc0021e8258, 0x8}, 0x0, ...}, ...}, ...)
full-node            | 	/home/runner/go/pkg/mod/github.com/cosmos/cosmos-sdk@v0.50.9/types/module/module.go:505 +0x694
full-node            | github.com/cosmos/cosmos-sdk/runtime.(*App).InitChainer(_, {{0x4432260, 0x64cf660}, {0x4452450, 0xc003222f40}, {{0x0, 0x0}, {0xc0021e8258, 0x8}, 0x0, ...}, ...}, ...)
full-node            | 	/home/runner/go/pkg/mod/github.com/cosmos/cosmos-sdk@v0.50.9/runtime/app.go:189 +0xdf
full-node            | github.com/cosmos/cosmos-sdk/baseapp.(*BaseApp).InitChain(0xc0017f6d88, 0xc001fb1490)
full-node            | 	/home/runner/go/pkg/mod/github.com/cosmos/cosmos-sdk@v0.50.9/baseapp/abci.go:105 +0x6a2
full-node            | github.com/cosmos/cosmos-sdk/server.cometABCIWrapper.InitChain(...)
full-node            | 	/home/runner/go/pkg/mod/github.com/cosmos/cosmos-sdk@v0.50.9/server/cmt_abci.go:32
full-node            | github.com/cometbft/cometbft/abci/client.(*localClient).InitChain(0xc000a9a700?, {0x4432570?, 0x64cf660?}, 0x7f43690bc108?)
full-node            | 	/home/runner/go/pkg/mod/github.com/cometbft/cometbft@v0.38.10/abci/client/local_client.go:120 +0xc7
full-node            | github.com/cometbft/cometbft/proxy.(*appConnConsensus).InitChain(0xc001a9bd10, {0x4432570, 0x64cf660}, 0xc001fb1490)
full-node            | 	/home/runner/go/pkg/mod/github.com/cometbft/cometbft@v0.38.10/proxy/app_conn.go:78 +0x15e
full-node            | github.com/cometbft/cometbft/consensus.(*Handshaker).ReplayBlocksWithContext(_, {_, _}, {{{0xb, 0x0}, {0x36b5d0e, 0x7}}, {0xc0021e8258, 0x8}, 0x1, ...}, ...)
full-node            | 	/home/runner/go/pkg/mod/github.com/cometbft/cometbft@v0.38.10/consensus/replay.go:336 +0xfb3
full-node            | github.com/cometbft/cometbft/consensus.(*Handshaker).HandshakeWithContext(0xc001effa28, {0x44324c8, 0xc001a94780}, {0x4457e78, 0xc0012b61c0})
full-node            | 	/home/runner/go/pkg/mod/github.com/cometbft/cometbft@v0.38.10/consensus/replay.go:274 +0x425
full-node            | github.com/cometbft/cometbft/node.doHandshake({_, _}, {_, _}, {{{0xb, 0x0}, {0x36b5d0e, 0x7}}, {0xc0021e8258, 0x8}, ...}, ...)
full-node            | 	/home/runner/go/pkg/mod/github.com/cometbft/cometbft@v0.38.10/node/setup.go:186 +0x1a9
full-node            | github.com/cometbft/cometbft/node.NewNodeWithContext({0x44324c8, 0xc001a94780}, 0xc00139a500, {0x440ce10, 0xc00019cbe0}, 0xc001f6b780, {0x43f12a0, 0xc001fa0588}, 0xc0008ae5d0, 0x3f896c0, ...)
full-node            | 	/home/runner/go/pkg/mod/github.com/cometbft/cometbft@v0.38.10/node/node.go:360 +0x630
full-node            | github.com/cosmos/cosmos-sdk/server.startCmtNode({0x44324c8, 0xc001a94780}, 0xc00139a500, {0x4484390, 0xc000abb308}, 0xc000794b00)
full-node            | 	/home/runner/go/pkg/mod/github.com/cosmos/cosmos-sdk@v0.50.9/server/start.go:377 +0x41d
full-node            | github.com/cosmos/cosmos-sdk/server.startInProcess(_, {{{0xc00109a5f0, 0x6}, 0x0, {0xc00109ab10, 0x7}, {0x3718852, 0x1}, {0x3718852, 0x1}, ...}, ...}, ...)
full-node            | 	/home/runner/go/pkg/mod/github.com/cosmos/cosmos-sdk@v0.50.9/server/start.go:323 +0x17c
full-node            | github.com/cosmos/cosmos-sdk/server.start(_, {{0x0, 0x0, 0x0}, {0x445c338, 0xc00179baa0}, 0x0, {0x0, 0x0}, {0x44842c8, ...}, ...}, ...)
full-node            | 	/home/runner/go/pkg/mod/github.com/cosmos/cosmos-sdk@v0.50.9/server/start.go:240 +0x2c7
full-node            | github.com/cosmos/cosmos-sdk/server.StartCmdWithOptions.func2.1()
full-node            | 	/home/runner/go/pkg/mod/github.com/cosmos/cosmos-sdk@v0.50.9/server/start.go:198 +0x63
full-node            | github.com/cosmos/cosmos-sdk/server.wrapCPUProfile(0xc000794b00, 0xc0008af9f8)
full-node            | 	/home/runner/go/pkg/mod/github.com/cosmos/cosmos-sdk@v0.50.9/server/start.go:570 +0x1b3
full-node            | github.com/cosmos/cosmos-sdk/server.StartCmdWithOptions.func2(0xc0015bd508, {0xc00179b470?, 0x0?, 0x3?})
full-node            | 	/home/runner/go/pkg/mod/github.com/cosmos/cosmos-sdk@v0.50.9/server/start.go:197 +0x212
full-node            | github.com/spf13/cobra.(*Command).execute(0xc0015bd508, {0xc00179b3e0, 0x3, 0x3})
full-node            | 	/home/runner/go/pkg/mod/github.com/spf13/cobra@v1.8.1/command.go:985 +0xaaa
full-node            | github.com/spf13/cobra.(*Command).ExecuteC(0xc0012e5808)
full-node            | 	/home/runner/go/pkg/mod/github.com/spf13/cobra@v1.8.1/command.go:1117 +0x3ff
full-node            | github.com/spf13/cobra.(*Command).Execute(...)
full-node            | 	/home/runner/go/pkg/mod/github.com/spf13/cobra@v1.8.1/command.go:1041
full-node            | github.com/spf13/cobra.(*Command).ExecuteContext(...)
full-node            | 	/home/runner/go/pkg/mod/github.com/spf13/cobra@v1.8.1/command.go:1034
full-node            | github.com/cosmos/cosmos-sdk/server/cmd.Execute(0xc0012e5808, {0x0, 0x0}, {0xc001290c18, 0x16})
full-node            | 	/home/runner/go/pkg/mod/github.com/cosmos/cosmos-sdk@v0.50.9/server/cmd/execute.go:34 +0x187
full-node            | main.main()
full-node            | 	/home/runner/work/poktroll/poktroll/cmd/poktrolld/main.go:15 +0x33
full-node            | Error: exit status 2

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions