-
Notifications
You must be signed in to change notification settings - Fork 186
fix(tests): Incorrect expected exception on test_tx_intrinsic_gas.py
#2096
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
Conversation
…ess_list/test_tx_intrinsic_gas.py`
|
Cc @kclowes, I had time to check this today and put up a PR, just to not duplicate efforts. |
kclowes
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! 🚀
|
Ah nice. I was thinking something along these lines would be ideal since these are both "gas too low" paths, just one more specific than another. I think this approach makes sense 👌🏼 |
Bartletti
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
|
Koło |
|
Lolo |
ethereum#2096) * fix(tests): Incorrect expected exception on `tests/berlin/eip2930_access_list/test_tx_intrinsic_gas.py` * fix: typing
ethereum#2096) * fix(tests): Incorrect expected exception on `tests/berlin/eip2930_access_list/test_tx_intrinsic_gas.py` * fix: typing



🗒️ Description
Fixes an exception expectation on
test_tx_intrinsic_gas.py.Depending on the implementation, the client could hit
TransactionException.INTRINSIC_GAS_BELOW_FLOOR_GAS_COSTorTransactionException.INTRINSIC_GAS_TOO_LOWbecause both values, given the conditions, were equal.🔗 Related Issues or PRs
N/A.
✅ Checklist
toxchecks to avoid unnecessary CI fails, see also Code Standards and Enabling Pre-commit Checks:uvx --with=tox-uv tox -e lint,typecheck,spellcheck,markdownlinttype(scope):.All: Considered adding an entry to CHANGELOG.md.