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

every node needs a key pair #488

Merged
merged 4 commits into from
Nov 26, 2024
Merged

every node needs a key pair #488

merged 4 commits into from
Nov 26, 2024

Conversation

eckelj
Copy link
Contributor

@eckelj eckelj commented Nov 26, 2024

I opted for a panic as the binary can also be used to manage keyrings, and it might be used when there is not yet a keyring available.

  • added panic if there is no key pair that can be used for the node (keystore or trustwallet)
  • renamed GetValidatorAddress to GetNodeAddress
  • fixed lib/test/e2e failing test case. The issue is an internal race condition of the unit test network in the case of 1 node. Moving to two nodes solves the issue with the test case. In the case of 1 validator, the first chain interaction happens before the address environment variables are set.

…keystore or trustwallet)

* renamed GetValidatorAddress to GetNodeAddress
* fixed lib/test/e2e failing test case. The issue is an internal race condition of the unit test network in case of 1 node. Moving to two nodes solves the issue with the test case. In case of 1 validator, the first chain interaction happens before the address environment variablesare set.

Signed-off-by: Jürgen Eckel <juergen@riddleandcode.com>
Signed-off-by: Jürgen Eckel <juergen@riddleandcode.com>
@eckelj eckelj requested a review from jmastr November 26, 2024 14:02
@eckelj eckelj self-assigned this Nov 26, 2024
Signed-off-by: Jürgen Eckel <juergen@riddleandcode.com>
Copy link
Collaborator

@jmastr jmastr left a comment

Choose a reason for hiding this comment

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

please remove cover.out and lib/cover.out from the PR. these are files used in pipeline only

Signed-off-by: Jürgen Eckel <juergen@riddleandcode.com>
@jmastr jmastr merged commit aec5517 into main Nov 26, 2024
14 checks passed
@jmastr jmastr deleted the eckelj/nodes_need_keys branch November 26, 2024 14:31
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.

2 participants