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 has_access_list method to TxType #6153

Merged
merged 2 commits into from
Jan 22, 2024

Conversation

tcoratger
Copy link
Contributor

Summary

This pull request adds a has_access_list method to the TxType enum, which allows checking whether a specific transaction type includes an access list. This method is useful for distinguishing between transaction types that have an access list and those that do not.

Changes

  • Added a has_access_list method to the TxType enum, returning true for transaction types with an access list and false otherwise.

Context

The TxType enum represents different types of Ethereum transactions, and this addition enhances its functionality by providing a convenient way to check for the presence of an access list.

@tcoratger tcoratger requested a review from gakonst as a code owner January 22, 2024 10:41
@mattsse mattsse merged commit e58a93d into paradigmxyz:main Jan 22, 2024
28 checks passed
shekhirin pushed a commit that referenced this pull request Jan 25, 2024
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.

2 participants