Skip to content

support Wallet names with hyphens when passing password through ENV vars#1949

Merged
thealligatorking merged 4 commits intoopentensor:stagingfrom
backend-developers-ltd:support_hypens_when_passing_cold_pw
Jul 23, 2024
Merged

support Wallet names with hyphens when passing password through ENV vars#1949
thealligatorking merged 4 commits intoopentensor:stagingfrom
backend-developers-ltd:support_hypens_when_passing_cold_pw

Conversation

@mjurbanski-reef
Copy link
Contributor

@mjurbanski-reef mjurbanski-reef commented May 29, 2024

Description of the Change

Support Wallet names with hyphens when passing password through ENV vars

Alternate Designs

Another solutions would be to:

  • Explicitly discourage (disallow?) creating wallet names with hyphens - naming is hard problem, so it would likely rattle some people

Possible Drawbacks

A possible drawback is if someone had multiple wallets which only difference was that one had - instead of _, but that seems VERY unlikely.

Verification Process

Added unittest case + manual testing.

Release Notes

  • BT_COLD_PW_* env vars now can be used to provide password for wallet names with hyphens (use _ in place of -)

@mjurbanski-reef mjurbanski-reef force-pushed the support_hypens_when_passing_cold_pw branch from 3484d14 to 5ff7584 Compare May 30, 2024 08:18
@mjurbanski-reef mjurbanski-reef force-pushed the support_hypens_when_passing_cold_pw branch from 5ff7584 to b5b8599 Compare June 8, 2024 19:17
@mjurbanski-reef
Copy link
Contributor Author

anything I can do to move this forward?

@mjurbanski-reef mjurbanski-reef force-pushed the support_hypens_when_passing_cold_pw branch from b5b8599 to 81b6be8 Compare June 13, 2024 14:21
@mjurbanski-reef
Copy link
Contributor Author

@gus-opentensor anything stopping this from being merged?

@thealligatorking
Copy link
Contributor

thealligatorking commented Jul 23, 2024

@mjurbanski-reef tests, I'll merge once they pass.

@mjurbanski-reef
Copy link
Contributor Author

mjurbanski-reef commented Jul 23, 2024

@gus-opentensor the tests are failing since the exactly tests are failing in staging branch that I just merged into this

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