-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Oasis backward changes #1440
Oasis backward changes #1440
Conversation
What's the motivation of this change? |
I updated the PR description. |
@catenocrypt, I'm speaking on behalf of Oasis. We've recently (oasisprotocol/oasis-core#3656 (comment)) adopted ADR 0008: Standard Account Key Generation which specifies 3 things:
Since Trustwallet hasn't enabled Oasis support yet, it makes the most sense to revert the key derivation to ADR 0008 standard right away. That way, it will be compatible with all other Oasis wallets in the future. |
@catenocrypt @vikmeup I need some help with linux CI tests. I did not change anything related to the compiler, but it is failing. I tried to run CI on master branch in zondax forked repo, and I got the same (even though it is green in master branch on trust wallet). The link is here. |
FWIW, I've added Trust Wallet Core's test mnemonic ( And I'm confirming that the address for derivation path |
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.
While at it, @emmanuelm41, can you also update the info.url
to https://oasisprotocol.org/
and info.clientPublic
to https://rosetta.oasis.dev/api/v1
?
Should the info.clientDocs
point to RPC docs in particular? If not, I would replace it with https://docs.oasis.dev/oasis-core/
.
@tjanez the values were updated as you indicated. I am not sure if the info.clientDocs should point to RPC docs. Other coins have different docs, so I think we can change it. I did that. We can wait trust wallet to check it. |
Could you help us? |
@emmanuelm41 could you please search and delete "ed25519HD" references from code? will take a look at linux CI |
Linux CI build error is weird, seems unrelated to changed files in this PR. Investigating.
|
It was already failing for last commit on master |
cause: actions/runner-images#3235, will push the fix |
Linux CI issue: #1441 |
I think we are done! I just removed everything. |
Please merge master (I tried but have no permission). That should fix the Linux CI build. |
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.
Also please remove all occurences of ed25519_hd_info (in bip32.c/h)
d3462e7
to
d209d6f
Compare
Done! Thanks! I made the suggested changes. What do you think now? |
Perfect! So are we ready to merge? Thank you so much! |
* change curve and derivation path * update test values to match new coin config * update oasis coin config * remove hd curve related code * remove more stuff related to hd curve * remove test cases for bip32-hd
* change curve and derivation path * update test values to match new coin config * update oasis coin config * remove hd curve related code * remove more stuff related to hd curve * remove test cases for bip32-hd
Description
Oasis has requested that any new address should use a SLIP0010 with a derivation path based on BIP32 and 3 values only.
Given that Trustwallet integration is not available yet, the preference is to support this format only in Trustwallet.
This PR adjust wallet-core functionality according to this.
Testing instructions
The CI tests will check the addresses generated with the new curve used.
Types of changes
Checklist
[WIP]
if necessary.