Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BLS pubkey generated by cometbft could not be accepted in genesis gentx #22549

Closed
simonzg opened this issue Nov 19, 2024 · 0 comments · Fixed by #22613
Closed

BLS pubkey generated by cometbft could not be accepted in genesis gentx #22549

simonzg opened this issue Nov 19, 2024 · 0 comments · Fixed by #22613
Assignees

Comments

@simonzg
Copy link

simonzg commented Nov 19, 2024

Hi Cosmos team,

I'm trying out bls12381 impl by running a simapp with bls-enabled validators. However, when I add the MsgCreateValidator tx that includes bls pubkey into genesis, simapp panics with public key must be 48 bytes.

I noticed that cometbft generates bls pubkey with 96 bytes, but cosmos/crypto impl defines pubkey as 48 bytes . I'm wondering how could I use cometbft bls pubkey to create a new validator?

The tx that I put in genesis was like

{
          "body": {
            "messages": [
              {
                "@type": "/cosmos.staking.v1beta1.MsgCreateValidator",
                "description": {
                  "moniker": "test",
                  "identity": "",
                  "website": "",
                  "security_contact": "",
                  "details": ""
                },
                "commission": {
                  "rate": "0.100000000000000000",
                  "max_rate": "0.200000000000000000",
                  "max_change_rate": "0.010000000000000000"
                },
                "min_self_delegation": "1",
                "delegator_address": "",
                "validator_address": "cosmosvaloper1qz8c97qh488rg4f9qr9akyruzuygmt2zqdzduk",
                "pubkey": {
                  "@type": "/cosmos.crypto.bls12_381.PubKey",
                  "key": "Ab8MKkZS/vsuDDPOsxwzJPAbQWHXX1ki+TEiAxiRD3r1rNW6vF50Q8zWq0n7YLFxFouaUYEqjdRyCq9SyewzKqwf0WPleRHqlr9/pfK4DGVycgNGMxQCqHzsotCvEEc8"
                },
                "value": { "denom": "stake", "amount": "3000000000" }
              }
            ],
            "memo": "[email protected]:26656",
            "timeout_height": "0",
            "unordered": false,
            "timeout_timestamp": "0001-01-01T00:00:00Z",
            "extension_options": [],
            "non_critical_extension_options": []
          },
          "auth_info": {
            "signer_infos": [
              {
                "public_key": {
                  "@type": "/cosmos.crypto.secp256k1.PubKey",
                  "key": "A1SRp8MxgTJaFn3l0dXeuKy47faeBsrmzEsZecNNOC1D"
                },
                "mode_info": { "single": { "mode": "SIGN_MODE_DIRECT" } },
                "sequence": "0"
              }
            ],
            "fee": {
              "amount": [],
              "gas_limit": "200000",
              "payer": "cosmos1qz8c97qh488rg4f9qr9akyruzuygmt2z9ekcs9",
              "granter": ""
            },
            "tip": null
          },
          "signatures": [
            "aBSVC4hcbLeVY4iP2+2a30g53PG3OB485ulYtzLEFA8Fluu80Nt51qg/wIv1Hb4Hld8FhLjne30sgh9GEzXYcg=="
          ]
        }

and the full stacktrace was

3:58PM ERR panic recovered in runTx err="recovered: runtime error: invalid memory address or nil pointer dereference\nstack:\ngoroutine 1 [running]:\nruntime/debug.Stack()\n\truntime/debug/stack.go:26 +0x64\ngithub.com/cosmos/cosmos-sdk/baseapp.NewBaseApp.newDefaultRecoveryMiddleware.func5({0x103b86760, 0x105d62390})\n\tgithub.com/cosmos/[email protected]/baseapp/recovery.go:74 +0x24\ngithub.com/cosmos/cosmos-sdk/baseapp.NewBaseApp.newDefaultRecoveryMiddleware.newRecoveryMiddleware.func7({0x103b86760?, 0x105d62390?})\n\tgithub.com/cosmos/[email protected]/baseapp/recovery.go:42 +0x38\ngithub.com/cosmos/cosmos-sdk/baseapp.processRecovery({0x103b86760, 0x105d62390}, 0x14001bd58c8?)\n\tgithub.com/cosmos/[email protected]/baseapp/recovery.go:31 +0x38\ngithub.com/cosmos/cosmos-sdk/baseapp.processRecovery({0x103b86760, 0x105d62390}, 0x10414b0e0?)\n\tgithub.com/cosmos/[email protected]/baseapp/recovery.go:36 +0x60\ngithub.com/cosmos/cosmos-sdk/baseapp.(*BaseApp).runTx.func1()\n\tgithub.com/cosmos/[email protected]/baseapp/baseapp.go:842 +0xc8\npanic({0x103b86760?, 0x105d62390?})\n\truntime/panic.go:785 +0x124\ngithub.com/cosmos/cosmos-sdk/crypto/keys/bls12_381.PubKey.Address({{0x14001adefc0?, 0x100ca3f54?, 0x0?}})\n\tgithub.com/cosmos/[email protected]/crypto/keys/bls12_381/key_cgo.go:139 +0x34\ncosmossdk.io/x/staking/keeper.msgServer.checkConsKeyAlreadyUsed({0x104103568?}, {0x104142968, 0x140011e51a0}, {0x104155d58?, 0x140029277a0?})\n\tcosmossdk.io/x/[email protected]/keeper/msg_server.go:746 +0x4c\ncosmossdk.io/x/staking/keeper.msgServer.CreateValidator({0x0?}, {0x104142968, 0x140011e51a0}, 0x14001aca580)\n\tcosmossdk.io/x/[email protected]/keeper/msg_server.go:105 +0x6f4\ncosmossdk.io/x/staking/types._Msg_CreateValidator_Handler.func1({0x104142968?, 0x140011e51a0?}, {0x103ffe620?, 0x14001aca580?})\n\tcosmossdk.io/x/[email protected]/types/tx.pb.go:1012 +0xd0\ngithub.com/cosmos/cosmos-sdk/baseapp.(*MsgServiceRouter).registerMsgServiceHandler.func2.1({0x1041421f0, 0x14001769808}, {0x14001bd8ec8?, 0x10198f09c?}, 0x3c0?, 0x14002927c68)\n\tgithub.com/cosmos/[email protected]/baseapp/msg_service_router.go:197 +0x98\ncosmossdk.io/x/staking/types._Msg_CreateValidator_Handler({0x1040e7780, 0x14000b6ed78}, {0x1041421f0, 0x14001769808}, 0x1040efa40, 0x14003113b40)\n\tcosmossdk.io/x/[email protected]/types/tx.pb.go:1014 +0x148\ngithub.com/cosmos/cosmos-sdk/baseapp.(*MsgServiceRouter).registerMsgServiceHandler.func2({{0x104142318, 0x10603b000}, {0x1041628f0, 0x140020b68c0}, {{0x0, 0x0}, {0x140030a066c, 0x4}, 0x0, {0xa2c7248, ...}, ...}, ...}, ...)\n\tgithub.com/cosmos/[email protected]/baseapp/msg_service_router.go:220 +0x28c\ngithub.com/cosmos/cosmos-sdk/baseapp.(*BaseApp).runMsgs(_, {{0x104142318, 0x10603b000}, {0x1041628f0, 0x140020b68c0}, {{0x0, 0x0}, {0x140030a066c, 0x4}, 0x0, ...}, ...}, ...)\n\tgithub.com/cosmos/[email protected]/baseapp/baseapp.go:1030 +0x16c\ngithub.com/cosmos/cosmos-sdk/baseapp.(*BaseApp).runTx(0x140009c1b08, 0x7, {0x1400133b400, 0x262, 0x262})\n\tgithub.com/cosmos/[email protected]/baseapp/baseapp.go:959 +0xb78\ngithub.com/cosmos/cosmos-sdk/baseapp.(*BaseApp).deliverTx(0x140009c1b08, {0x1400133b400?, 0x140019cd6f8?, 0x10205da08?})\n\tgithub.com/cosmos/[email protected]/baseapp/baseapp.go:764 +0x88\ngithub.com/cosmos/cosmos-sdk/baseapp.(*BaseApp).ExecuteGenesisTx(0x104188df0?, {0x1400133b400?, 0x140007ac150?, 0x1400019d038?})\n\tgithub.com/cosmos/[email protected]/baseapp/genesis.go:11 +0x20\ngithub.com/cosmos/cosmos-sdk/x/genutil.DeliverGenTxs({0x1041421f0, 0x14001b81c08}, {0x14002926df8?, 0x14002926d68?, 0x140019cd808?}, {0x10d22e368, 0x14001d2ad08}, {0x104104960, 0x14001d500c0}, {0x10d22e388, ...})\n\tgithub.com/cosmos/[email protected]/x/genutil/gentx.go:108 +0x118\ngithub.com/cosmos/cosmos-sdk/x/genutil.InitGenesis({0x1041421f0?, 0x14001b81c08?}, {0x10d22e368?, 0x14001d2ad08?}, {0x104104960?, 0x14001d500c0?}, {{0x14002926df8?, 0x10120368c?, 0x14001f69c70?}}, {0x10d22e388?, ...})\n\tgithub.com/cosmos/[email protected]/x/genutil/genesis.go:29 +0x74\ngithub.com/cosmos/cosmos-sdk/x/genutil.AppModule.InitGenesis({{0x104188df0, 0x140009580a0}, {0x10d22e340, 0x140019426f8}, {0x10d22e368, 0x14001d2ad08}, {0x104104960, 0x14001d500c0}, {0x10d22e388, 0x1400083e500}, ...}, ...)\n\tgithub.com/cosmos/[email protected]/x/genutil/module.go:82 +0xd0\ngithub.com/cosmos/cosmos-sdk/types/module.(*Manager).InitGenesis(_, {{0x104142318, 0x10603b000}, {0x1041628f0, 0x14001ae0d80}, {{0x0, 0x0}, {0x140030a066c, 0x4}, 0x0, ...}, ...}, ...)\n\tgithub.com/cosmos/[email protected]/types/module/module.go:461 +0x714\ngithub.com/cosmos/cosmos-sdk/runtime.(*App).InitChainer(_, {{0x104142318, 0x10603b000}, {0x1041628f0, 0x14001ae0d80}, {{0x0, 0x0}, {0x140030a066c, 0x4}, 0x0, ...}, ...}, ...)\n\tgithub.com/cosmos/[email protected]/runtime/app.go:212 +0xb0\ngithub.com/cosmos/cosmos-sdk/baseapp.(*BaseApp).InitChain(0x140009c1b08, 0x14001f69c00)\n\tgithub.com/cosmos/[email protected]/baseapp/abci.go:109 +0x514\ngithub.com/cosmos/cosmos-sdk/server.cometABCIWrapper.InitChain(...)\n\tgithub.com/cosmos/[email protected]/server/cmt_abci.go:33\ngithub.com/cometbft/cometbft/abci/client.(*localClient).InitChain(0x10cef5548?, {0x104142a48?, 0x10603b000?}, 0x106154f18?)\n\tgithub.com/cometbft/[email protected]/abci/client/local_client.go:125 +0xe4\ngithub.com/cometbft/cometbft/proxy.(*appConnConsensus).InitChain(0x1400068c108, {0x104142a48, 0x10603b000}, 0x14001f69c00)\n\tgithub.com/cometbft/[email protected]/proxy/app_conn.go:78 +0x124\ngithub.com/meterio/supernova/consensus.(*Handshaker).ReplayBlocks(0x14001bdd990, {0x1041429a0, 0x1400347b1d0}, {0x14001a92700, 0x20, 0x20}, 0x0, {0x1041670c8, 0x140012a48c0})\n\tgithub.com/meterio/[email protected]/consensus/handshaker.go:144 +0x968\ngithub.com/meterio/supernova/consensus.(*Handshaker).Handshake(0x14001bdd990, {0x1041429a0, 0x1400347b1d0}, {0x1041670c8, 0x140012a48c0})\n\tgithub.com/meterio/[email protected]/consensus/handshaker.go:88 +0x470\ngithub.com/meterio/supernova/node.doHandshake({0x1041429a0, 0x1400347b1d0}, 0x14001d365a0, 0x140020fba00, {0x10414cc00, 0x140014fc910}, {0x1041670c8, 0x140012a48c0})\n\tgithub.com/meterio/[email protected]/node/node.go:241 +0xec\ngithub.com/meterio/supernova/node.NewNodeWithContext({0x1041429a0, 0x1400347b1d0}, 0x14000db5540, 0x140018c8280, 0x14003117ee0, {0x104142878, 0x1400068d050}, 0x1400217a280, 0x1040f06c8, {0x104143400, ...})\n\tgithub.com/meterio/[email protected]/node/node.go:188 +0x6e0\ngithub.com/cosmos/cosmos-sdk/server.startCmtNode({0x1041429a0, 0x1400347b1d0}, 0x14000db5540, {0x104188d28, 0x14001d45008}, 0x0?)\n\tgithub.com/cosmos/[email protected]/server/start.go:401 +0x52c\ngithub.com/cosmos/cosmos-sdk/server.startInProcess[...](_, {{{0x14001aa2e60, 0x6}, 0x0, {0x14001aa33a0, 0x7}, {0x102fb6075, 0x1}, {0x102fb6075, 0x1}, ...}, ...}, ...)\n\tgithub.com/cosmos/[email protected]/server/start.go:332 +0x320\ngithub.com/cosmos/cosmos-sdk/server.start[...](_, {{0x1041697b8, 0x140019231d0}, 0x0, {0x14001889c28, 0x4}, {0x104188df0, 0x140015bda80}, {0x1041634e0, 0x1400155e2c0}, ...}, ...)\n\tgithub.com/cosmos/[email protected]/server/start.go:247 +0x464\ngithub.com/cosmos/cosmos-sdk/server.StartCmdWithOptions[...].func2.1()\n\tgithub.com/cosmos/[email protected]/server/start.go:197 +0xd8\ngithub.com/cosmos/cosmos-sdk/server.wrapCPUProfile(0x1400193a400, 0x14001187910)\n\tgithub.com/cosmos/[email protected]/server/start.go:617 +0x16c\ngithub.com/cosmos/cosmos-sdk/server.StartCmdWithOptions[...].func2({0x102f5597a, 0x4?, 0x102f5578a?})\n\tgithub.com/cosmos/[email protected]/server/start.go:195 +0x1e8\ngithub.com/spf13/cobra.(*Command).execute(0x14001717b08, {0x10603b000, 0x0, 0x0})\n\tgithub.com/spf13/[email protected]/command.go:985 +0x834\ngithub.com/spf13/cobra.(*Command).ExecuteC(0x14001659208)\n\tgithub.com/spf13/[email protected]/command.go:1117 +0x344\ngithub.com/spf13/cobra.(*Command).Execute(...)\n\tgithub.com/spf13/[email protected]/command.go:1041\ngithub.com/spf13/cobra.(*Command).ExecuteContext(...)\n\tgithub.com/spf13/[email protected]/command.go:1034\ngithub.com/cosmos/cosmos-sdk/server/cmd.Execute(0x14001659208, {0x0, 0x0}, {0x140014bbad0, 0x14})\n\tgithub.com/cosmos/[email protected]/server/cmd/execute.go:40 +0x31c\nmain.main()\n\tcosmossdk.io/simapp/simd/main.go:16 +0x44\n: panic" module=baseapp
ERROR:  failed to execute DeliverTx for '{
          "body": {
            "messages": [
              {
                "@type": "/cosmos.staking.v1beta1.MsgCreateValidator",
                "description": {
                  "moniker": "test",
                  "identity": "",
                  "website": "",
                  "security_contact": "",
                  "details": ""
                },
                "commission": {
                  "rate": "0.100000000000000000",
                  "max_rate": "0.200000000000000000",
                  "max_change_rate": "0.010000000000000000"
                },
                "min_self_delegation": "1",
                "delegator_address": "",
                "validator_address": "cosmosvaloper1qz8c97qh488rg4f9qr9akyruzuygmt2zqdzduk",
                "pubkey": {
                  "@type": "/cosmos.crypto.bls12_381.PubKey",
                  "key": "Ab8MKkZS/vsuDDPOsxwzJPAbQWHXX1ki+TEiAxiRD3r1rNW6vF50Q8zWq0n7YLFxFouaUYEqjdRyCq9SyewzKqwf0WPleRHqlr9/pfK4DGVycgNGMxQCqHzsotCvEEc8"
                },
                "value": { "denom": "stake", "amount": "3000000000" }
              }
            ],
            "memo": "[email protected]:26656",
            "timeout_height": "0",
            "unordered": false,
            "timeout_timestamp": "0001-01-01T00:00:00Z",
            "extension_options": [],
            "non_critical_extension_options": []
          },
          "auth_info": {
            "signer_infos": [
              {
                "public_key": {
                  "@type": "/cosmos.crypto.secp256k1.PubKey",
                  "key": "A1SRp8MxgTJaFn3l0dXeuKy47faeBsrmzEsZecNNOC1D"
                },
                "mode_info": { "single": { "mode": "SIGN_MODE_DIRECT" } },
                "sequence": "0"
              }
            ],
            "fee": {
              "amount": [],
              "gas_limit": "200000",
              "payer": "cosmos1qz8c97qh488rg4f9qr9akyruzuygmt2z9ekcs9",
              "granter": ""
            },
            "tip": null
          },
          "signatures": [
            "aBSVC4hcbLeVY4iP2+2a30g53PG3OB485ulYtzLEFA8Fluu80Nt51qg/wIv1Hb4Hld8FhLjne30sgh9GEzXYcg=="
          ]
        }': recovered: runtime error: invalid memory address or nil pointer dereference
stack:
goroutine 1 [running]:
runtime/debug.Stack()
        runtime/debug/stack.go:26 +0x64
github.com/cosmos/cosmos-sdk/baseapp.NewBaseApp.newDefaultRecoveryMiddleware.func5({0x103b86760, 0x105d62390})
        github.com/cosmos/[email protected]/baseapp/recovery.go:74 +0x24
github.com/cosmos/cosmos-sdk/baseapp.NewBaseApp.newDefaultRecoveryMiddleware.newRecoveryMiddleware.func7({0x103b86760?, 0x105d62390?})
        github.com/cosmos/[email protected]/baseapp/recovery.go:42 +0x38
github.com/cosmos/cosmos-sdk/baseapp.processRecovery({0x103b86760, 0x105d62390}, 0x14001bd58c8?)
        github.com/cosmos/[email protected]/baseapp/recovery.go:31 +0x38
github.com/cosmos/cosmos-sdk/baseapp.processRecovery({0x103b86760, 0x105d62390}, 0x10414b0e0?)
        github.com/cosmos/[email protected]/baseapp/recovery.go:36 +0x60
github.com/cosmos/cosmos-sdk/baseapp.(*BaseApp).runTx.func1()
        github.com/cosmos/[email protected]/baseapp/baseapp.go:842 +0xc8
panic({0x103b86760?, 0x105d62390?})
        runtime/panic.go:785 +0x124
github.com/cosmos/cosmos-sdk/crypto/keys/bls12_381.PubKey.Address({{0x14001adefc0?, 0x100ca3f54?, 0x0?}})
        github.com/cosmos/[email protected]/crypto/keys/bls12_381/key_cgo.go:139 +0x34
cosmossdk.io/x/staking/keeper.msgServer.checkConsKeyAlreadyUsed({0x104103568?}, {0x104142968, 0x140011e51a0}, {0x104155d58?, 0x140029277a0?})
        cosmossdk.io/x/[email protected]/keeper/msg_server.go:746 +0x4c
cosmossdk.io/x/staking/keeper.msgServer.CreateValidator({0x0?}, {0x104142968, 0x140011e51a0}, 0x14001aca580)
        cosmossdk.io/x/[email protected]/keeper/msg_server.go:105 +0x6f4
cosmossdk.io/x/staking/types._Msg_CreateValidator_Handler.func1({0x104142968?, 0x140011e51a0?}, {0x103ffe620?, 0x14001aca580?})
        cosmossdk.io/x/[email protected]/types/tx.pb.go:1012 +0xd0
github.com/cosmos/cosmos-sdk/baseapp.(*MsgServiceRouter).registerMsgServiceHandler.func2.1({0x1041421f0, 0x14001769808}, {0x14001bd8ec8?, 0x10198f09c?}, 0x3c0?, 0x14002927c68)
        github.com/cosmos/[email protected]/baseapp/msg_service_router.go:197 +0x98
cosmossdk.io/x/staking/types._Msg_CreateValidator_Handler({0x1040e7780, 0x14000b6ed78}, {0x1041421f0, 0x14001769808}, 0x1040efa40, 0x14003113b40)
        cosmossdk.io/x/[email protected]/types/tx.pb.go:1014 +0x148
github.com/cosmos/cosmos-sdk/baseapp.(*MsgServiceRouter).registerMsgServiceHandler.func2({{0x104142318, 0x10603b000}, {0x1041628f0, 0x140020b68c0}, {{0x0, 0x0}, {0x140030a066c, 0x4}, 0x0, {0xa2c7248, ...}, ...}, ...}, ...)
        github.com/cosmos/[email protected]/baseapp/msg_service_router.go:220 +0x28c
github.com/cosmos/cosmos-sdk/baseapp.(*BaseApp).runMsgs(_, {{0x104142318, 0x10603b000}, {0x1041628f0, 0x140020b68c0}, {{0x0, 0x0}, {0x140030a066c, 0x4}, 0x0, ...}, ...}, ...)
        github.com/cosmos/[email protected]/baseapp/baseapp.go:1030 +0x16c
github.com/cosmos/cosmos-sdk/baseapp.(*BaseApp).runTx(0x140009c1b08, 0x7, {0x1400133b400, 0x262, 0x262})
        github.com/cosmos/[email protected]/baseapp/baseapp.go:959 +0xb78
github.com/cosmos/cosmos-sdk/baseapp.(*BaseApp).deliverTx(0x140009c1b08, {0x1400133b400?, 0x140019cd6f8?, 0x10205da08?})
        github.com/cosmos/[email protected]/baseapp/baseapp.go:764 +0x88
github.com/cosmos/cosmos-sdk/baseapp.(*BaseApp).ExecuteGenesisTx(0x104188df0?, {0x1400133b400?, 0x140007ac150?, 0x1400019d038?})
        github.com/cosmos/[email protected]/baseapp/genesis.go:11 +0x20
github.com/cosmos/cosmos-sdk/x/genutil.DeliverGenTxs({0x1041421f0, 0x14001b81c08}, {0x14002926df8?, 0x14002926d68?, 0x140019cd808?}, {0x10d22e368, 0x14001d2ad08}, {0x104104960, 0x14001d500c0}, {0x10d22e388, ...})
        github.com/cosmos/[email protected]/x/genutil/gentx.go:108 +0x118
github.com/cosmos/cosmos-sdk/x/genutil.InitGenesis({0x1041421f0?, 0x14001b81c08?}, {0x10d22e368?, 0x14001d2ad08?}, {0x104104960?, 0x14001d500c0?}, {{0x14002926df8?, 0x10120368c?, 0x14001f69c70?}}, {0x10d22e388?, ...})
        github.com/cosmos/[email protected]/x/genutil/genesis.go:29 +0x74
github.com/cosmos/cosmos-sdk/x/genutil.AppModule.InitGenesis({{0x104188df0, 0x140009580a0}, {0x10d22e340, 0x140019426f8}, {0x10d22e368, 0x14001d2ad08}, {0x104104960, 0x14001d500c0}, {0x10d22e388, 0x1400083e500}, ...}, ...)
        github.com/cosmos/[email protected]/x/genutil/module.go:82 +0xd0
github.com/cosmos/cosmos-sdk/types/module.(*Manager).InitGenesis(_, {{0x104142318, 0x10603b000}, {0x1041628f0, 0x14001ae0d80}, {{0x0, 0x0}, {0x140030a066c, 0x4}, 0x0, ...}, ...}, ...)
        github.com/cosmos/[email protected]/types/module/module.go:461 +0x714
github.com/cosmos/cosmos-sdk/runtime.(*App).InitChainer(_, {{0x104142318, 0x10603b000}, {0x1041628f0, 0x14001ae0d80}, {{0x0, 0x0}, {0x140030a066c, 0x4}, 0x0, ...}, ...}, ...)
        github.com/cosmos/[email protected]/runtime/app.go:212 +0xb0
github.com/cosmos/cosmos-sdk/baseapp.(*BaseApp).InitChain(0x140009c1b08, 0x14001f69c00)
        github.com/cosmos/[email protected]/baseapp/abci.go:109 +0x514
github.com/cosmos/cosmos-sdk/server.cometABCIWrapper.InitChain(...)
        github.com/cosmos/[email protected]/server/cmt_abci.go:33
github.com/cometbft/cometbft/abci/client.(*localClient).InitChain(0x10cef5548?, {0x104142a48?, 0x10603b000?}, 0x106154f18?)
        github.com/cometbft/[email protected]/abci/client/local_client.go:125 +0xe4
github.com/cometbft/cometbft/proxy.(*appConnConsensus).InitChain(0x1400068c108, {0x104142a48, 0x10603b000}, 0x14001f69c00)
        github.com/cometbft/[email protected]/proxy/app_conn.go:78 +0x124
github.com/meterio/supernova/consensus.(*Handshaker).ReplayBlocks(0x14001bdd990, {0x1041429a0, 0x1400347b1d0}, {0x14001a92700, 0x20, 0x20}, 0x0, {0x1041670c8, 0x140012a48c0})
        github.com/meterio/[email protected]/consensus/handshaker.go:144 +0x968
github.com/meterio/supernova/consensus.(*Handshaker).Handshake(0x14001bdd990, {0x1041429a0, 0x1400347b1d0}, {0x1041670c8, 0x140012a48c0})
        github.com/meterio/[email protected]/consensus/handshaker.go:88 +0x470
github.com/meterio/supernova/node.doHandshake({0x1041429a0, 0x1400347b1d0}, 0x14001d365a0, 0x140020fba00, {0x10414cc00, 0x140014fc910}, {0x1041670c8, 0x140012a48c0})
        github.com/meterio/[email protected]/node/node.go:241 +0xec
github.com/meterio/supernova/node.NewNodeWithContext({0x1041429a0, 0x1400347b1d0}, 0x14000db5540, 0x140018c8280, 0x14003117ee0, {0x104142878, 0x1400068d050}, 0x1400217a280, 0x1040f06c8, {0x104143400, ...})
        github.com/meterio/[email protected]/node/node.go:188 +0x6e0
github.com/cosmos/cosmos-sdk/server.startCmtNode({0x1041429a0, 0x1400347b1d0}, 0x14000db5540, {0x104188d28, 0x14001d45008}, 0x0?)
        github.com/cosmos/[email protected]/server/start.go:401 +0x52c
github.com/cosmos/cosmos-sdk/server.startInProcess[...](_, {{{0x14001aa2e60, 0x6}, 0x0, {0x14001aa33a0, 0x7}, {0x102fb6075, 0x1}, {0x102fb6075, 0x1}, ...}, ...}, ...)
        github.com/cosmos/[email protected]/server/start.go:332 +0x320
github.com/cosmos/cosmos-sdk/server.start[...](_, {{0x1041697b8, 0x140019231d0}, 0x0, {0x14001889c28, 0x4}, {0x104188df0, 0x140015bda80}, {0x1041634e0, 0x1400155e2c0}, ...}, ...)
        github.com/cosmos/[email protected]/server/start.go:247 +0x464
github.com/cosmos/cosmos-sdk/server.StartCmdWithOptions[...].func2.1()
        github.com/cosmos/[email protected]/server/start.go:197 +0xd8
github.com/cosmos/cosmos-sdk/server.wrapCPUProfile(0x1400193a400, 0x14001187910)
        github.com/cosmos/[email protected]/server/start.go:617 +0x16c
github.com/cosmos/cosmos-sdk/server.StartCmdWithOptions[...].func2({0x102f5597a, 0x4?, 0x102f5578a?})
        github.com/cosmos/[email protected]/server/start.go:195 +0x1e8
github.com/spf13/cobra.(*Command).execute(0x14001717b08, {0x10603b000, 0x0, 0x0})
        github.com/spf13/[email protected]/command.go:985 +0x834
github.com/spf13/cobra.(*Command).ExecuteC(0x14001659208)
        github.com/spf13/[email protected]/command.go:1117 +0x344
github.com/spf13/cobra.(*Command).Execute(...)
        github.com/spf13/[email protected]/command.go:1041
github.com/spf13/cobra.(*Command).ExecuteContext(...)
        github.com/spf13/[email protected]/command.go:1034
github.com/cosmos/cosmos-sdk/server/cmd.Execute(0x14001659208, {0x0, 0x0}, {0x140014bbad0, 0x14})
        github.com/cosmos/[email protected]/server/cmd/execute.go:40 +0x31c
main.main()
        cosmossdk.io/simapp/simd/main.go:16 +0x44
: panic```
@github-actions github-actions bot added the needs-triage Issue that needs to be triaged label Nov 19, 2024
@github-project-automation github-project-automation bot moved this to 📋 Backlog in Cosmos-SDK Nov 19, 2024
@julienrbrt julienrbrt added C:x/staking C:Crypto and removed needs-triage Issue that needs to be triaged labels Nov 19, 2024
@educlerici-zondax educlerici-zondax added the S:zondax Squad: Zondax label Nov 21, 2024
@github-project-automation github-project-automation bot moved this from 📋 Backlog to 🥳 Done in Cosmos-SDK Nov 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: 🥳 Done
Development

Successfully merging a pull request may close this issue.

6 participants