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

Add bootnodes to chainspec for bajun kusama/paseo #80

Merged
merged 5 commits into from
Aug 22, 2024

Conversation

clangenb
Copy link
Contributor

@clangenb clangenb commented Aug 22, 2024

Those ports that are already available I tested, but due to a change in the devops setup, some endpoints don't exist yet. However, this doesn't disturb the peering-up, so everything is fine.

We can see that bajun kusama/paseo successfully peer up with the following command:

Bajun Kusama

./target/release/bajun-node \                     ok | 12s | 04:14:20
  --chain resources/bajun/bajun-raw.json \
  --relay-chain-rpc-urls=wss://rpc.helikon.io/kusama \
  --tmp \
  --no-mdns \
  --no-telemetry \
  --no-hardware-benchmarks
2024-08-22 04:17:43 Bajun Node
2024-08-22 04:17:43 ✌️  version 0.7.4-4a9a9288cd0
2024-08-22 04:17:43 ❤️  by Ajuna Network <https://github.com/ajuna-network>, 2021-2024
2024-08-22 04:17:43 📋 Chain specification: Bajun Kusama
2024-08-22 04:17:43 🏷  Node name: shivering-brother-0051
2024-08-22 04:17:43 👤 Role: FULL
2024-08-22 04:17:43 💾 Database: RocksDb at /tmp/substrateHjAmKP/chains/bajun_kusama/db/full
2024-08-22 04:17:44 Parachain id: Id(2119)
2024-08-22 04:17:44 Parachain Account: 5Ec4AhP1VGmqp1i6uz59MzjoHYv3FPZJwQWwcofZCYxy6CQ5
2024-08-22 04:17:44 Is collating: no
2024-08-22 04:17:44 [Parachain] 🔨 Initializing Genesis block/state (state: 0xd530…257e, header-hash: 0x35a0…8d14)
2024-08-22 04:17:44 [Parachain] Trying to connect to next external relaychain node. index=0 url="wss://rpc.helikon.io:443/kusama"
2024-08-22 04:17:44 [Relaychain] 〽️ Prometheus exporter started at 127.0.0.1:9616
2024-08-22 04:17:47 [Relaychain] 🏷  Local node identity is: 12D3KooWHsQYRXkFYT8hyjMsb4FeXnsk4AaigDfNhq1SBGc2TKn1
2024-08-22 04:17:47 [Relaychain] Running libp2p network backend
2024-08-22 04:17:47 [Parachain] 🏷  Local node identity is: 12D3KooWGAZZCCbEZEBCCbzvFqbvrGwUULkALQTv9hWVY31fKtc6
2024-08-22 04:17:47 [Parachain] Running libp2p network backend
2024-08-22 04:17:47 [Parachain] 💻 Operating system: linux
2024-08-22 04:17:47 [Parachain] 💻 CPU architecture: x86_64
2024-08-22 04:17:47 [Parachain] 💻 Target environment: gnu
2024-08-22 04:17:47 [Parachain] 💻 CPU: Intel(R) Core(TM) i7-10875H CPU @ 2.30GHz
2024-08-22 04:17:47 [Parachain] 💻 CPU cores: 8
2024-08-22 04:17:47 [Parachain] 💻 Memory: 22020MB
2024-08-22 04:17:47 [Parachain] 💻 Kernel: 5.15.153.1-microsoft-standard-WSL2
2024-08-22 04:17:47 [Parachain] 💻 Linux distribution: Ubuntu 22.04.4 LTS
2024-08-22 04:17:47 [Parachain] 💻 Virtual machine: yes
2024-08-22 04:17:47 [Parachain] 📦 Highest known block at #0
2024-08-22 04:17:47 [Parachain] Running JSON-RPC server: addr=127.0.0.1:9944, allowed origins=["http://localhost:*", "http://127.0.0.1:*", "https://localhost:*", "https://127.0.0.1:*", "https://polkadot.js.org"]
2024-08-22 04:17:47 [Parachain] 〽️ Prometheus exporter started at 127.0.0.1:9615
2024-08-22 04:17:48 [Relaychain] Received imported block via RPC: #24585595 (0xc47f…4812 -> 0xcfe6…2e5c)
2024-08-22 04:17:48 [Relaychain] 🔍 Discovered new external address for our node: /ip4/36.230.96.199/tcp/30334/ws/p2p/12D3KooWHsQYRXkFYT8hyjMsb4FeXnsk4AaigDfNhq1SBGc2TKn1
2024-08-22 04:17:49 [Parachain] 🔍 Discovered new external address for our node: /ip4/36.230.96.199/tcp/30333/ws/p2p/12D3KooWGAZZCCbEZEBCCbzvFqbvrGwUULkALQTv9hWVY31fKtc6
2024-08-22 04:17:50 [Relaychain] 💔 The bootnode you want to connect to at `/dns/ksm14.rotko.net/tcp/33224/p2p/12D3KooWAa5THTw8HPfnhEei23HdL8P9McBXdozG2oTtMMksjZkK` provided a different peer ID `12D3KooWDTWSFqWQNqHdrAc2srGsqzK7GMw9RAjFTfUjcka5FEJN` than the one you expect `12D3KooWAa5THTw8HPfnhEei23HdL8P9McBXdozG2oTtMMksjZkK`.
2024-08-22 04:17:52 [Parachain] ⚙️  Syncing, target=#5733171 (8 peers), best: #64 (0x2349…ac33), finalized #0 (0x35a0…8d14), ⬇ 1.1MiB/s ⬆ 5.3kiB/s
2024-08-22 04:17:55 [Relaychain] Received imported block via RPC: #24585596 (0xcfe6…2e5c -> 0x9fbc…b2c4)
2024-08-22 04:17:55 [Relaychain] Received finalized block via RPC: #24585593 (0x37fa…72ce -> 0xe075…d3df)
2024-08-22 04:17:57 [Parachain] ⚙️  Syncing 243.1 bps, target=#5733172 (9 peers), best: #1280 (0x8b24…dbb3), finalized #0 (0x35a0…8d14), ⬇ 1.8MiB/s ⬆ 0.8kiB/s
2024-08-22 04:17:58 [Relaychain] Received finalized block via RPC: #24585594 (0xe075…d3df -> 0xc47f…4812)

Bajun Paseo

 ./target/release/bajun-node \                     ok | 13s | 04:13:44
  --chain resources/bajun/paseo/bajun-paseo-raw.json \
  --relay-chain-rpc-urls=wss://rpc.helikon.io/paseo \
  --tmp \
  --no-mdns \
  --no-telemetry \
  --no-hardware-benchmarks
2024-08-22 04:14:09 Bajun Node
2024-08-22 04:14:09 ✌️  version 0.7.4-4a9a9288cd0
2024-08-22 04:14:09 ❤️  by Ajuna Network <https://github.com/ajuna-network>, 2021-2024
2024-08-22 04:14:09 📋 Chain specification: Bajun Paseo
2024-08-22 04:14:09 🏷  Node name: scarce-cracker-1371
2024-08-22 04:14:09 👤 Role: FULL
2024-08-22 04:14:09 💾 Database: RocksDb at /tmp/substrateczyobd/chains/bajun-paseo/db/full
2024-08-22 04:14:10 Parachain id: Id(2119)
2024-08-22 04:14:10 Parachain Account: 5Ec4AhP1VGmqp1i6uz59MzjoHYv3FPZJwQWwcofZCYxy6CQ5
2024-08-22 04:14:10 Is collating: no
2024-08-22 04:14:11 [Parachain] 🔨 Initializing Genesis block/state (state: 0x23ff…7b18, header-hash: 0x2450…bb6a)
2024-08-22 04:14:11 [Parachain] Trying to connect to next external relaychain node. index=0 url="wss://rpc.helikon.io:443/paseo"
2024-08-22 04:14:11 [Relaychain] 〽️ Prometheus exporter started at 127.0.0.1:9616
2024-08-22 04:14:13 [Relaychain] 🏷  Local node identity is: 12D3KooWFKnkrGyaLpWEhUR1sDR4GPxmgZJbwx1jq4DCBDFx8Cp6
2024-08-22 04:14:13 [Relaychain] Running libp2p network backend
2024-08-22 04:14:13 [Parachain] 🏷  Local node identity is: 12D3KooWAMgsqmgCMuk89SoAE1rT1drw9DA68Kmg5ykatjF3t2q2
2024-08-22 04:14:13 [Parachain] Running libp2p network backend
2024-08-22 04:14:13 [Parachain] 💻 Operating system: linux
2024-08-22 04:14:13 [Parachain] 💻 CPU architecture: x86_64
2024-08-22 04:14:13 [Parachain] 💻 Target environment: gnu
2024-08-22 04:14:13 [Parachain] 💻 CPU: Intel(R) Core(TM) i7-10875H CPU @ 2.30GHz
2024-08-22 04:14:13 [Parachain] 💻 CPU cores: 8
2024-08-22 04:14:13 [Parachain] 💻 Memory: 22020MB
2024-08-22 04:14:13 [Parachain] 💻 Kernel: 5.15.153.1-microsoft-standard-WSL2
2024-08-22 04:14:13 [Parachain] 💻 Linux distribution: Ubuntu 22.04.4 LTS
2024-08-22 04:14:13 [Parachain] 💻 Virtual machine: yes
2024-08-22 04:14:13 [Parachain] 📦 Highest known block at #0
2024-08-22 04:14:13 [Parachain] Running JSON-RPC server: addr=127.0.0.1:9944, allowed origins=["http://localhost:*", "http://127.0.0.1:*", "https://localhost:*", "https://127.0.0.1:*", "https://polkadot.js.org"]
2024-08-22 04:14:13 [Parachain] 〽️ Prometheus exporter started at 127.0.0.1:9615
2024-08-22 04:14:14 [Relaychain] 🔍 Discovered new external address for our node: /ip4/36.230.96.199/tcp/30334/ws/p2p/12D3KooWFKnkrGyaLpWEhUR1sDR4GPxmgZJbwx1jq4DCBDFx8Cp6
2024-08-22 04:14:15 [Parachain] 🔍 Discovered new external address for our node: /ip4/36.230.96.199/tcp/30333/ws/p2p/12D3KooWAMgsqmgCMuk89SoAE1rT1drw9DA68Kmg5ykatjF3t2q2
2024-08-22 04:14:18 [Relaychain] Received finalized block via RPC: #2612924 (0xdbe8…2054 -> 0xcd6a…f313)
2024-08-22 04:14:18 [Relaychain] Received imported block via RPC: #2612927 (0xec87…ec59 -> 0x19f6…709a)
2024-08-22 04:14:18 [Relaychain] Received imported block via RPC: #2612927 (0xec87…ec59 -> 0x2d59…6e95)
2024-08-22 04:14:18 [Parachain] ⚙️  Syncing, target=#1015862 (2 peers), best: #384 (0x135d…3d2b), finalized #0 (0x2450…bb6a), ⬇ 475.7kiB/s ⬆ 1.5kiB/s
2024-08-22 04:14:20 [Relaychain] 🔍 Discovered new external address for our node: /ip4/128.0.0.1/tcp/30334/ws/p2p/12D3KooWFKnkrGyaLpWEhUR1sDR4GPxmgZJbwx1jq4DCBDFx8Cp6

@@ -2,7 +2,11 @@
"name": "Bajun Kusama",
"id": "bajun_kusama",
"chainType": "Live",
"bootNodes": [],
"bootNodes": [
"/dns/rpc-parachain.bajun.network/tcp/30332/p2p/12D3KooWPdaBqPCELkSDUsfnHbLoRhXRgn4AD5m6axVaeExWrDBa",
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This one will be available after the devops changes

@@ -1,6 +1,9 @@
{
"bootNodes": [
"/ip4/127.0.0.1/tcp/30333/p2p/12D3KooWGQRr5fYqkjQrpgtA49uaEZNBKCjioDEGMLo239wZo6UG"
"/dns/paseo-lemmings.bajun.network/tcp/23803/p2p/12D3KooWJRDsenqB8h2SpZG913eTLMjmZTDE5br5s4ncdyxSwB2s",
"/dns/paseo-lemmings.bajun.network/tcp/23804/ws/p2p/12D3KooWJRDsenqB8h2SpZG913eTLMjmZTDE5br5s4ncdyxSwB2s",
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The 23804 ports will also be availble later

@clangenb clangenb merged commit 0497bc0 into develop Aug 22, 2024
3 checks passed
@clangenb clangenb deleted the cl/add-bootnodes branch August 22, 2024 03:41
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

Successfully merging this pull request may close these issues.

1 participant