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

kitchen-node not finalizing blocks #477

Closed
Are10 opened this issue Mar 14, 2022 · 2 comments
Closed

kitchen-node not finalizing blocks #477

Are10 opened this issue Mar 14, 2022 · 2 comments

Comments

@Are10
Copy link

Are10 commented Mar 14, 2022

The latest build of the kitchen-node recipe build successfully ( but with a warning: "unused manifest key: workspace.librocksdb-sys" )

cargo build --release -p kitchen-node

Running the resulting artifact results in the following output:

./target/release/kitchen-node --dev
2022-03-14 08:08:15 Running in --dev mode, RPC CORS has been disabled.
2022-03-14 08:08:15 Kitchen Node
2022-03-14 08:08:15 ✌️  version 3.0.0-03b7a06-x86_64-linux-gnu
2022-03-14 08:08:15 ❤️  by Substrate DevHub <https://github.com/substrate-developer-hub>, 2019-2022
2022-03-14 08:08:15 📋 Chain specification: Development
2022-03-14 08:08:15 🏷 Node name: macabre-writer-1589
2022-03-14 08:08:15 👤 Role: AUTHORITY
2022-03-14 08:08:15 💾 Database: RocksDb at /home/xxxxxxx/.local/share/kitchen-node/chains/dev/db
2022-03-14 08:08:15 ⛓  Native runtime: super-runtime-1 (super-runtime-1.tx1.au1)
2022-03-14 08:08:15 Using default protocol ID "sup" because none is configured in the chain specs
2022-03-14 08:08:15 🏷 Local node identity is: 12D3KooWQPdf3fEuTHminm3iJsGJ3eCZuwfKUR5XVc2dGs8TN7fM
2022-03-14 08:08:15 📦 Highest known block at #0
2022-03-14 08:08:15 〽️ Prometheus server started at 127.0.0.1:9615
2022-03-14 08:08:15 Listening for new connections on 127.0.0.1:9944.
2022-03-14 08:08:20 💤 Idle (0 peers), best: #0 (0x71c1…3686), finalized #0 (0x71c1…3686), ⬇ 0 ⬆ 0
2022-03-14 08:08:25 💤 Idle (0 peers), best: #0 (0x71c1…3686), finalized #0 (0x71c1…3686), ⬇ 0 ⬆ 0
2022-03-14 08:08:30 💤 Idle (0 peers), best: #0 (0x71c1…3686), finalized #0 (0x71c1…3686), ⬇ 0 ⬆ 0
@JoshOrndorff
Copy link
Owner

This is the expected behavior. The kitchen node uses "instant seal" which means that blocks will only be authored when transactions are sent. Open up Polkadot JS and try to send some tokens or make some other transaction. You should see blocks authored immediately.

@Are10
Copy link
Author

Are10 commented Apr 8, 2022

Yes, of course. I understand now, "Idle" means "I'm synced and waiting for something to do"..
The confusion started because in the original seminar video, the console showed different feedback.
Thank you for your time.

@Are10 Are10 closed this as completed Apr 8, 2022
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

2 participants