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: 🐛 Fix mnemnoic validation bug when given a list #29

Merged
merged 2 commits into from
Feb 1, 2022

Conversation

polymath-eric
Copy link
Collaborator

No description provided.

@polymath-eric polymath-eric marked this pull request as ready for review January 25, 2022 17:10
@polymath-eric
Copy link
Collaborator Author

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.

Copy link
Collaborator

@prashantasdeveloper prashantasdeveloper left a 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 ,
Copy link
Collaborator

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

Copy link
Collaborator Author

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

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

src/common/rest.ts Outdated Show resolved Hide resolved
@polymath-eric polymath-eric merged commit f478a68 into master Feb 1, 2022
@polymath-eric polymath-eric deleted the fix-mnemnoic_validation branch February 1, 2022 16:52
github-actions bot pushed a commit that referenced this pull request Feb 1, 2022
## [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))
@monitz87
Copy link
Contributor

monitz87 commented Feb 1, 2022

🎉 This PR is included in version 3.5.4 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants