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

feat: apply polkadot v0.9.43 to docker #1497

Closed
wants to merge 4 commits into from

Conversation

wischli
Copy link
Contributor

@wischli wischli commented Aug 15, 2023

Description

  • Updates rococo local to polkadot v0.9.43 obtained via
docker run --platform=linux/amd64 parity/polkadot:v0.9.43 build-spec --disable-default-bootnode --chain rococo-local --raw > res/rococo-local.json
  • Fixes docker compose files after breaking changes CLI from polkadot v0.9.43:
    • Removes ws-port which now is just the RPC port
    • Maps outer docker rpc port to 9944 for relay alice, 9945 for relay bob and 9946 for para charlie

How to test

onboard.sh

cc_docker_image_tag="${PARA_DOCKER_IMAGE_TAG:-test-main-latest}"
parachain="${PARA_CHAIN_SPEC:-centrifuge-local}"

export PARA_DOCKER_IMAGE_TAG=$cc_docker_image_tag
export CC_DOCKER_TAG=$cc_docker_image_tag
export PARA_CHAIN_SPEC=$parachain
export DOCKER_ONBOARD=true

./scripts/init.sh start-relay-chain
./scripts/init.sh start-parachain-docker
./scripts/init.sh onboard-parachain
$ PARA_CHAIN_SPEC=altair-local ./scripts/onboard.sh

Checklist:

  • I have added Rust doc comments to structs, enums, traits and functions
  • I have made corresponding changes to the documentation
  • I have performed a self-review of my code
  • I have added tests that prove my fix is effective or that my feature works

@wischli wischli force-pushed the feat/docker-polkadot-v0.9.43 branch from a52fff2 to 1a5c2c1 Compare August 15, 2023 09:58
NunoAlexandre added a commit that referenced this pull request Aug 15, 2023
@NunoAlexandre
Copy link
Contributor

@wischli does it work for you locally, in your machine? This is what I am getting:

2023-08-15 15:15:34 <jemalloc>: MADV_DONTNEED does not work (memset will be used instead)
2023-08-15 15:15:34 <jemalloc>: (This is the expected behaviour if you are running under QEMU)
2023-08-15 15:15:34 2023-08-15 13:15:34.596  INFO main sc_cli::runner: Parity Polkadot    
2023-08-15 15:15:34 2023-08-15 13:15:34.604  INFO main sc_cli::runner: ✌️  version 0.9.43-ba42b9ce51d    
2023-08-15 15:15:34 2023-08-15 13:15:34.604  INFO main sc_cli::runner: ❤️  by Parity Technologies <[email protected]>, 2017-2023    
2023-08-15 15:15:34 2023-08-15 13:15:34.604  INFO main sc_cli::runner: 📋 Chain specification: Rococo Local Testnet    
2023-08-15 15:15:34 2023-08-15 13:15:34.604  INFO main sc_cli::runner: 🏷  Node name: Alice    
2023-08-15 15:15:34 2023-08-15 13:15:34.605  INFO main sc_cli::runner: 👤 Role: AUTHORITY    
2023-08-15 15:15:34 2023-08-15 13:15:34.605  INFO main sc_cli::runner: 💾 Database: RocksDb at /data/chains/rococo_local_testnet/db/full    
2023-08-15 15:15:34 2023-08-15 13:15:34.605  INFO main sc_cli::runner: ⛓  Native runtime: rococo-9430 (parity-rococo-v2.0-0.tx22.au0)    
2023-08-15 15:15:37 2023-08-15 13:15:37.202  WARN main sc_executor_wasmtime::util: You're running on a system with a broken `madvise(MADV_DONTNEED)` implementation. This will result in lower performance.    
2023-08-15 15:15:58 2023-08-15 13:15:58.156  INFO main sc_service::client::client: 🔨 Initializing Genesis block/state (state: 0xb8f0…dcd2, header-hash: 0x1f9b…6b45)    
2023-08-15 15:15:58 2023-08-15 13:15:58.208  INFO main grandpa: 👴 Loading GRANDPA authority set from genesis on what appears to be first startup.    
2023-08-15 15:16:16 2023-08-15 13:16:16.469  INFO main babe: 👶 Creating empty BABE epoch changes on what appears to be first startup.    
2023-08-15 15:16:16 2023-08-15 13:16:16.491  INFO main sub-libp2p: 🏷  Local node identity is: 12D3KooWDLpRT9KFo6pKdkmdQQt599tmqVYpoeiHemY32Gf4RUpp    
2023-08-15 15:16:16 2023-08-15 13:16:16.713  INFO main sc_sysinfo: 💻 Operating system: linux    
2023-08-15 15:16:16 2023-08-15 13:16:16.713  INFO main sc_sysinfo: 💻 CPU architecture: x86_64    
2023-08-15 15:16:16 2023-08-15 13:16:16.713  INFO main sc_sysinfo: 💻 Target environment: gnu    
2023-08-15 15:16:16 2023-08-15 13:16:16.713  INFO main sc_sysinfo: 💻 Memory: 10454MB    
2023-08-15 15:16:16 2023-08-15 13:16:16.714  INFO main sc_sysinfo: 💻 Kernel: 5.15.49-linuxkit-pr    
2023-08-15 15:16:16 2023-08-15 13:16:16.714  INFO main sc_sysinfo: 💻 Linux distribution: Ubuntu 20.04.6 LTS    
2023-08-15 15:16:16 2023-08-15 13:16:16.714  INFO main sc_sysinfo: 💻 Virtual machine: no    
2023-08-15 15:16:16 2023-08-15 13:16:16.714  INFO main sc_service::builder: 📦 Highest known block at #0    
2023-08-15 15:16:16 2023-08-15 13:16:16.720  INFO tokio-runtime-worker substrate_prometheus_endpoint: 〽️ Prometheus exporter started at 127.0.0.1:9615    
2023-08-15 15:16:16 2023-08-15 13:16:16.736  INFO                 main sc_rpc_server: Running JSON-RPC server: addr=0.0.0.0:9933, allowed origins=["*"]    
2023-08-15 15:16:16 2023-08-15 13:16:16.740  INFO                 main sc_sysinfo: 🏁 CPU score: 79.24 MiBs    
2023-08-15 15:16:16 2023-08-15 13:16:16.740  INFO                 main sc_sysinfo: 🏁 Memory score: 5.16 GiBs    
2023-08-15 15:16:16 2023-08-15 13:16:16.740  INFO                 main sc_sysinfo: 🏁 Disk score (seq. writes): 1002.40 MiBs    
2023-08-15 15:16:16 2023-08-15 13:16:16.741  INFO                 main sc_sysinfo: 🏁 Disk score (rand. writes): 330.97 MiBs    
2023-08-15 15:16:16 2023-08-15 13:16:16.741  WARN                 main polkadot_service: ⚠️  The hardware does not meet the minimal requirements for role 'Authority' find out more at:
2023-08-15 15:16:16 https://wiki.polkadot.network/docs/maintain-guides-how-to-validate-polkadot#reference-hardware    
2023-08-15 15:16:16 2023-08-15 13:16:16.800  INFO tokio-runtime-worker parachain::approval-voting: Starting with an empty approval vote DB.
2023-08-15 15:16:16 2023-08-15 13:16:16.817  INFO                 main babe: 👶 Starting BABE Authorship worker    
2023-08-15 15:16:18 2023-08-15 13:16:18.759 ERROR tokio-runtime-worker sub-authority-discovery: Failed to request addresses of authorities: Failed calling into the Substrate runtime: Error at calling runtime api: Execution failed: Execution aborted due to trap: wasm trap: call stack exhausted
2023-08-15 15:16:18 WASM backtrace:
2023-08-15 15:16:18 error while executing at wasm backtrace:
2023-08-15 15:16:18     0: <unknown>!bytes::bytes::promotable_even_drop::h00581b21643b3954
2023-08-15 15:16:18     1: 0x43ccf - <unknown>!frame_support::storage::unhashed::get::ha701021545e46384
2023-08-15 15:16:18     2: 0x40287c - <unknown>!AuthorityDiscoveryApi_authorities    
2023-08-15 15:16:18 2023-08-15 13:16:18.761 ERROR tokio-runtime-worker sub-authority-discovery: Failed to publish external addresses: Failed calling into the Substrate runtime: Error at calling runtime api: Execution failed: Execution aborted due to trap: wasm trap: call stack exhausted
2023-08-15 15:16:18 WASM backtrace:
2023-08-15 15:16:18 error while executing at wasm backtrace:
2023-08-15 15:16:18     0: <unknown>!bytes::bytes::promotable_even_drop::h00581b21643b3954
2023-08-15 15:16:18     1: 0x43ccf - <unknown>!frame_support::storage::unhashed::get::ha701021545e46384
2023-08-15 15:16:18     2: 0x40287c - <unknown>!AuthorityDiscoveryApi_authorities    
2023-08-15 15:16:21 2023-08-15 13:16:21.746  INFO tokio-runtime-worker substrate: 💤 Idle (0 peers), best: #0 (0x1f9b…6b45), finalized #0 (0x1f9b…6b45), ⬇ 0 ⬆ 0    
2023-08-15 15:16:22 2023-08-15 13:16:22.753 ERROR tokio-runtime-worker sub-authority-discovery: Failed to request addresses of authorities: Failed calling into the Substrate runtime: Error at calling runtime api: Execution failed: Execution aborted due to trap: wasm trap: call stack exhausted
2023-08-15 15:16:22 WASM backtrace:
2023-08-15 15:16:22 error while executing at wasm backtrace:
2023-08-15 15:16:22     0: <unknown>!bytes::bytes::promotable_even_drop::h00581b21643b3954
2023-08-15 15:16:22     1: 0x43ccf - <unknown>!frame_support::storage::unhashed::get::ha701021545e46384
2023-08-15 15:16:22     2: 0x40287c - <unknown>!AuthorityDiscoveryApi_authorities    
2023-08-15 15:16:22 2023-08-15 13:16:22.763 ERROR tokio-runtime-worker sub-authority-discovery: Failed to publish external addresses: Failed calling into the Substrate runtime: Error at calling runtime api: Execution failed: Execution aborted due to trap: wasm trap: call stack exhausted
2023-08-15 15:16:22 WASM backtrace:
2023-08-15 15:16:22 error while executing at wasm backtrace:
2023-08-15 15:16:22     0: <unknown>!bytes::bytes::promotable_even_drop::h00581b21643b3954
2023-08-15 15:16:22     1: 0x43ccf - <unknown>!frame_support::storage::unhashed::get::ha701021545e46384
2023-08-15 15:16:22     2: 0x40287c - <unknown>!AuthorityDiscoveryApi_authorities    
2023-08-15 15:16:26 2023-08-15 13:16:26.754  INFO tokio-runtime-worker substrate: 💤 Idle (0 peers), best: #0 (0x1f9b…6b45), finalized #0 (0x1f9b…6b45), ⬇ 0 ⬆ 0    
2023-08-15 15:16:30 2023-08-15 13:16:30.753 ERROR tokio-runtime-worker sub-authority-discovery: Failed to request addresses of authorities: Failed calling into the Substrate runtime: Error at calling runtime api: Execution failed: Execution aborted due to trap: wasm trap: call stack exhausted
2023-08-15 15:16:30 WASM backtrace:
2023-08-15 15:16:30 error while executing at wasm backtrace:
2023-08-15 15:16:30     0: <unknown>!bytes::bytes::promotable_even_drop::h00581b21643b3954
2023-08-15 15:16:30     1: 0x43ccf - <unknown>!frame_support::storage::unhashed::get::ha701021545e46384
2023-08-15 15:16:30     2: 0x40287c - <unknown>!AuthorityDiscoveryApi_authorities    
2023-08-15 15:16:30 2023-08-15 13:16:30.763 ERROR tokio-runtime-worker sub-authority-discovery: Failed to publish external addresses: Failed calling into the Substrate runtime: Error at calling runtime api: Execution failed: Execution aborted due to trap: wasm trap: call stack exhausted
2023-08-15 15:16:30 WASM backtrace:
2023-08-15 15:16:30 error while executing at wasm backtrace:
2023-08-15 15:16:30     0: <unknown>!bytes::bytes::promotable_even_drop::h00581b21643b3954
2023-08-15 15:16:30     1: 0x43ccf - <unknown>!frame_support::storage::unhashed::get::ha701021545e46384
2023-08-15 15:16:30     2: 0x40287c - <unknown>!AuthorityDiscoveryApi_authorities    
2023-08-15 15:16:31 2023-08-15 13:16:31.755  INFO tokio-runtime-worker substrate: 💤 Idle (0 peers), best: #0 (0x1f9b…6b45), finalized #0 (0x1f9b…6b45), ⬇ 0 ⬆ 0    
2023-08-15 15:16:36 2023-08-15 13:16:36.758  INFO tokio-runtime-worker substrate: 💤 Idle (0 peers), best: #0 (0x1f9b…6b45), finalized #0 (0x1f9b…6b45), ⬇ 0 ⬆ 0    
2023-08-15 15:16:41 2023-08-15 13:16:41.762  INFO tokio-runtime-worker substrate: 💤 Idle (0 peers), best: #0 (0x1f9b…6b45), finalized #0 (0x1f9b…6b45), ⬇ 0 ⬆ 0    
2023-08-15 15:16:46 2023-08-15 13:16:46.757 ERROR tokio-runtime-worker sub-authority-discovery: Failed to request addresses of authorities: Failed calling into the Substrate runtime: Error at calling runtime api: Execution failed: Execution aborted due to trap: wasm trap: call stack exhausted
2023-08-15 15:16:46 WASM backtrace:
2023-08-15 15:16:46 error while executing at wasm backtrace:
2023-08-15 15:16:46     0: <unknown>!bytes::bytes::promotable_even_drop::h00581b21643b3954
2023-08-15 15:16:46     1: 0x43ccf - <unknown>!frame_support::storage::unhashed::get::ha701021545e46384
2023-08-15 15:16:46     2: 0x40287c - <unknown>!AuthorityDiscoveryApi_authorities    
2023-08-15 15:16:46 2023-08-15 13:16:46.766 ERROR tokio-runtime-worker sub-authority-discovery: Failed to publish external addresses: Failed calling into the Substrate runtime: Error at calling runtime api: Execution failed: Execution aborted due to trap: wasm trap: call stack exhausted
2023-08-15 15:16:46 WASM backtrace:
2023-08-15 15:16:46 error while executing at wasm backtrace:
2023-08-15 15:16:46     0: <unknown>!bytes::bytes::promotable_even_drop::h00581b21643b3954
2023-08-15 15:16:46     1: 0x43ccf - <unknown>!frame_support::storage::unhashed::get::ha701021545e46384
2023-08-15 15:16:46     2: 0x40287c - <unknown>!AuthorityDiscoveryApi_authorities    
2023-08-15 15:16:46 2023-08-15 13:16:46.768  INFO tokio-runtime-worker substrate: 💤 Idle (0 peers), best: #0 (0x1f9b…6b45), finalized #0 (0x1f9b…6b45), ⬇ 0 ⬆ 0    
2023-08-15 15:16:51 2023-08-15 13:16:51.772  INFO tokio-runtime-worker substrate: 💤 Idle (0 peers), best: #0 (0x1f9b…6b45), finalized #0 (0x1f9b…6b45), ⬇ 0 ⬆ 0    
2023-08-15 15:16:56 2023-08-15 13:16:56.778  INFO tokio-runtime-worker substrate: 💤 Idle (0 peers), best: #0 (0x1f9b…6b45), finalized #0 (0x1f9b…6b45), ⬇ 0 ⬆ 0    
2023-08-15 15:17:01 2023-08-15 13:17:01.782  INFO tokio-runtime-worker substrate: 💤 Idle (0 peers), best: #0 (0x1f9b…6b45), finalized #0 (0x1f9b…6b45), ⬇ 0 ⬆ 0    
2023-08-15 15:17:06 2023-08-15 13:17:06.788  INFO tokio-runtime-worker substrate: 💤 Idle (0 peers), best: #0 (0x1f9b…6b45), finalized #0 (0x1f9b…6b45), ⬇ 0 ⬆ 0    
2023-08-15 15:17:11 2023-08-15 13:17:11.794  INFO tokio-runtime-worker substrate: 💤 Idle (0 peers), best: #0 (0x1f9b…6b45), finalized #0 (0x1f9b…6b45), ⬇ 0 ⬆ 0    

@wischli
Copy link
Contributor Author

wischli commented Aug 15, 2023

@wischli does it work for you locally, in your machine? This is what I am getting: [...]

Yes works as expected:

Relay logs

2023-08-15 13:23:39.877  INFO main sc_cli::runner: Parity Polkadot    
2023-08-15 13:23:39.880  INFO main sc_cli::runner: ✌️  version 0.9.43-ba42b9ce51d    
2023-08-15 13:23:39.880  INFO main sc_cli::runner: ❤️  by Parity Technologies <[email protected]>, 2017-2023    
2023-08-15 13:23:39.880  INFO main sc_cli::runner: 📋 Chain specification: Rococo Local Testnet    
2023-08-15 13:23:39.880  INFO main sc_cli::runner: 🏷  Node name: Bob    
2023-08-15 13:23:39.880  INFO main sc_cli::runner: 👤 Role: AUTHORITY    
2023-08-15 13:23:39.880  INFO main sc_cli::runner: 💾 Database: RocksDb at /data/chains/rococo_local_testnet/db/full    
2023-08-15 13:23:39.880  INFO main sc_cli::runner: ⛓  Native runtime: rococo-9430 (parity-rococo-v2.0-0.tx22.au0)    
2023-08-15 13:23:46.252  INFO main sc_service::client::client: 🔨 Initializing Genesis block/state (state: 0xb8f0…dcd2, header-hash: 0x1f9b…6b45)    
2023-08-15 13:23:46.277  INFO main grandpa: 👴 Loading GRANDPA authority set from genesis on what appears to be first startup.    
2023-08-15 13:23:50.576  INFO main babe: 👶 Creating empty BABE epoch changes on what appears to be first startup.    
2023-08-15 13:23:50.589  INFO main sub-libp2p: 🏷  Local node identity is: 12D3KooWKpaJZbNymrZmKG6BNNDC58z8p9YKDXfZtyhEjktgtph4    
2023-08-15 13:23:50.758  INFO main sc_sysinfo: 💻 Operating system: linux    
2023-08-15 13:23:50.758  INFO main sc_sysinfo: 💻 CPU architecture: x86_64    
2023-08-15 13:23:50.758  INFO main sc_sysinfo: 💻 Target environment: gnu    
2023-08-15 13:23:50.758  INFO main sc_sysinfo: 💻 Memory: 7951MB    
2023-08-15 13:23:50.758  INFO main sc_sysinfo: 💻 Kernel: 5.15.49-linuxkit-pr    
2023-08-15 13:23:50.758  INFO main sc_sysinfo: 💻 Linux distribution: Ubuntu 20.04.6 LTS    
2023-08-15 13:23:50.758  INFO main sc_sysinfo: 💻 Virtual machine: no    
2023-08-15 13:23:50.758  INFO main sc_service::builder: 📦 Highest known block at #0    
2023-08-15 13:23:50.761  INFO tokio-runtime-worker substrate_prometheus_endpoint: 〽️ Prometheus exporter started at 127.0.0.1:9615    
2023-08-15 13:23:50.771  INFO                 main sc_rpc_server: Running JSON-RPC server: addr=0.0.0.0:9933, allowed origins=["*"]    
2023-08-15 13:23:50.772  INFO                 main sc_sysinfo: 🏁 CPU score: 648.06 MiBs    
2023-08-15 13:23:50.773  INFO                 main sc_sysinfo: 🏁 Memory score: 17.87 GiBs    
2023-08-15 13:23:50.773  INFO                 main sc_sysinfo: 🏁 Disk score (seq. writes): 1014.83 MiBs    
2023-08-15 13:23:50.773  INFO                 main sc_sysinfo: 🏁 Disk score (rand. writes): 304.43 MiBs    
2023-08-15 13:23:50.774  WARN                 main polkadot_service: ⚠️  The hardware does not meet the minimal requirements for role 'Authority' find out more at:
https://wiki.polkadot.network/docs/maintain-guides-how-to-validate-polkadot#reference-hardware    
2023-08-15 13:23:50.812  INFO                 main babe: 👶 Starting BABE Authorship worker    
2023-08-15 13:23:50.829  INFO tokio-runtime-worker parachain::approval-voting: Starting with an empty approval vote DB.
2023-08-15 13:23:54.937  INFO tokio-runtime-worker libp2p_mdns::behaviour: discovered: 12D3KooWBhKhfBhj1oj6CTUKxGw5C54Sfdp63LxeAGaJG4xkWEiB /ip4/172.18.0.4/tcp/30334/ws    
2023-08-15 13:23:54.938  INFO tokio-runtime-worker libp2p_mdns::behaviour: discovered: 12D3KooWNYsTrcNKxBNdoTJ9u1g4q8ECLvN7Vgk2iLLkxcyYinTs /ip4/172.18.0.4/tcp/30333    
2023-08-15 13:23:55.775  INFO tokio-runtime-worker substrate: 💤 Idle (0 peers), best: #0 (0x1f9b…6b45), finalized #0 (0x1f9b…6b45), ⬇ 0 ⬆ 0    
2023-08-15 13:24:00.778  INFO tokio-runtime-worker substrate: 💤 Idle (2 peers), best: #0 (0x1f9b…6b45), finalized #0 (0x1f9b…6b45), ⬇ 270.6kiB/s ⬆ 271.1kiB/s    
2023-08-15 13:24:02.743  INFO tokio-runtime-worker babe: 👶 New epoch 0 launching at block 0x8914…ccd4 (block slot 282017640 >= start slot 282017640).    
2023-08-15 13:24:02.743  INFO tokio-runtime-worker babe: 👶 Next epoch starts at slot 282017650    
2023-08-15 13:24:02.767  WARN tokio-runtime-worker runtime::inclusion-inherent: ParentBlockRandomness did not provide entropy    
2023-08-15 13:24:02.815  INFO tokio-runtime-worker substrate: ✨ Imported #1 (0x8914…ccd4)    
2023-08-15 13:24:05.779  INFO tokio-runtime-worker substrate: 💤 Idle (2 peers), best: #1 (0x8914…ccd4), finalized #0 (0x1f9b…6b45), ⬇ 268.6kiB/s ⬆ 1.0kiB/s    
2023-08-15 13:24:06.003  INFO tokio-runtime-worker sc_basic_authorship::basic_authorship: 🙌 Starting consensus session on top of parent 0x8914967ee3bc0edbbd1e77f241beb623cd3e9a9aa963c3e3b8f8afe50997ccd4    
2023-08-15 13:24:06.030  INFO tokio-runtime-worker sc_basic_authorship::basic_authorship: 🎁 Prepared block for proposing at 2 (2 ms) [hash: 0x465a5e1eb88463540c3587ddf009665c73b5cb5031116b6d57a13a9d5f350c38; parent_hash: 0x8914…ccd4; extrinsics (2): [0x9090…d500, 0xc13d…3619]]    
2023-08-15 13:24:06.032  INFO tokio-runtime-worker babe: 🔖 Pre-sealed block for proposal at 2. Hash now 0x193c8444ac36c90846248629093dcc43eb6e4408700e908ad2a45577fcf6cf05, previously 0x465a5e1eb88463540c3587ddf009665c73b5cb5031116b6d57a13a9d5f350c38.  

Parachain logs

2023-08-15 13:23:40.120  INFO main sc_cli::runner: Centrifuge Parachain Collator    
2023-08-15 13:23:40.127  INFO main sc_cli::runner: ✌️  version 0.10.27-eb6d366116a    
2023-08-15 13:23:40.128  INFO main sc_cli::runner: ❤️  by Centrifuge <[email protected]>, 2017-2023    
2023-08-15 13:23:40.128  INFO main sc_cli::runner: 📋 Chain specification: Altair Local    
2023-08-15 13:23:40.128  INFO main sc_cli::runner: 🏷  Node name: Alice    
2023-08-15 13:23:40.128  INFO main sc_cli::runner: 👤 Role: AUTHORITY    
2023-08-15 13:23:40.128  INFO main sc_cli::runner: 💾 Database: RocksDb at /root/.local/share/centrifuge-chain/chains/altair_local/db/full    
2023-08-15 13:23:40.128  INFO main sc_cli::runner: ⛓  Native runtime: altair-1027 (altair-1.tx2.au1)    
2023-08-15 13:23:40.200  INFO main pallet_collator_selection::pallet: assembling new collators for new session 0 at #0    
2023-08-15 13:23:40.201  INFO main pallet_collator_selection::pallet: assembling new collators for new session 1 at #0    
2023-08-15 13:23:40.245  INFO main centrifuge_chain::command: Relay-chain Chain spec: "/chainspec.json"    
2023-08-15 13:23:40.245  INFO main centrifuge_chain::command: Parachain spec: Some("altair-local")    
2023-08-15 13:23:40.245  INFO main centrifuge_chain::command: Parachain id: Id(2000)    
2023-08-15 13:23:40.245  INFO main centrifuge_chain::command: Parachain Account: 5Ec4AhPUwPeyTFyuhGuBbD224mY85LKLMSqSSo33JYWCazU4    
2023-08-15 13:23:40.245  INFO main centrifuge_chain::command: Parachain genesis state: 0x000000000000000000000000000000000000000000000000000000000000000000199be99bded83f5cc98d49a690495e089bf896e740cdf9b96fa094a1c25aa0f303170a2e7597b7b7e3d84c05391d139a62b157e78786d8c082f29dcf4c11131400    
2023-08-15 13:23:40.245  INFO main centrifuge_chain::command: Is collating: yes    
2023-08-15 13:23:40.629  INFO main pallet_collator_selection::pallet: [Parachain] assembling new collators for new session 0 at #0    
2023-08-15 13:23:40.629  INFO main pallet_collator_selection::pallet: [Parachain] assembling new collators for new session 1 at #0    
2023-08-15 13:23:46.346  INFO main sc_service::client::client: [Parachain] 🔨 Initializing Genesis block/state (state: 0x199b…a0f3, header-hash: 0x6bd8…62f5)    
2023-08-15 13:23:52.950  INFO main sc_service::client::client: [Relaychain] 🔨 Initializing Genesis block/state (state: 0xb8f0…dcd2, header-hash: 0x1f9b…6b45)    
2023-08-15 13:23:52.969  INFO main grandpa: [Relaychain] 👴 Loading GRANDPA authority set from genesis on what appears to be first startup.    
2023-08-15 13:23:54.401  INFO main babe: [Relaychain] 👶 Creating empty BABE epoch changes on what appears to be first startup.    
2023-08-15 13:23:54.421  INFO main sub-libp2p: [Relaychain] 🏷  Local node identity is: 12D3KooWBhKhfBhj1oj6CTUKxGw5C54Sfdp63LxeAGaJG4xkWEiB    
2023-08-15 13:23:54.509  INFO main sc_sysinfo: [Relaychain] 💻 Operating system: linux    
2023-08-15 13:23:54.509  INFO main sc_sysinfo: [Relaychain] 💻 CPU architecture: x86_64    
2023-08-15 13:23:54.509  INFO main sc_sysinfo: [Relaychain] 💻 Target environment: gnu    
2023-08-15 13:23:54.509  INFO main sc_sysinfo: [Relaychain] 💻 Memory: 7951MB    
2023-08-15 13:23:54.509  INFO main sc_sysinfo: [Relaychain] 💻 Kernel: 5.15.49-linuxkit-pr    
2023-08-15 13:23:54.509  INFO main sc_sysinfo: [Relaychain] 💻 Linux distribution: Ubuntu 20.04.2 LTS    
2023-08-15 13:23:54.509  INFO main sc_sysinfo: [Relaychain] 💻 Virtual machine: no    
2023-08-15 13:23:54.509  INFO main sc_service::builder: [Relaychain] 📦 Highest known block at #0    
2023-08-15 13:23:54.518  INFO tokio-runtime-worker substrate_prometheus_endpoint: [Relaychain] 〽️ Prometheus exporter started at 127.0.0.1:9616    
2023-08-15 13:23:54.537  INFO                 main sc_rpc_server: [Relaychain] Running JSON-RPC HTTP server: addr=127.0.0.1:9934, allowed origins=["http://localhost:*", "http://127.0.0.1:*", "https://localhost:*", "https://127.0.0.1:*", "https://polkadot.js.org"]    
2023-08-15 13:23:54.539  INFO                 main sc_rpc_server: [Relaychain] Running JSON-RPC WS server: addr=127.0.0.1:9945, allowed origins=["http://localhost:*", "http://127.0.0.1:*", "https://localhost:*", "https://127.0.0.1:*", "https://polkadot.js.org"]    
2023-08-15 13:23:54.607  INFO tokio-runtime-worker parachain::approval-voting: [Relaychain] Starting with an empty approval vote DB.
2023-08-15 13:23:54.734  WARN                 main sc_service::config: [Parachain] Using default protocol ID "sup" because none is configured in the chain specs    
2023-08-15 13:23:54.790  INFO                 main sub-libp2p: [Parachain] 🏷  Local node identity is: 12D3KooWNYsTrcNKxBNdoTJ9u1g4q8ECLvN7Vgk2iLLkxcyYinTs    
2023-08-15 13:23:54.856  INFO                 main sc_sysinfo: [Parachain] 💻 Operating system: linux    
2023-08-15 13:23:54.856  INFO                 main sc_sysinfo: [Parachain] 💻 CPU architecture: x86_64    
2023-08-15 13:23:54.856  INFO                 main sc_sysinfo: [Parachain] 💻 Target environment: gnu    
2023-08-15 13:23:54.856  INFO                 main sc_sysinfo: [Parachain] 💻 Memory: 7951MB    
2023-08-15 13:23:54.856  INFO                 main sc_sysinfo: [Parachain] 💻 Kernel: 5.15.49-linuxkit-pr    
2023-08-15 13:23:54.856  INFO                 main sc_sysinfo: [Parachain] 💻 Linux distribution: Ubuntu 20.04.2 LTS    
2023-08-15 13:23:54.856  INFO                 main sc_sysinfo: [Parachain] 💻 Virtual machine: no    
2023-08-15 13:23:54.856  INFO                 main sc_service::builder: [Parachain] 📦 Highest known block at #0    
2023-08-15 13:23:54.864  INFO tokio-runtime-worker substrate_prometheus_endpoint: [Parachain] 〽️ Prometheus exporter started at 127.0.0.1:9615    
2023-08-15 13:23:54.894  INFO                 main sc_rpc_server: [Parachain] Running JSON-RPC HTTP server: addr=0.0.0.0:9933, allowed origins=["*"]    
2023-08-15 13:23:54.895  INFO                 main sc_rpc_server: [Parachain] Running JSON-RPC WS server: addr=0.0.0.0:9944, allowed origins=["*"] 

... snip ...

2023-08-15 13:25:59.956  INFO tokio-runtime-worker substrate: [Parachain] 💤 Idle (0 peers), best: #0 (0x6bd8…62f5), finalized #0 (0x6bd8…62f5), ⬇ 0.2kiB/s ⬆ 0.1kiB/s    
2023-08-15 13:26:00.040  INFO tokio-runtime-worker babe: [Relaychain] 👶 New epoch 2 launching at block 0x8240…2b4f (block slot 282017660 >= start slot 282017660).    
2023-08-15 13:26:00.040  INFO tokio-runtime-worker babe: [Relaychain] 👶 Next epoch starts at slot 282017670    
2023-08-15 13:26:00.046  INFO tokio-runtime-worker substrate: [Relaychain] ✨ Imported #21 (0x8240…2b4f)    
2023-08-15 13:26:00.049  INFO tokio-runtime-worker parachain::approval-voting: [Relaychain] Advanced session window for approvals update=Advanced { prev_window_start: 0, prev_window_end: 1, new_window_start: 0, new_window_end: 2 }
2023-08-15 13:26:00.063  INFO tokio-runtime-worker cumulus-collator: [Parachain] Starting collation. relay_parent=0x824013c7cb3d3efe88a02eedfe5dec1752f1ed8fb5ad760817e0cc7d8e102b4f at=0x6bd81c09bdaf1c5f95754316d75272eef1548083fd935c60b94baee40a1862f5
2023-08-15 13:26:00.085  INFO tokio-runtime-worker sc_basic_authorship::basic_authorship: [Parachain] 🙌 Starting consensus session on top of parent 0x6bd81c09bdaf1c5f95754316d75272eef1548083fd935c60b94baee40a1862f5    
2023-08-15 13:26:00.140  INFO tokio-runtime-worker sc_basic_authorship::basic_authorship: [Parachain] 🎁 Prepared block for proposing at 1 (18 ms) [hash: 0x512a7662efc393528d116ba1db343b70c286848a8f0d4aff84ace6467a74c63a; parent_hash: 0x6bd8…62f5; extrinsics (2): [0xaf49…5b8b, 0x35de…419b]]    
2023-08-15 13:26:00.144  INFO tokio-runtime-worker aura: [Parachain] 🔖 Pre-sealed block for proposal at 1. Hash now 0x5e15fd6f1ec4ea39f80c40d5ce089778701ff479f751811a53ce7b5b4acb5590, previously 0x512a7662efc393528d116ba1db343b70c286848a8f0d4aff84ace6467a74c63a.    
2023-08-15 13:26:00.149  INFO tokio-runtime-worker substrate: [Parachain] ✨ Imported #1 (0x5e15…5590)    
2023-08-15 13:26:00.153  INFO tokio-runtime-worker cumulus-collator: [Parachain] PoV size { header: 0.2177734375kb, extrinsics: 2.6494140625kb, storage_proof: 3.6396484375kb }
2023-08-15 13:26:00.158  INFO tokio-runtime-worker cumulus-collator: [Parachain] Compressed PoV size: 5.2392578125kb
2023-08-15 13:26:00.161  INFO tokio-runtime-worker cumulus-collator: [Parachain] Produced proof-of-validity candidate. block_hash=0x5e15fd6f1ec4ea39f80c40d5ce089778701ff479f751811a53ce7b5b4acb5590
2023-08-15 13:26:04.607  INFO tokio-runtime-worker substrate: [Relaychain] 💤 Idle (2 peers), best: #21 (0x8240…2b4f), finalized #18 (0xcdf8…fb01), ⬇ 1.5kiB/s ⬆ 2.0kiB/s 

@NunoAlexandre
Copy link
Contributor

Are you on a mac? Could you share your docker settings please? 👀

cat ~/Library/Group\ Containers/group.com.docker/settings.json

@wischli
Copy link
Contributor Author

wischli commented Aug 15, 2023

cat ~/Library/Group\ Containers/group.com.docker/settings.json

❯ cat ~/Library/Group\ Containers/group.com.docker/settings.json
{
  "backupData": false,
  "dockerAppLaunchPath": "/Applications/Docker.app",
  "displayedDeprecate1014": false,
  "diskFlush": "",
  "diskQcowCompactAfter": 0,
  "diskQcowKeepErased": 0,
  "diskQcowRuntimeAsserts": false,
  "diskStats": "",
  "vpnKitMTU": 1500,
  "vpnKitAllowedBindAddresses": "0.0.0.0",
  "vpnKitMaxConnections": 2000,
  "authDeclinedInstallSettings": false,
  "settingsVersion": 29,
  "autoStart": false,
  "activeOrganizationName": "",
  "useCredentialHelper": true,
  "credentialHelper": "docker-credential-osxkeychain",
  "disableTips": false,
  "tipLastViewedTime": 1692091658551,
  "tipLastId": 41,
  "updateAvailableTime": 1683637287844,
  "updateInstallTime": 0,
  "disableUpdate": false,
  "openUIOnStartupDisabled": true,
  "analyticsEnabled": false,
  "displayedOnboarding": true,
  "disableHardwareAcceleration": false,
  "displayRestartDialog": true,
  "displayedElectronPopup": [],
  "latestBannerKey": "",
  "acceptCanaryUpdates": false,
  "useNightlyBuildUpdates": false,
  "autoDownloadUpdates": false,
  "lastLoginDate": 0,
  "themeSource": "system",
  "containerTerminal": "integrated",
  "allowExperimentalFeatures": true,
  "enableSegmentDebug": false,
  "autoPauseTimeoutSeconds": 30,
  "dataFolder": "/Users/william/Library/Containers/com.docker.docker/Data/vms/0/data",
  "memoryMiB": 8192,
  "swapMiB": 1024,
  "cpus": 4,
  "diskSizeMiB": 61035,
  "diskTRIM": true,
  "vpnkitCIDR": "192.168.65.0/24",
  "socksProxyPort": 0,
  "proxyHttpMode": "system",
  "overrideProxyHttp": "",
  "overrideProxyHttps": "",
  "overrideProxyExclude": "",
  "overrideWindowsDockerdPort": -1,
  "filesharingDirectories": [
    "/Users",
    "/Volumes",
    "/private",
    "/tmp",
    "/var/folders"
  ],
  "kubernetesEnabled": false,
  "showKubernetesSystemContainers": false,
  "kubernetesInitialInstallPerformed": false,
  "useVirtualizationFramework": true,
  "useVirtualizationFrameworkVirtioFS": false,
  "useVirtualizationFrameworkRosetta": true,
  "useGrpcfuse": true,
  "networkType": "gvisor",
  "useVpnkit": true,
  "vpnKitMaxPortIdleTime": 300,
  "vpnKitTransparentProxy": true,
  "useWindowsContainers": false,
  "noWindowsContainers": false,
  "wslEngineEnabled": false,
  "wslEnableGrpcfuse": false,
  "runWinServiceInWslMode": false,
  "customWslDistroDir": "",
  "licenseTermsVersion": 2,
  "deprecatedCgroupv1": false,
  "useContainerdSnapshotter": false,
  "enableWasmShims": false,
  "lifecycleTimeoutSeconds": 600,
  "exposeDockerAPIOnTCP2375": false,
  "enhancedContainerIsolation": false,
  "showMacInstall": false,
  "extensionsEnabled": true,
  "onlyMarketplaceExtensions": false,
  "showExtensionsSystemContainers": false,
  "useBackgroundIndexing": true,
  "showBuildsViewFeature": false,
  "dockerBinInstallPath": "system",
  "enableDefaultDockerSocket": true,
  "updateHostsFile": false,
  "requireVmnetd": false
}

@NunoAlexandre
Copy link
Contributor

Thanks @wischli 🙏 using your settings fixed the issues I was experiencing.

@branan
Copy link
Contributor

branan commented Aug 15, 2023

I'm checking this on Linux-native docker for sanity

@branan
Copy link
Contributor

branan commented Aug 15, 2023

This did not immediately work for me. I assume networking issues, but I'm not prioritizing debugging it at the moment.

@wischli wischli mentioned this pull request Oct 10, 2023
@wischli
Copy link
Contributor Author

wischli commented Nov 13, 2023

Superseded by #1577

@wischli wischli closed this Nov 13, 2023
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.

3 participants