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

Add try_from method for TxType with U64 #7291

Merged
merged 2 commits into from Mar 22, 2024
Merged

Conversation

tcoratger
Copy link
Contributor

This pull request adds a try_from method for the TxType enum with U64. In RPC types, the transaction type is represented by a big integer U64. For certain functionalities, it's beneficial to provide a mechanism to convert a U64 value to a primitive transaction type represented by TxType.

@tcoratger tcoratger requested a review from gakonst as a code owner March 21, 2024 23:19
@mattsse mattsse added the C-enhancement New feature or request label Mar 22, 2024
@mattsse mattsse added this pull request to the merge queue Mar 22, 2024
Merged via the queue into paradigmxyz:main with commit 30d79a9 Mar 22, 2024
27 checks passed
Ruteri pushed a commit to Ruteri/reth that referenced this pull request Apr 17, 2024
Ruteri pushed a commit to Ruteri/reth that referenced this pull request Apr 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants