Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The finalized block alway 0 #93

Open
boundless-forest opened this issue Apr 22, 2022 · 3 comments
Open

The finalized block alway 0 #93

boundless-forest opened this issue Apr 22, 2022 · 3 comments

Comments

@boundless-forest
Copy link

Follow the README and show such logs. I have no idea why the finalized block is 0 all the time. Does anyone know what happened here?

$ ./binary --chain fork.json --alice
2022-04-22 15:44:56 👶 Creating empty BABE epoch changes on what appears to be first startup.    
2022-04-22 15:44:56 🏷 Local node identity is: 12D3KooWF6hM2mHQf5U8AtyhCvB2RvdY5S4NxQuRfVptYY9JRrSQ    
2022-04-22 15:44:56 Can't listen on /ip6/::/tcp/30333 because: Other(Custom { kind: Other, error: Other(A(A(A(A(Transport(B(Os { code: 98, kind: AddrInUse, message: "Address already in use" }))))))) })    
2022-04-22 15:44:56 Can't listen on /ip4/0.0.0.0/tcp/30333 because: Other(Custom { kind: Other, error: Other(A(A(A(A(Transport(B(Os { code: 98, kind: AddrInUse, message: "Address already in use" }))))))) })    
2022-04-22 15:44:57 📦 Highest known block at #0    
2022-04-22 15:44:57 Unable to bind RPC server to 127.0.0.1:9933. Trying random port.    
2022-04-22 15:44:57 Unable to listen on 127.0.0.1:9944    
2022-04-22 15:44:57 Unable to bind RPC server to 127.0.0.1:9944. Trying random port.    
2022-04-22 15:44:57 Listening for new connections on 127.0.0.1:41053.    
2022-04-22 15:44:57 👶 Starting BABE Authorship worker    
2022-04-22 15:45:02 💤 Idle (0 peers), best: #0 (0x5b7b…dbe6), finalized #0 (0x5b7b…dbe6), ⬇ 134.9kiB/s ⬆ 20.1kiB/s    
2022-04-22 15:45:07 💤 Idle (0 peers), best: #0 (0x5b7b…dbe6), finalized #0 (0x5b7b…dbe6), ⬇ 130.7kiB/s ⬆ 9.5kiB/s    
2022-04-22 15:45:12 💤 Idle (0 peers), best: #0 (0x5b7b…dbe6), finalized #0 (0x5b7b…dbe6), ⬇ 41.8kiB/s ⬆ 4.7kiB/s    
2022-04-22 15:45:17 💤 Idle (0 peers), best: #0 (0x5b7b…dbe6), finalized #0 (0x5b7b…dbe6), ⬇ 100.2kiB/s ⬆ 7.4kiB/s    
2022-04-22 15:45:22 💤 Idle (0 peers), best: #0 (0x5b7b…dbe6), finalized #0 (0x5b7b…dbe6), ⬇ 0.8kiB/s ⬆ 0.8kiB/s    
2022-04-22 15:45:27 💤 Idle (0 peers), best: #0 (0x5b7b…dbe6), finalized #0 (0x5b7b…dbe6), ⬇ 0.8kiB/s ⬆ 0.7kiB/s    
2022-04-22 15:45:32 💤 Idle (0 peers), best: #0 (0x5b7b…dbe6), finalized #0 (0x5b7b…dbe6), ⬇ 111.5kiB/s ⬆ 7.3kiB/s    
2022-04-22 15:45:37 💤 Idle (0 peers), best: #0 (0x5b7b…dbe6), finalized #0 (0x5b7b…dbe6), ⬇ 3.7kiB/s ⬆ 1.0kiB/s    
2022-04-22 15:45:42 💤 Idle (0 peers), best: #0 (0x5b7b…dbe6), finalized #0 (0x5b7b…dbe6), ⬇ 0.1kiB/s ⬆ 0.1kiB/s 
@AurevoirXavier
Copy link
Contributor

Only works for parachain.

@kl3eo
Copy link

kl3eo commented Jun 19, 2022

It's not started as Authority. Add "--validator" flag.

@AurevoirXavier
Copy link
Contributor

It's not started as Authority. Add "--validator" flag.

--alice contains --validator

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants