!etUivBFgFPNCqFxYir:matrix.org

Cosmos-SDK

280 Members
5 Servers

Load older messages


Timestamp Message
18 Feb 2019
11:32:51@avive_sm:matrix.orgavive_sma missing import?
11:35:32@zmanian:matrix.orgZakihttps://github.com/cosmos/sdk-application-tutorial/blob/master/app.go#L196-L204
18:18:47@avive_sm:matrix.orgavive_smthanks - it will be nice if the code in each tutorial step will compile w/o errors - consider removing MakeCodec() from the code in this step https://cosmos.network/docs/tutorial/app-init.html
19:58:41@avive_sm:matrix.orgavive_smThe tutorial is nice. It would have been nicer for KVStore to return errors and not panic and to have proper idiomatic go error handling in Keeper
19:59:22@avive_sm:matrix.orgavive_smIf a store operations fail, it will panic and then the process will crash unless I'm missing something obvious here
20:01:17@avive_sm:matrix.orgavive_smthis may be helpful: https://gobyexample.com/errors
19 Feb 2019
01:03:15@winslyn:matrix.org@winslyn:matrix.org left the room.
06:11:11@donut_sorawit:matrix.orgdonut_sorawit
In reply to @aleksbez:matrix.org
1. generate only 2. sign unsigned tx (via mobile device) 3. broadcast

I already successfully offline signed the transaction (via mobile device) but I got error message "signature verification failed" when I tried to broadcast the transaction. Could you please advice how to broadcast it correctly. Thank you very much.

{
"codespace": "sdk",
"code": 4,
"message": "signature verification failed"
}

06:20:04@flc:matrix.orgflc joined the room.
07:38:12@zmanian:matrix.orgZaki donut_sorawit: How do you know you signed the transaction correctly?
08:17:11@donut_sorawit:matrix.orgdonut_sorawit
In reply to @zmanian:matrix.org
donut_sorawit: How do you know you signed the transaction correctly?

I created the message via light-client REST API using generate_only parameter. Then, signed it using gaiacli tx sign [message.json] --name [signer]. Lastly, broadcasting ti using gaiacli broadcast [signed_message.json].

The response message is "RROR: {"codespace":"sdk","code":4,"message":"signature verification failed"}"

08:18:42@zmanian:matrix.orgZakiMost likely the chain-id was incorret during signing
08:19:21@vincent.ch:matrix.orgvincent.chHi guys, does Tendermint KMS work now?
08:20:33@zmanian:matrix.orgZakiit does
08:23:47@vincent.ch:matrix.orgvincent.chAny doc about how to configure the tmkms.toml file?
09:57:14@donut_sorawit:matrix.orgdonut_sorawitRedacted or Malformed Event
09:57:36@donut_sorawit:matrix.orgdonut_sorawit
In reply to @zmanian:matrix.org
Most likely the chain-id was incorret during signing

Thanks!
It’s work, after adding the chain-id. (gaiacli)

I also try to generate the keys and signing the message using Javascript code from Voyager. Then, broadcast it via light-client API but still get “signature verification failed”.

<Example Keypair from Voyager> privateKey: a3c94e8a9476788792cbce8d9476866070dd2ca2a7e3966b8f4cb8a481a7d460 publicKey: 02d7f9ee1baf4ade443f7d59f477c414be091566c538289513e019a488f5c3f866 cosmosAddress: cosmos1r725djdwfc4655wfpg94qgsjr5rs9ztrf4y8qp
20 Feb 2019
01:51:31@cosmaut:matrix.orgcosmaut (@wimel85) changed their profile picture.
01:52:07@cosmaut:matrix.orgcosmaut (@wimel85) changed their profile picture.
03:59:53@vincent.ch:matrix.orgvincent.chRedacted or Malformed Event
09:08:09@james205:matrix.orgjames205 joined the room.
13:51:28@marcelmws:matrix.orgmarcelmws

Hey I played around with my testnets and gaia version v0.32.0. After time I get this:

Feb 20 13:38:42 ip-172-31-1-214 gaiad[6583]: I[2019-02-20|13:38:42.428] Executed block                               module=state height=582 validTxs=0 invalidTxs=0
Feb 20 13:38:42 ip-172-31-1-214 gaiad[6583]: E[2019-02-20|13:38:42.443] CONSENSUS FAILURE!!!                         module=consensus err="open /home/sentrynode/.gaiad/data/application.db/000002.log: no such file or directory" stack="goroutine 138 [running]:\nruntime/debug.Stack(0xc0027f6158, 0xebe180, 0xc002638270)\n\t/usr/local/Cellar/go/1.11.2/libexec/src/runtime/debug/stack.go:24 +0xa7\ngithub.com/cosmos/cosmos-sdk/vendor/github.com/tendermint/tendermint/consensus.(*ConsensusState).receiveRoutine.func2(0xc0009d7180, 0x115a468)\n\t/Users/m.pohland/go/src/github.com/cosmos/cosmos-sdk/vendor/github.com/tendermint/tendermint/consensus/state.go:610 +0x57\npanic(0xebe180, 0xc002638270)\n\t/usr/local/Cellar/go/1.11.2/libexec/src/runtime/panic.go:513 +0x1b9\ngithub.com/cosmos/cosmos-sdk/vendor/github.com/tendermint/tendermint/libs/db.(*goLevelDBBatch).Write(0xc0023f20e0)\n\t/Users/m.pohland/go/src/github.com/cosmos/cosmos-sdk/vendor/github.com/tendermint/tendermint/libs/db/go_level_db.go:175 +0x7f\ngithub.com/cosmos/cosmos-sdk/vendor/github.com/tendermint/tendermint/libs/db.prefixBatch.Write(0xc000a04740, 0xa, 0x10, 0x1257520, 0xc0023f20e0)\n\t/Users/m.pohland/go/src/github.com/cosmos/cosmos-sdk/vendor/github.com/tendermint/tendermint/libs/db/prefix_db.go:244 +0x31\ngithub.com/cosmos/cosmos-sdk/vendor/github.com/tendermint/iavl.(*nodeDB).Commit(0xc0000c7360)\n\t/Users/m.pohland/go/src/github.com/cosmos/cosmos-sdk/vendor/github.com/tendermint/iavl/nodedb.go:332 +0x6e\ngithub.com/cosmos/cosmos-sdk/vendor/github.com/tendermint/iavl.(*MutableTree).DeleteVersion(0xc000a2c5d0, 0x1e1, 0x20, 0x20)\n\t/Users/m.pohland/go/src/github.com/cosmos/cosmos-sdk/vendor/github.com/tendermint/iavl/mutable_tree.go:380 +0x37b\ngithub.com/cosmos/cosmos-sdk/store/iavl.(*Store).Commit(0xc000175e00, 0xfe5aec, 0x4, 0x20, 0x20)\n\t/Users/m.pohland/go/src/github.com/cosmos/cosmos-sdk/store/iavl/store.go:85 +0xa0\ngithub.com/cosmos/cosmos-sdk/store/rootmulti.commitStores(0x246, 0xc000895470, 0x8010104, 0x1, 0xffffffffffffffff, 0xc0027f6620)\n\t/Users/m.pohland/go/src/github.com/cosmos/cosmo
Feb 20 13:38:42 ip-172-31-1-214 gaiad[6583]: s-sdk/store/rootmulti/store.go:492 +0x177\ngithub.com/cosmos/cosmos-sdk/store/rootmulti.(*Store).Commit(0xc000144380, 0xc00233f7a0, 0xc002248240, 0xd, 0xa)\n\t/Users/m.pohland/go/src/github.com/cosmos/cosmos-sdk/store/rootmulti/store.go:197 +0x47\ngithub.com/cosmos/cosmos-sdk/baseapp.(*BaseApp).Commit(0xc0009c8100, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0)\n\t/Users/m.pohland/go/src/github.com/cosmos/cosmos-sdk/baseapp/baseapp.go:869 +0xea\ngithub.com/cosmos/cosmos-sdk/vendor/github.com/tendermint/tendermint/abci/client.(*localClient).CommitSync(0xc00002ef00, 0x0, 0x0, 0x0)\n\t/Users/m.pohland/go/src/github.com/cosmos/cosmos-sdk/vendor/github.com/tendermint/tendermint/abci/client/local_client.go:215 +0xc0\ngithub.com/cosmos/cosmos-sdk/vendor/github.com/tendermint/tendermint/proxy.(*appConnConsensus).CommitSync(0xc00038d770, 0x0, 0x0, 0x1aac490)\n\t/Users/m.pohland/go/src/github.com/cosmos/cosmos-sdk/vendor/github.com/tendermint/tendermint/proxy/app_conn.go:81 +0x33\ngithub.com/cosmos/cosmos-sdk/vendor/github.com/tendermint/tendermint/state.(*BlockExecutor).Commit(0xc000adf1f0, 0xa, 0x0, 0xc000afcb60, 0x6, 0xc000afcb70, 0x8, 0x246, 0x0, 0xc002d97100, ...)\n\t/Users/m.pohland/go/src/github.com/cosmos/cosmos-sdk/vendor/github.com/tendermint/tendermint/state/execution.go:199 +0x236\ngithub.com/cosmos/cosmos-sdk/vendor/github.com/tendermint/tendermint/state.(*BlockExecutor).ApplyBlock(0xc000adf1f0, 0xa, 0x0, 0xc000afcb60, 0x6, 0xc000afcb70, 0x8, 0x246, 0x0, 0xc002d97100, ...)\n\t/Users/m.pohland/go/src/github.com/cosmos/cosmos-sdk/vendor/github.com/tendermint/tendermint/state/execution.go:154 +0x68e\ngithub.com/cosmos/cosmos-sdk/vendor/github.com/tendermint/tendermint/consensus.(*ConsensusState).finalizeCommit(0xc0009d7180, 0x246)\n\t/Users/m.pohland/go/src/github.com/cosmos/cosmos-sdk/vendor/github.com/tendermint/tendermint/consensus/state.go:1323 +0xa8c\ngithub.com/cosmos/cosmos-sdk/vendor/github.com/tendermint/tendermint/consensus.(*ConsensusState).tryFinalizeCommit(0xc0009d7180, 0x246)\n\t/Users/m.pohland/go/src/github.c
Feb 20 13:38:42 ip-172-31-1-214 gaiad[6583]: om/cosmos/cosmos-sdk/vendor/github.com/tendermint/tendermint/consensus/state.go:1254 +0x451\ngithub.com/cosmos/cosmos-sdk/vendor/github.com/tendermint/tendermint/consensus.(*ConsensusState).addProposalBlockPart(0xc0009d7180, 0xc002342860, 0xc000a791d0, 0x28, 0xc0026ed080, 0x2af, 0x2af)\n\t/Users/m.pohland/go/src/github.com/cosmos/cosmos-sdk/vendor/github.com/tendermint/tendermint/consensus/state.go:1493 +0x4e7\ngithub.com/cosmos/cosmos-sdk/vendor/github.com/tendermint/tendermint/consensus.(*ConsensusState).handleMsg(0xc0009d7180, 0x124ad40, 0xc002342860, 0xc000a791d0, 0x28)\n\t/Users/m.pohland/go/src/github.com/cosmos/cosmos-sdk/vendor/github.com/tendermint/tendermint/consensus/state.go:681 +0x7a0\ngithub.com/cosmos/cosmos-sdk/vendor/github.com/tendermint/tendermint/consensus.(*ConsensusState).receiveRoutine(0xc0009d7180, 0x0)\n\t/Users/m.pohland/go/src/github.com/cosmos/cosmos-sdk/vendor/github.com/tendermint/tendermint/consensus/state.go:641 +0x66f\ncreated by github.com/cosmos/cosmos-sdk/vendor/github.com/tendermint/tendermint/consensus.(*ConsensusState).OnStart\n\t/Users/m.pohland/go/src/github.com/cosmos/cosmos-sdk/vendor/github.com/tendermint/tendermint/consensus/state.go:334 +0x13d\n"
13:52:24@marcelmws:matrix.orgmarcelmwsmaybe useful for next version and fix?!
16:59:28@ghouls:matrix.orgghouls
In reply to @chjango:matrix.org
Hello ghouls
hey! sorry, just saw this.
23:44:59@foofoofooi:matrix.orgfoofoofooi joined the room.
23:49:30@foofoofooi:matrix.orgfoofoofooi set a profile picture.
21 Feb 2019
11:08:24@marbar3778:matrix.orgmarbar3778is there any added benefit to producing empty blocks?
14:23:58@aleksbez:matrix.orgaleksbez marcelmws: did you open an issue?
14:37:47@marcelmws:matrix.orgmarcelmwsno because I cant figure out the error exactly. if I have more information, I will open an issue:)
14:49:39@aleksbez:matrix.orgaleksbezok, great. thank you!

There are no newer messages yet.


Back to Room List