-
Notifications
You must be signed in to change notification settings - Fork 40
feat: add ink-node to pop up #730
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
Conversation
f50861b to
cbf7f86
Compare
Codecov Report❌ Patch coverage is @@ Coverage Diff @@
## main #730 +/- ##
==========================================
- Coverage 76.36% 76.29% -0.07%
==========================================
Files 115 115
Lines 25857 25908 +51
Branches 25857 25908 +51
==========================================
+ Hits 19745 19766 +21
- Misses 3985 4015 +30
Partials 2127 2127
🚀 New features to boost your workflow:
|
d9f549c to
f13ad69
Compare
al3mart
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It seems we are leaking the node logs into the terminal:
┌ Pop CLI : Launch a local Ink! node
│
▲ ⚠ The ink-node binary is not found.
│
◇ 📦 Would you like to source it automatically now?
│ Yes
│
⚙ Local node started successfully:
│ portal: https://polkadot.js.org/apps/?rpc=ws://localhost:9944/#/explorer
│ logs: tail -f /tmp/.tmpXz104M
│
⚙ Ethereum RPC node started successfully:
│ url: ws://localhost:8545
│ logs: tail -f /tmp/.tmpLZvMEc
│
2025-11-12 15:53:30.794 INFO main sc_basic_authorship::basic_authorship: 🙌 Starting consensus session on top of parent 0xf66b2697e7d2e491d9162c8de9dbdd8293d44870fb82c18e3a3bb2f891ae3b9f (#0)
2025-11-12 15:53:30.795 INFO tokio-runtime-worker sc_basic_authorship::basic_authorship: 🎁 Prepared block for proposing at 1 (1 ms) hash: 0x1013c318f22cc3de5e92ace11d39b1679e7a3c4a4c017e43b80a5e25943eae4a; parent_hash: 0xf66b…3b9f; end: NoMoreTransactions; extrinsics_count: 1
2025-11-12 15:53:30.796 INFO main sc_consensus_manual_seal::rpc: Consensus with no RPC sender success: CreatedBlock { hash: 0x1013c318f22cc3de5e92ace11d39b1679e7a3c4a4c017e43b80a5e25943eae4a, aux: ImportedAux { header_only: false, clear_justification_requests: false, needs_justification: false, bad_justification: false, is_new_best: true }, proof_size: 0 }
2025-11-12 15:53:30.796 INFO tokio-runtime-worker substrate: 🏆 Imported #1 (0xf66b…3b9f → 0x1013…ae4a)
2025-11-12 15:53:30.796 INFO tokio-runtime-worker txpool: maintain txs=(0, 0) a=1 i=0 views=[(1, 0, 0)] event=Finalized { hash: 0x1013c318f22cc3de5e92ace11d39b1679e7a3c4a4c017e43b80a5e25943eae4a, tree_route: [] } duration=228.662µs
2025-11-12 15:53:31.264 WARN tokio-runtime-worker libp2p_kad::behaviour: Failed to trigger bootstrap: No known peers.
2025-11-12 15:53:35.795 INFO tokio-runtime-worker substrate: 💤 Idle (0 peers), best: #1 (0x1013…ae4a), finalized #1 (0x1013…ae4a), ⬇ 0 ⬆ 0
2025-11-12 15:53:40.796 INFO tokio-runtime-worker substrate: 💤 Idle (0 peers), best: #1 (0x1013…ae4a), finalized #1 (0x1013…ae4a), ⬇ 0 ⬆ 0
2025-11-12 15:53:45.797 INFO tokio-runtime-worker substrate: 💤 Idle (0 peers), best: #1 (0x1013…ae4a), finalized #1 (0x1013…ae4a), ⬇ 0 ⬆ 0
2025-11-12 15:53:49.275 INFO tokio-runtime-worker sc_basic_authorship::basic_authorship: 🙌 Starting consensus session on top of parent 0x1013c318f22cc3de5e92ace11d39b1679e7a3c4a4c017e43b80a5e25943eae4a (#1)
2025-11-12 15:53:49.278 INFO tokio-runtime-worker sc_basic_authorship::basic_authorship: 🎁 Prepared block for proposing at 2 (2 ms) hash: 0xe85280724c5017fff6f115b0faecdd1e2083426ec994c97d48545c70703f5bfc; parent_hash: 0x1013…ae4a; end: NoMoreTransactions; extrinsics_count: 2
2025-11-12 15:53:49.278 INFO tokio-runtime-worker sc_consensus_manual_seal::rpc: Consensus with no RPC sender success: CreatedBlock { hash: 0xe85280724c5017fff6f115b0faecdd1e2083426ec994c97d48545c70703f5bfc, aux: ImportedAux { header_only: false, clear_justification_requests: false, needs_justification: false, bad_justification: false, is_new_best: true }, proof_size: 0 }
2025-11-12 15:53:49.278 INFO tokio-runtime-worker substrate: 🏆 Imported #2 (0x1013…ae4a → 0xe852…5bfc)
2025-11-12 15:53:49.279 INFO tokio-runtime-worker txpool: maintain txs=(0, 1) a=1 i=1 views=[(2, 0, 0)] event=NewBestBlock { hash: 0xe85280724c5017fff6f115b0faecdd1e2083426ec994c97d48545c70703f5bfc, tree_route: None } duration=825.961µs
2025-11-12 15:53:50.279 INFO tokio-runtime-worker sc_consensus_manual_seal::finalize_block: ✅ Successfully finalized block: 0xe852…5bfc
2025-11-12 15:53:50.280 INFO tokio-runtime-worker sc_consensus_manual_seal::rpc: Consensus with no RPC sender success: ()
2025-11-12 15:53:50.280 INFO tokio-runtime-worker txpool: maintain txs=(0, 0) a=1 i=0 views=[(2, 0, 0)] event=Finalized { hash: 0xe85280724c5017fff6f115b0faecdd1e2083426ec994c97d48545c70703f5bfc, tree_route: [] } duration=111.238µs
2025-11-12 15:53:50.798 INFO tokio-runtime-worker substrate: 💤 Idle (0 peers), best: #2 (0xe852…5bfc), finalized #2 (0xe852…5bfc), ⬇ 0 ⬆ 0
2025-11-12 15:53:55.799 INFO tokio-runtime-worker substrate: 💤 Idle (0 peers), best: #2 (0xe852…5bfc), finalized #2 (0xe852…5bfc), ⬇ 0 ⬆ 0
2025-11-12 15:54:00.800 INFO tokio-runtime-worker substrate: 💤 Idle (0 peers), best: #2 (0xe852…5bfc), finalized #2 (0xe852…5bfc), ⬇ 0 ⬆ 0
2025-11-12 15:54:05.801 INFO tokio-runtime-worker substrate: 💤 Idle (0 peers), best: #2 (0xe852…5bfc), finalized #2 (0xe852…5bfc), ⬇ 0 ⬆ 0
2025-11-12 15:54:10.801 INFO tokio-runtime-worker substrate: 💤 Idle (0 peers), best: #2 (0xe852…5bfc), finalized #2 (0xe852…5bfc), ⬇ 0 ⬆ 0
2025-11-12 15:54:15.802 INFO tokio-runtime-worker substrate: 💤 Idle (0 peers), best: #2 (0xe852…5bfc), finalized #2 (0xe852…5bfc), ⬇ 0 ⬆ 0
2025-11-12 15:54:20.802 INFO tokio-runtime-worker substrate: 💤 Idle (0 peers), best: #2 (0xe852…5bfc), finalized #2 (0xe852…5bfc), ⬇ 0 ⬆ 0
^CSorry if this is of not much help. Wanted to fit a quick review of this asap anyway
|
@al3mart yes, that's exactly the idea. Not saying that's the way to go, just one I thought could be interesting. |
|
Ah, sorry @moliholy I didn't realised! I think I'd less problems with this if we were to always keep: on the top of the terminal. Right now the logs will bury that useful info. |
|
@al3mart changed! |
039e5a8 to
65ca3b8
Compare
This PR enables the following:
So that
ink-nodeandeth-rpcprocesses are started. The command allows configuring ports for both processes: