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

fix: Fix conflicting node id on "local" chain to match node id in chain_spec file #198

Merged
merged 3 commits into from
Jun 8, 2021

Conversation

ltfschoen
Copy link
Collaborator

@ltfschoen ltfschoen commented Jun 8, 2021

Using the previous default for BOOTNODE_ID_LOCAL in an .env file prevents generating and finalizing blocks

Copy link
Contributor

@cgroeschel cgroeschel left a comment

Choose a reason for hiding this comment

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

review done

@@ -1,7 +1,7 @@
# dev, local, brickable, harbour, mainnet
CHAIN_VERSION=dev

BOOTNODE_ID_LOCAL=QmWYmZrHFPkgX8PgMgUpHJsK6Q6vWbeVXrKhciunJdRvKZ
BOOTNODE_ID_LOCAL=12D3KooWKS7jU8ti7S5PDqCNWEj692eUSK3DLssHNwTQsto9ynVo
Copy link
Contributor

Choose a reason for hiding this comment

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

is that node id just a different format and it would also work for dev chain?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

yeh i think it will work for 'dev' too, i will try now.
it's the same as in https://github.com/DataHighway-DHX/node/blob/master/node/src/chain_spec.rs#L258 so there's no conflict. 'dev' doesn't have one in the chain_spec.rs file

Copy link
Contributor

Choose a reason for hiding this comment

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

ok, just making sure that ID works for both if we share that variable for dev and local

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

yes it works for 'dev' too

@ltfschoen ltfschoen merged commit f15163f into master Jun 8, 2021
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