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

feat(core): Start displaying Ethereum ABI in a generalized way #3174

Draft
wants to merge 7 commits into
base: issue_2923
Choose a base branch
from

Conversation

cbergqvist
Copy link

Step towards #69

Step toward solving issue trezor#69

Improved Ethereum address display and changed test cases to use addresses including letter to see the upper/lower case formatting.

Added test for known ERC-20 token (DAI)

[no changelog]
More thorough handling of transaction properties (value vs data length).

Restore special handling of ERC-20 token transfers (a bit ugly right now, see comment about `Any` at the top of _fetch_abi_input_properties.
Instead break _fetch_abi_input_properties in two, one handling transfers, and also break out an inner generator function for iterating over the input parameter definitions.
@cbergqvist cbergqvist marked this pull request as draft August 17, 2023 17:00
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.

1 participant