Skip to content

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

Merged
ltfschoen merged 3 commits intomasterfrom
luke/node-id-local
Jun 8, 2021
Merged

fix: Fix conflicting node id on "local" chain to match node id in chain_spec file#198
ltfschoen merged 3 commits intomasterfrom
luke/node-id-local

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

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