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

hardware-wallet/build-tx #834

Merged
merged 7 commits into from
Sep 30, 2023
Merged

hardware-wallet/build-tx #834

merged 7 commits into from
Sep 30, 2023

Conversation

briancorbin
Copy link
Contributor

@briancorbin briancorbin commented Apr 27, 2023

This PR handles enabling a tx to be built via the ledger hardware device. Quite a few functions were made async to support this.

A new service class called hardware_wallet.rs contains most of the logic for interfacing with the ledger device.

@briancorbin briancorbin mentioned this pull request Apr 27, 2023
@briancorbin
Copy link
Contributor Author

briancorbin commented Apr 27, 2023

@briancorbin briancorbin force-pushed the feature/hw/build-tx branch from 0bd36a6 to 5978256 Compare April 27, 2023 15:53
@briancorbin briancorbin force-pushed the feature/hw/build-tx branch from 5978256 to 01b4f1b Compare May 1, 2023 18:51
@briancorbin briancorbin force-pushed the feature/hw/build-tx branch from 01b4f1b to f937539 Compare May 2, 2023 15:11
@briancorbin briancorbin force-pushed the feature/hw/build-tx branch from f937539 to b954c75 Compare May 12, 2023 14:48
@briancorbin briancorbin force-pushed the feature/hw/build-tx branch from b954c75 to 2371438 Compare May 12, 2023 19:40
@briancorbin briancorbin force-pushed the feature/hw/build-tx branch from 2371438 to 13774a8 Compare June 20, 2023 19:17
@briancorbin briancorbin force-pushed the feature/hw/build-tx branch from 13774a8 to 88922cb Compare June 21, 2023 04:56
@briancorbin briancorbin force-pushed the feature/hw/build-tx branch from 88922cb to 2f67395 Compare June 22, 2023 16:37
@briancorbin briancorbin marked this pull request as ready for review September 26, 2023 22:14
Copy link

@ryankurte ryankurte left a comment

Choose a reason for hiding this comment

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

big lockfile changes but, such is life and logic all lgtm

Base automatically changed from feature/hw/base to main September 27, 2023 19:35
Copy link
Contributor

@remoun remoun left a comment

Choose a reason for hiding this comment

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

LGTM

full-service/Cargo.toml Show resolved Hide resolved
full-service/src/service/hardware_wallet.rs Show resolved Hide resolved
full-service/src/service/hardware_wallet.rs Show resolved Hide resolved
Brian Corbin and others added 5 commits September 28, 2023 15:28
fixing tests and lint issues

removing heapless patch and updating cargo lock

fixing for 0.13.0

cargo lock updates

fix lint issues
@codecov-commenter
Copy link

Codecov Report

Attention: 180 lines in your changes are missing coverage. Please review.

Comparison is base (ab2af32) 60.12% compared to head (aab98e4) 55.23%.
Report is 141 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #834      +/-   ##
==========================================
- Coverage   60.12%   55.23%   -4.90%     
==========================================
  Files          88      116      +28     
  Lines       12356    14432    +2076     
  Branches     2010     2472     +462     
==========================================
+ Hits         7429     7971     +542     
- Misses       3238     4621    +1383     
- Partials     1689     1840     +151     
Files Coverage Δ
full-service/src/db/assigned_subaddress.rs 63.56% <100.00%> (+6.20%) ⬆️
full-service/src/db/gift_code.rs 67.85% <100.00%> (+1.19%) ⬆️
full-service/src/json_rpc/v1/api/request.rs 76.98% <100.00%> (-1.59%) ⬇️
...service/src/json_rpc/v1/models/receiver_receipt.rs 77.77% <ø> (+0.99%) ⬆️
full-service/src/json_rpc/v1/models/tx_proposal.rs 73.56% <100.00%> (+0.30%) ⬆️
full-service/src/json_rpc/v1/models/txo.rs 57.27% <100.00%> (+2.72%) ⬆️
full-service/src/json_rpc/v2/api/test_utils.rs 84.61% <100.00%> (ø)
full-service/src/json_rpc/v2/models/account_key.rs 47.05% <100.00%> (+0.76%) ⬆️
...l-service/src/json_rpc/v2/models/public_address.rs 60.00% <100.00%> (ø)
...service/src/json_rpc/v2/models/receiver_receipt.rs 76.92% <ø> (+0.99%) ⬆️
... and 46 more

... and 45 files with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@briancorbin briancorbin merged commit aa1cabd into main Sep 30, 2023
7 of 8 checks passed
@briancorbin briancorbin deleted the feature/hw/build-tx branch September 30, 2023 18:48
@briancorbin briancorbin added the enhancement New feature or request label Oct 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants