Closed vessenes closed 3 years ago
I'm happy to see someone using this node in this way. I'm happy to help you debug.
One quick fix comes to mind. Make sure both nodes have clean data directories before staring. One way to do this is to replace the --base-path /tmp/node02
with --tmp
.
If that doesn't solve your problem, please report back with the following information.
cc @danforbes who maintains that tutorial
Would also suggest running the node with logging:
RUST_LOG=debug RUST_BACKTRACE=1 target/release/hybrid-consensus -lruntime=debug <the rest of your args>
@vessenes Since you made all the effort to use our hybrid consensus node, I really want to help you get working. I just recorded this screencast of me starting up a private network the way you're describing. Hope it helps, and please report back with any problems.
Thanks! I'm parsing through all these -- and I'll get back with updates.
Okay, good luck @vessenes I'll close this issue for now since it seems to be working, but feel free to continue posting here or re-open the issue if you get stuck again.
Josh, thanks for the video and help. Three things I had done that you did differently
When I pulled your commit, re-authored specifying ed25519 inspection of the mnemonic, and used curl, I can now finalize with hybrid-pow. Thanks again! If you have a sense of caution/doom using the web interface to post keys, you might dig in there -- but I really don't know which of the above was the thing that got me running, or perhaps a combo.
I'm really glad you got it working!
Regarding your three differences:
@JoshOrndorff Can you please repost the video you mentioned https://www.twitch.tv/videos/728265359 Thank you!
I only had it on twitch and it got pruned sorry about that. Maybe you could try to record a similar one yourself and share it (better than I did) for posterity.
@JoshOrndorff Thank you for your answer! I was trying to find a hint, because I didn't managed to start a Hybrid consensus node to produce blocks, even in --dev mode or simple Alice and Bob nodes conected using local chain. I try to figure out what am I missing... I wanna mention that I compiled an older branch of recipe repository and it's working correctly.
When following the tutorial here https://substrate.dev/docs/en/tutorials/start-a-private-network/customchain, I successfully get two nodes up and running and talking to each-other in mining mode, then proceed to try and turn on GRANDPA voting.
The documents specify that I should connect to a node and call
author
withkeyType
gran
and enter the mnemonic and the public key generated by subkey; once those calls are in, I should restart the nodes and they will begin to function as finalizing nodes.This doesn't seem to work; instead, I get:
How do I debug this?