fork-off-substrate icon indicating copy to clipboard operation
fork-off-substrate copied to clipboard

The finalized block alway 0

Open boundless-forest opened this issue 2 years ago • 3 comments

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 

boundless-forest avatar Apr 22 '22 07:04 boundless-forest

Only works for parachain.

AurevoirXavier avatar Apr 22 '22 10:04 AurevoirXavier

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

kl3eo avatar Jun 19 '22 04:06 kl3eo

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

--alice contains --validator

AurevoirXavier avatar Jun 20 '22 07:06 AurevoirXavier