!etUivBFgFPNCqFxYir:matrix.org

Cosmos-SDK

762 Members
45 Servers

Load older messages


Timestamp Message
16 Mar 2020
12:00:14@liangping:matrix.orgliangping | ping.pub I had the same issue during the developing. it's passed after re-compile
13:37:52@hanyu:matrix.orgHanyu (快乐第一) changed their profile picture.
18:58:45@njmurarka:matrix.orgnjmurarkaI don't understand -- what should I do to resolve this? I have re-compiled the whole network -- every validator was rebuilt/recompiled with the latest code and this problem persists. Please help.
18:59:06@njmurarka:matrix.orgnjmurarka
In reply to @liangping:matrix.org
I had the same issue during the developing. it's passed after re-compile
*

I don't understand -- what should I do to resolve this?

I have re-compiled the whole network -- every validator was rebuilt from scratch.

18:59:48@njmurarka:matrix.orgnjmurarka * I don't understand -- what should I do to resolve this? I have re-compiled the whole network -- every validator was rebuilt/recompiled with the latest code and this problem persists. Please help. Could you possibly give me your telegram or discord id?
20:53:38@njmurarka:matrix.orgnjmurarka * I don't understand -- what should I do to resolve this? I have re-compiled the whole network -- every validator was rebuilt/recompiled with the latest code and this problem persists. Please help.
17 Mar 2020
00:08:23@liangping:matrix.orgliangping | ping.pub HI, njmurarka I can not send message in that room,
20 Mar 2020
16:04:38@zmanian:matrix.orgZaki | iqlusion.io changed their display name from Zaki to Zaki | iqlusion.io.
16:30:24@csmuller:matrix.orgcsmuller joined the room.
16:51:40@nickray:matrix.orgNicolas Stalder | SoloKeys changed their display name from nickray to Nicolas Stalder | SoloKeys.
17:02:46@csmuller:matrix.orgcsmuller

Hi,
I'm using cosmos-sdk and am trying to setup a small network with two consensus nodes defined in the genesis block. Each node is initialized in their own docker container. Both have access to the same private key of a genesis account. This account is used on both nodes in appd gentx to sign the "add validator" genesis transaction. Having the genesis transaction from both nodes, I collect them on one of the nodes with appd collect-gentxs and copy the updated genesis block to the other node.
Then, if I try to start the nodes with appd start I get the error below.
So, apparently the signature verification on one of the MsgCreateValidator transactions fails, but I don't understand why.
Any idea what I'm doing wrong? Thanks

panic: {"codespace":"sdk","code":4,"message":"signature verification failed; verify correct account sequence and chain-id"}

goroutine 1 [running]:
github.com/cosmos/cosmos-sdk/x/genutil.DeliverGenTxs(0x14b9ae0, 0xc0000b2040, 0x14c85c0, 0xc000104a80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
        /go/pkg/mod/github.com/cosmos/cosmos-sdk@v0.37.4/x/genutil/gentx.go:102 +0x30d
github.com/cosmos/cosmos-sdk/x/genutil.InitGenesis(...)
        /go/pkg/mod/github.com/cosmos/cosmos-sdk@v0.37.4/x/genutil/genesis.go:17
github.com/cosmos/cosmos-sdk/x/genutil.AppModule.InitGenesis(0x14b5d60, 0xc000b832d0, 0x149df80, 0xc000032630, 0xc000f112e0, 0x14b9ae0, 0xc0000b2040, 0x14c85c0, 0xc000104a80, 0x0, ...)
        /go/pkg/mod/github.com/cosmos/cosmos-sdk@v0.37.4/x/genutil/module.go:83 +0x16a
github.com/cosmos/cosmos-sdk/types/module.(*Manager).InitGenesis(0xc000b83650, 0x14b9ae0, 0xc0000b2040, 0x14c85c0, 0xc000104a80, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
        /go/pkg/mod/github.com/cosmos/cosmos-sdk@v0.37.4/types/module/module.go:258 +0x278
github.com/csmuller/pbb.(*BulletinBoardApp).InitChainer(0xc00010fb00, 0x14b9ae0, 0xc0000b2040, 0x14c85c0, 0xc000104a80, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
17:15:06@marbar3778:matrix.orgmarbarthis is beacuse two validator nodes can not have the same private key
17:15:32@marbar3778:matrix.orgmarbaryou would have to generate a second one
17:20:47@csmuller:matrix.orgcsmullerThanks for the quick response! Do you mean the private key that resides in ~/.appd/config/priv_validator_key.json or the key used to sign gentx transactions?
17:21:09@marbar3778:matrix.orgmarbaryes
17:23:45@csmuller:matrix.orgcsmullerRedacted or Malformed Event
17:25:42@marbar3778:matrix.orgmarbarah sorry, you need to seperate keys to do gentx. Two nodes that have the same private key and sign a block will be treated as a double sign
17:29:34@csmuller:matrix.orgcsmullerSo, i'll use two different accounts (created with `appcli keys add <name>) to create the genesis transactions, one for each consensus node. Correct?
17:42:08@marbar3778:matrix.orgmarbaryes correct
17:56:43@csmuller:matrix.orgcsmullerMany thanks 🙂
17:57:08@marbar3778:matrix.orgmarbaralso there are many more people in the discord: https://discord.gg/5DJSBR
17:57:23@marbar3778:matrix.orgmarbarjoin if youd like quick answers. I happen to be looking here when you asked so was able to answer quickly
17:57:35@marbar3778:matrix.orgmarbar * join if youd like quick answers. I happen to be looking here when you asked so was able to answer quickly
29 Mar 2020
05:23:41@hanyu:matrix.orgHanyu (快乐第一) changed their profile picture.
30 Mar 2020
09:22:22@hanyu:matrix.orgHanyu (快乐第一) changed their profile picture.
09:41:02@lukekhamilton:matrix.orglukekhamilton set a profile picture.
1 Apr 2020
06:49:46@hanyu:matrix.orgHanyu (快乐第一) changed their profile picture.
08:44:54@hanyu:matrix.orgHanyu (快乐第一) changed their profile picture.
2 Apr 2020
09:26:04@notvadim:matrix.orgVadim joined the room.
13:45:58@notvadim:matrix.orgVadimHi Have question about IBC Is it possible to connect blockchain written in Rust(not Substrate, just in Rust) with Cosmos Hub? I found some demo where was connected two different gaia nodes But I'm realy intresting is possible to write IBC protocol in Rust by follow all the protocols from ICS gitHub repo and connect it with Cosmos Hub?

There are no newer messages yet.


Back to Room List