-
Notifications
You must be signed in to change notification settings - Fork 26
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
refactor(models)!: change SubaddressIndex to use subaddress::Index #62
refactor(models)!: change SubaddressIndex to use subaddress::Index #62
Conversation
|
@h4sh3d thank you! I'll update this PR |
70fcd8e
to
2b7d3b4
Compare
done |
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'd prefer if you use the imported Index wherever possible and also replace the currently defined tuples of indices with it. We are already using monero-rs as a user required library, so I'd prefer if we we were consistent. There is also no need to rename the Index to SubAddressIndex. This will be a breaking change to the lib.
perfect, I'll do it :) |
2b7d3b4
to
e99b312
Compare
@TheCharlatan Done. I also used |
e99b312
to
ee6d6fc
Compare
btw I would only merge this PR after I add tests for all functions on |
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.
Nicely done, and yes per your suggestion let's merge once the other PR is done. I like to put the onus of maintaining pull request merge order entirely on the author. Can you put this PR back in draft state as long as you are still working on its dependencies?
ee6d6fc
to
0aef439
Compare
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.
ACK
…onero-rs#62) * refactor(models)!: change SubaddressIndex to use subaddress::Index * refactor(get_address_index)!: return type is now Result<subaddress::Index> * refactor(models,lib)!: change any address index and account index to use u32 * refactor(label_address)!: receive subaddress:Index as an argument * docs(CHANGELOG): update CHANGELOG file to reflect recent changes
Closes #41
monero-rs/monero-rs#104 needs to be merged first