You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 15, 2023. It is now read-only.
The example parachain node has a hardcoded ID of 100. When I follow the instructions to register the parachian, I use id 100 as instructed, and the registration extrinsic completes successfully. However, the collator does not begin collating. One hint from the relay chain node logs is Local parachain duty is Some(LocalDuty { validation: Parachain(Id(0)) }). I expected that value to be 100, not 0.
Second Attempt
Kill all parachain and relay chain nodes, and purge all chains. Start the relay chain again. Start the Collator again, this time try to register at id 0 despite the hard-coded id 100 in the collator code.
Same behavior as before. Now, the collator actually starts producing blocks despite the mismatch between hard-coded id and registered id.
Third Attempt
Modify the collator node to hard-code id 0, and recompile. Kill all nodes and purge all chains. Re-start the relay chain. Re-start the collator. Register at id 0. As in the second attempt, the collator now begins producing blocks as expected.
The text was updated successfully, but these errors were encountered:
JoshOrndorff
changed the title
Cannot register parachain at ID 100
Parachains registered at IDs other than 0 do not colalte
Nov 29, 2019
JoshOrndorff
changed the title
Parachains registered at IDs other than 0 do not colalte
Parachains registered at IDs other than 0 do not collate
Nov 29, 2019
The example parachain node has a hardcoded ID of 100. When I follow the instructions to register the parachian, I use id 100 as instructed, and the registration extrinsic completes successfully. However, the collator does not begin collating. One hint from the relay chain node logs is
Local parachain duty is Some(LocalDuty { validation: Parachain(Id(0)) })
. I expected that value to be 100, not 0.Second Attempt
Kill all parachain and relay chain nodes, and purge all chains. Start the relay chain again. Start the Collator again, this time try to register at id 0 despite the hard-coded id 100 in the collator code.
Same behavior as before. Now, the collator actually starts producing blocks despite the mismatch between hard-coded id and registered id.
Third Attempt
Modify the collator node to hard-code id 0, and recompile. Kill all nodes and purge all chains. Re-start the relay chain. Re-start the collator. Register at id 0. As in the second attempt, the collator now begins producing blocks as expected.
The text was updated successfully, but these errors were encountered: