Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

[GRANDPA] Encountered consensus error: ClientImport, Wasmi, Unreachable #2834

Open
boozook opened this issue Jun 10, 2019 · 3 comments
Open

Comments

@boozook
Copy link

boozook commented Jun 10, 2019

Issue related to #2729 & #2738.

Still reproducible on commits 46121f... & 9687db....

2019-06-10 13:03:42 Roles: AUTHORITY
2019-06-10 13:03:42 Highest known block at #0
2019-06-10 13:03:42 Local node identity is: QmZraTM5UodUsarLmX8ytPE7DrujvuYNALNQ2PHc32LwNa
2019-06-10 13:03:42 Using authority key 5EJEZLV9...
2019-06-10 13:03:46 Discovered new external address for our node: /ip4/157.230.35.215/tcp/30333/p2p/QmZraTM5UodUsarLmX8ytPE7DrujvuYNALNQ2PHc32LwNa
2019-06-10 13:03:47 Idle (1 peers), best: #0 (0x5f63…0017), finalized #0 (0x5f63…0017), ⬇ 1.3kiB/s ⬆ 1.3kiB/s
2019-06-10 13:03:50 Starting consensus session on top of parent 0x5f635d58e1ab95577205e48b64a046541ba36ac8458fb13d9e31c97595290017
/fzzr/akropolis-c2fc-node/runtime/src/lib.rs
242
1
2019-06-10 13:03:50 Encountered consensus error: ClientImport("Error(Inner(Execution(Wasmi(Trap(Trap { kind: Unreachable })))))")
2019-06-10 13:03:50 Authorship task terminated unexpectedly. Restarting
2019-06-10 13:03:52 Idle (1 peers), best: #0 (0x5f63…0017), finalized #0 (0x5f63…0017), ⬇ 55 B/s ⬆ 73 B/s
2019-06-10 13:03:57 Idle (1 peers), best: #0 (0x5f63…0017), finalized #0 (0x5f63…0017), ⬇ 0 ⬆ 0
2019-06-10 13:04:02 Idle (1 peers), best: #0 (0x5f63…0017), finalized #0 (0x5f63…0017), ⬇ 38 B/s ⬆ 0.1kiB/s
2019-06-10 13:04:07 Idle (1 peers), best: #0 (0x5f63…0017), finalized #0 (0x5f63…0017), ⬇ 0.1kiB/s ⬆ 78 B/s
2019-06-10 13:04:12 Idle (1 peers), best: #0 (0x5f63…0017), finalized #0 (0x5f63…0017), ⬇ 0 ⬆ 0
2019-06-10 13:04:17 Idle (1 peers), best: #0 (0x5f63…0017), finalized #0 (0x5f63…0017), ⬇ 37 B/s ⬆ 73 B/s
2019-06-10 13:04:20 Starting consensus session on top of parent 0x5f635d58e1ab95577205e48b64a046541ba36ac8458fb13d9e31c97595290017
/fzzr/akropolis-c2fc-node/runtime/src/lib.rs
242
1
2019-06-10 13:04:20 Encountered consensus error: ClientImport("Error(Inner(Execution(Wasmi(Trap(Trap { kind: Unreachable })))))")
2019-06-10 13:04:20 Authorship task terminated unexpectedly. Restarting
2019-06-10 13:04:22 Idle (1 peers), best: #0 (0x5f63…0017), finalized #0 (0x5f63…0017), ⬇ 0.1kiB/s ⬆ 0.1kiB/s

The error in log pointing to construct_runtime! macro.

boozook pushed a commit to kaonone/akropolis-c2fc-srml that referenced this issue Jun 10, 2019
@boozook
Copy link
Author

boozook commented Jun 10, 2019

Workaround - simply turn off grandpa with arg --no-grandpa. Not a workaround really.

@rphmeier
Copy link
Contributor

https://github.com/akropolisio/akropolis-polkadot/blob/master/src/chain_spec.rs#L196 , you're starting with zero grandpa voters, which might cause something like this.

@boozook
Copy link
Author

boozook commented Jun 11, 2019

Sorry, I'v mentioned commit previously. GRANDPA is configured with three keys.
Just same as there in Polka.

boozook pushed a commit to kaonone/akropolis-c2fc-srml that referenced this issue Jun 12, 2019
update dependencies, fix breaking changes.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants