Conversation
Hopefully fixes trufflesuite#5260
Hey @wbt thanks for this! Looks like you need to commit the |
Yeah, it looks like it might actually be more involved with having to adapt to some breaking changes in the dependency. |
The changelog about known-breaking changes is here. |
dang! maybe someone else will be able to pick this up quickly. anyway, always appreciate your contributions in any capacity 🙏 |
So it looks like there was some issue where things that were "mnemonic-like" but invalid were parsed as private keys. I updated the parsing in hdwallet-provider to fix this issue and resolve the test that was failing. |
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.
Looks good, tests are passing. I have a question about sniffing out a private-key.
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 there's a bug in this relating to the private key parsing. I also have some style comments.
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.
Hitting approve on this, seems good to me! I think isMnemonicLike
would be a better name than isMnemonicPhrase
but now that there's a least some validation it doesn't bother me. :P
Oh, wait, this is failing CI for some reason... |
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.
LGTM pending tests ofc :)
The updated function names are much better. |
Hopefully fixes #5260