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

Support execute transaction from Trezor #337

Merged
merged 2 commits into from
Jan 17, 2024

Conversation

moisses89
Copy link
Member

Close #326

@coveralls
Copy link

coveralls commented Jan 4, 2024

Coverage Status

coverage: 93.856% (+0.2%) from 93.647%
when pulling 25676bd on support_execute_transactions_from_trezor
into 6bb3bea on master.

@moisses89 moisses89 marked this pull request as ready for review January 4, 2024 22:30
@moisses89 moisses89 requested a review from Uxio0 as a code owner January 4, 2024 22:30
]
).hex()

return HexStr(encoded_transaction)
Copy link
Member

Choose a reason for hiding this comment

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

Shouldn't we return bytes or HexBytes here? That's what we do everywhere we are returning raw transactions or data, also it's more friendly memory wise

Copy link
Member Author

Choose a reason for hiding this comment

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

Make sense, I was returning HexStr to be consistent with ledger response, but I think that is better to be consistent with our code as we are using bytes normally to represent raw_transactions.

@moisses89 moisses89 force-pushed the support_execute_transactions_from_trezor branch from 3f1215c to 25676bd Compare January 17, 2024 10:01
@moisses89 moisses89 merged commit 5b89e01 into master Jan 17, 2024
13 checks passed
@moisses89 moisses89 deleted the support_execute_transactions_from_trezor branch January 17, 2024 14:14
@github-actions github-actions bot locked and limited conversation to collaborators Jan 17, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support execute transactions from Trezor.
3 participants