-
Notifications
You must be signed in to change notification settings - Fork 1
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 mnemnoic validation bug when given a list #29
Conversation
The validation I introduced prevented a list of mnemonics from being passed in. I fixed the bug + added in tests + github action to run them. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Left one nit comment, overall LGTM
@@ -49,8 +49,8 @@ export async function startContainers( | |||
FAKETIME: `@${timestamp}`, | |||
CHAIN: chain, | |||
TOOLING_API_KEY: tooling.apiKey, | |||
RELAYER_DIDS: dids, | |||
RELAYER_MNEMONICS: mnemonics, | |||
RELAYER_DIDS: dids.replace(/, /g, ','), // rest api doesn't tolerate a space after the , |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this should also be handled in rest API as well
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Will make a PR there
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
upstream PR: PolymeshAssociation/polymesh-rest-api#86
## [3.5.4](v3.5.3...v3.5.4) (2022-02-01) ### Bug Fixes * 🐛 Fix mnemnoic validation bug when given a list ([#29](#29)) ([f478a68](f478a68))
🎉 This PR is included in version 3.5.4 🎉 The release is available on:
Your semantic-release bot 📦🚀 |
No description provided.