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: align TransactionResponse (de)serialization with core #30

Merged
merged 6 commits into from
Dec 12, 2024

Conversation

itegulov
Copy link
Collaborator

@itegulov itegulov commented Dec 2, 2024

Closes #29

This PR does three main things:

  • Renames gas_limit to gas as that's what ETH spec expects to see in the transaction object
  • Makes eip712_meta optional as core does not return it when querying EIP712 transactions (NOTE: this is a bit of a hack and I think the proper fix would be to create a separate TxEip712-like object specifically for representing responses).
  • Adds some serde workarounds to better align (de)serialization format

@itegulov itegulov requested a review from popzxc as a code owner December 2, 2024 07:58
@dutterbutter dutterbutter merged commit a2ce63e into popzxc:main Dec 12, 2024
4 checks passed
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.

feat: make TransactionResponse compatible with core
3 participants