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

[r2r] Hardware Wallet enhancements #1672

Merged
merged 13 commits into from
Feb 25, 2023
Merged

Conversation

sergei-boiko
Copy link

* Add `MmCtx::shared_db_id`
* Add `get_shared_db_id` RPC
* Add `MmCtx::shared_sqlite_conn`
* Remove `mm2_rmd160` property from HD wallet storage
* Refactor SQL queries by using named params
* TODO implement `task::get_new_address::cancel`
* Add `MockableConfirmAddress` for tests
* Add `trezor_connection_status` RPC
* `HwCtx::trezor` should return `TrezorSession<'a>`
* Fix comments
* Use `EnumFromInner`, `EnumFromStringify` derive macros
* Rename `NullStringPassphrase` to `EmptyPassphrase`
* Incorrect behaviour if Passphrase is enabled
* Don't create new session on each device interaction
* Fix merge conflicts
@sergei-boiko
Copy link
Author

@anarkiVan please check if this PR fixes the issue you met

When the trezor security's option passphrase is enabled and i try to withdraw coin from WebDEX i got an error:
Internal error: Unexpected interaction request: PassphraseRequest
Also on each asset activation it asks to enter seed
ps: During connection to trezor i skip sending passphrase and our old logic just send empty string

@anarkiVan
Copy link

@anarkiVan please check if this PR fixes the issue you met

When the trezor security's option passphrase is enabled and i try to withdraw coin from WebDEX i got an error:
Internal error: Unexpected interaction request: PassphraseRequest
Also on each asset activation it asks to enter seed
ps: During connection to trezor i skip sending passphrase and our old logic just send empty string

@sergei-boiko It looks like my issues have solved here

@sergei-boiko
Copy link
Author

@anarkiVan great, thank you for the testing!
@shamardy the PR is ready for the review

Copy link
Collaborator

@shamardy shamardy left a comment

Choose a reason for hiding this comment

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

Thank you for the fixes!

@ca333 ca333 requested a review from DeckerSU February 24, 2023 08:02
@ca333 ca333 merged commit 5549d69 into KomodoPlatform:dev Feb 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants