Conversation
There was a problem hiding this comment.
Follow the tests above, I'm stuck at
𝝺 yarn run start ../PINT/config.json
yarn run v1.22.10
$ yarn build && node dist/index.js ../PINT/config.json
$ tsc
2021-04-23 20:48:07 Building chain spec
Starting with a fresh authority set:
Added Authority alice
Added Authority bob
Added Authority charlie
2021-04-23 20:48:08 Building chain spec
2021-04-23 20:48:09 Took active validators from set with wrong size
2021-04-23 20:48:09 Took active validators from set with wrong size
Starting alice...
Starting bob...
Starting charlie...
Waiting for localhost:9944........
Connected!
2021-04-23 20:48:17 REGISTRY: Unable to resolve type Outcome, it will fail on construction
2021-04-23 20:48:17 API/INIT: RPC methods not decorated: beefy_subscribeJustifications, beefy_unsubscribeJustifications
Starting a Collator for parachain 1: 5Ec4AhNmTPsRSiBHeyHEMojCJFbKn7aoT3KNKnQEc3gV3ocB, Collator port : 31200 wsPort : 9988
Added --chain=pint-dev
Added to parachain
Added --execution=wasm to collator
And checking the served :9944 polkadot.app UI
PINT hasn't been registered as a parachain, and the issue #42 mentioned is that after PINT has been registered as a parachin, it doesn't produce blocks, can your paste the logs or screenshot PINT produces blocks on your machine @mattsse , and I will try to find out the problem my machine has
Just saw the logs on slack
|
Did you build the correct polkadot branch |
I tested the integration with a binary built by |
|
Just dismissed the Let me test it again |
|
I think the |
clearloop
left a comment
There was a problem hiding this comment.
2021-04-23 21:43:33 [Parachain] 💤 Idle (0 peers), best: #1 (0xd4ef…2af9), finalized #0 (0xb329…fd7c), ⬇ 57 B/s ⬆ 55 B/s
2021-04-23 21:43:33 [Relaychain] 💤 Idle (4 peers), best: #24 (0x665a…e7f9), finalized #21 (0xa6b1…c98c), ⬇ 1.3kiB/s ⬆ 1.0kiB/s
2021-04-23 21:43:36 [Relaychain] ✨ Imported #25 (0xf729…d9f4)
2021-04-23 21:43:38 [Parachain] 💤 Idle (0 peers), best: #1 (0xd4ef…2af9), finalized #1 (0xd4ef…2af9), ⬇ 0 ⬆ 0
2021-04-23 21:43:38 [Relaychain] 💤 Idle (4 peers), best: #25 (0xf729…d9f4), finalized #23 (0x6c72…d4c3), ⬇ 1.7kiB/s ⬆ 1.0kiB/s
2021-04-23 21:43:42 [Relaychain] ✨ Imported #26 (0xd932…c568)
It works on my machine now! Even I am confused about how this wait-for-port can solve this problem but this is really amazing!!!
BTW, it would be nice renaming PINT/config.json to PINT/polkadot-launch.json.
The |

Changes
pintnaming within the cli and chain-specTests
At least on my machine the master branch version of
polkadot-launchfailed to wait until the nodes are spawned. I used the polkadot-launch/wait-for-port branch with a hotfix that waits until the websocket port of the node is availableIssues