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 get_coldkey_password_from_environment resolving wrong password #1843

Merged

Conversation

mjurbanski-reef
Copy link
Contributor

Bug


Description of the Change

Before this change if ENV had set

BT_COLD_PW_WALLET=1
BT_COLD_PW_MY_WALLET=2

Requesting test_get_coldkey_password_from_environment("wallet") would not deterministically return either "1" or "2".

Alternate Designs

Possible Drawbacks

Verification Process

added unit tests

Release Notes

  • get_coldkey_password_from_environment will no longer return passwords from ENV of wallets sharing the same suffix

@mjurbanski-reef
Copy link
Contributor Author

mjurbanski-reef commented May 17, 2024

Anything that needs to be done here to get this merged? I don't see any conflicts with staging, but should I keep hitting "Update branch" or is this good to go as is?
image

@gus-opentensor
Copy link
Collaborator

@mjurbanski-reef please refresh branch and I will merge

@gus-opentensor gus-opentensor merged commit d8f7fea into opentensor:staging May 17, 2024
12 checks passed
@gus-opentensor gus-opentensor mentioned this pull request May 17, 2024
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.

None yet

2 participants