Skip to content

Instantly share code, notes, and snippets.

@ericbets
Created November 18, 2017 00:33
Show Gist options
  • Save ericbets/dd271a22ff513cf61fa98adcdc0e5547 to your computer and use it in GitHub Desktop.
Save ericbets/dd271a22ff513cf61fa98adcdc0e5547 to your computer and use it in GitHub Desktop.
lotion try peer
$ node peer.js
I[11-18|00:31:45.641] Executed block module=state height=1 validTxs=0 invalidTxs=0
I[11-18|00:31:45.645] Committed state module=state height=1 txs=0 hash=618DE7D9F46F3F697D827A1B6D84974760D5DEDA62E4E592ADAA3C646602A94C
I[11-18|00:31:45.652] Executed block module=state height=2 validTxs=0 invalidTxs=0
I[11-18|00:31:45.655] Committed state module=state height=2 txs=0 hash=618DE7D9F46F3F697D827A1B6D84974760D5DEDA62E4E592ADAA3C646602A94C
I[11-18|00:31:45.661] Executed block module=state height=3 validTxs=0 invalidTxs=0
I[11-18|00:31:45.663] Committed state module=state height=3 txs=0 hash=618DE7D9F46F3F697D827A1B6D84974760D5DEDA62E4E592ADAA3C646602A94C
I[11-18|00:31:45.670] Executed block module=state height=4 validTxs=0 invalidTxs=0
I[11-18|00:31:45.713] Committed state module=state height=4 txs=0 hash=618DE7D9F46F3F697D827A1B6D84974760D5DEDA62E4E592ADAA3C646602A94C
I[11-18|00:31:45.721] Executed block module=state height=5 validTxs=0 invalidTxs=0
I[11-18|00:31:45.723] Committed state module=state height=5 txs=0 hash=618DE7D9F46F3F697D827A1B6D84974760D5DEDA62E4E592ADAA3C646602A94C
I[11-18|00:31:45.730] Executed block module=state height=6 validTxs=0 invalidTxs=0
I[11-18|00:31:45.733] Committed state module=state height=6 txs=0 hash=618DE7D9F46F3F697D827A1B6D84974760D5DEDA62E4E592ADAA3C646602A94C
I[11-18|00:31:45.739] Executed block module=state height=7 validTxs=0 invalidTxs=0
I[11-18|00:31:45.741] Committed state module=state height=7 txs=0 hash=618DE7D9F46F3F697D827A1B6D84974760D5DEDA62E4E592ADAA3C646602A94C
E[11-18|00:31:45.834] Replay: wal.group.Search returned EOF module=consensus #ENDHEIGHT=7
E[11-18|00:31:45.834] Replay: wal.group.Search returned EOF module=consensus #HEIGHT=8
E[11-18|00:31:45.975] Failed to add peer module=p2p address=10.1.1.54:35467 err="Duplicate peer"
E[11-18|00:31:45.975] Error dialing seed module=p2p err="Duplicate peer"
E[11-18|00:31:45.995] Failed to add peer module=p2p address=10.1.1.54:35467 err="Duplicate peer"
E[11-18|00:31:45.995] Error dialing seed module=p2p err="Duplicate peer"
E[11-18|00:31:46.080] Attempt to finalize failed. We don't have the commit block. module=consensus height=8 proposal-block= commit-block=CC50BB08C70333D47B3500550F294B771A58DA26
I[11-18|00:31:46.388] Executed block module=state height=8 validTxs=0 invalidTxs=0
I[11-18|00:31:46.391] Committed state module=state height=8 txs=0 hash=618DE7D9F46F3F697D827A1B6D84974760D5DEDA62E4E592ADAA3C646602A94C
E[11-18|00:31:46.618] Found conflicting vote. Publish evidence (TODO) module=consensus height=8 round=0 type=2 valAddr=EBA2A94AE85401D2E8C611F0E2D0CF33328DB381 valIndex=0
E[11-18|00:31:46.681] Attempt to finalize failed. We don't have the commit block. module=consensus height=9 proposal-block= commit-block=D6259420DBE5E90A1B71C734DE22A2CACB1282FE
E[11-18|00:31:46.981] Error with msg module=consensus type=*consensus.BlockPartMessage peer=F6147F63ACDD9FAA945EA8C8B3F4329569F8169814CDF570B4B83BE6DDBD2D23 err="Error part set invalid proof" msg="[BlockPart H:9 R:0 P:Part{#0\n Bytes: 010101117465...\n Proof: SimpleProof{\n Aunts: []\n }\n}]"
E[11-18|00:31:47.183] Failed to add peer module=p2p address=10.1.1.54:35467 err="Duplicate peer"
E[11-18|00:31:47.183] Error dialing seed module=p2p err="Duplicate peer"
panic: Panicked on a Consensus Failure: +2/3 committed an invalid block: Wrong Block.Header.LastBlockID. Expected CC50BB08C70333D47B3500550F294B771A58DA26:1:5C81A7CBD061, got 6565C07A0C08C152680B893BF2302E2A555DF3EF:1:EC8AF5DC788A
goroutine 384 [running]:
github.com/tendermint/tendermint/vendor/github.com/tendermint/tmlibs/common.PanicConsensus(0xaaebe0, 0xc42176a610)
/go/src/github.com/tendermint/tendermint/vendor/github.com/tendermint/tmlibs/common/errors.go:39 +0xdd
github.com/tendermint/tendermint/consensus.(*ConsensusState).finalizeCommit(0xc42044f380, 0x9)
/go/src/github.com/tendermint/tendermint/consensus/state.go:1278 +0x4fb
github.com/tendermint/tendermint/consensus.(*ConsensusState).tryFinalizeCommit(0xc42044f380, 0x9)
/go/src/github.com/tendermint/tendermint/consensus/state.go:1255 +0x5b6
github.com/tendermint/tendermint/consensus.(*ConsensusState).addProposalBlockPart(0xc42044f380, 0x9, 0xc4202558b0, 0xc421455b01, 0x966d4f, 0xc4214fc640, 0x0)
/go/src/github.com/tendermint/tendermint/consensus/state.go:1422 +0x42a
github.com/tendermint/tendermint/consensus.(*ConsensusState).handleMsg(0xc42044f380, 0xad9ce0, 0xc421509500, 0xc421423340, 0x40)
/go/src/github.com/tendermint/tendermint/consensus/state.go:677 +0x6e6
github.com/tendermint/tendermint/consensus.(*ConsensusState).receiveRoutine(0xc42044f380, 0x0)
/go/src/github.com/tendermint/tendermint/consensus/state.go:636 +0x360
created by github.com/tendermint/tendermint/consensus.(*ConsensusState).OnStart
/go/src/github.com/tendermint/tendermint/consensus/state.go:360 +0x283
/spare/3rdParty/lotion/lib/tendermint.js:63
throw new Error('Tendermint node crashed')
^
Error: Tendermint node crashed
at ChildProcess.tendermintProcess.on (/spare/3rdParty/lotion/lib/tendermint.js:63:11)
at emitTwo (events.js:125:13)
at ChildProcess.emit (events.js:213:7)
at maybeClose (internal/child_process.js:927:16)
at Socket.stream.socket.on (internal/child_process.js:348:11)
at emitOne (events.js:115:13)
at Socket.emit (events.js:210:7)
at Pipe._handle.close [as _onclose] (net.js:547:12)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment