chore(weld): ruff 79 line length alignment#1649
Conversation
8db4d89 to
2b2e7db
Compare
|
Can someone check |
danceratopz
left a comment
There was a problem hiding this comment.
Thanks @spencer-tb! I think the suggestion below will fix-up filling the tests.
| ## Curve Coefficient | ||
| B = 0x5AC635D8AA3A93E7B3EBBD55769886BC651D06B0CC53B0F63BCE3C3E27D2604B | ||
| ## Subgroup Order | ||
| N = 0xFFFFFFFF0000000FFFFFFFFFFFFFFFFBCE6FAADA7179E84F3B9CAC2FC632551 |
There was a problem hiding this comment.
Sneaky!
| N = 0xFFFFFFFF0000000FFFFFFFFFFFFFFFFBCE6FAADA7179E84F3B9CAC2FC632551 | |
| N = 0xFFFFFFFF00000000FFFFFFFFFFFFFFFFBCE6FAADA7179E84F3B9CAC2FC632551 |
There was a problem hiding this comment.
Don't know, bit scary. Worth verifying fixtures via hasher to make sure nothing more subtle has crept in (not only for this PR).
There was a problem hiding this comment.
I committed the change to trigger the CI flow.
There was a problem hiding this comment.
lol sry! I was editing with vim mode so probably a missed typed "x" that removed the 0
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## forks/osaka #1649 +/- ##
============================================
Coverage 86.08% 86.08%
============================================
Files 743 743
Lines 44072 44072
Branches 3891 3891
============================================
Hits 37938 37938
Misses 5656 5656
Partials 478 478
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
ecff389 to
3eac33a
Compare
|
Amazing!! There are more than 2K+ error originally |
…e_size()` from fork config (ethereum#1649) * feat(forks): introduce max code size / max initcode size * feat(tests): read max code size from fork / scale gas limit as appropriate for test * Update src/ethereum_test_forks/base_fork.py Co-authored-by: Paweł Bylica <chfast@gmail.com> * Update src/ethereum_test_forks/base_fork.py Co-authored-by: Paweł Bylica <chfast@gmail.com> * Update src/ethereum_test_forks/forks/forks.py Co-authored-by: Paweł Bylica <chfast@gmail.com> * feat(tests): fix type error complaints * feat(tests): make tests dependent on MAX_CODE_SIZE now depend on the fork-based max code size * feat(tests): use a more logical gas limit formula for contract deployment * feat(tests): default (init)code size limit to first limit set * feat(tests): remove EIP 7907 from Osaka * feat(tests): make typecheck happy * feat(tests): do not use fallback for code size being returned `None` anymore * feat(tests): read code size from forks from newly added tests after rebase * Update tests/zkevm/test_worst_bytecode.py Co-authored-by: Mario Vega <marioevz@gmail.com> * feat(tests): insert max_code_size for modarith zkevm test --------- Co-authored-by: Paweł Bylica <chfast@gmail.com> Co-authored-by: Mario Vega <marioevz@gmail.com>
|
Checking hasher then will merge afterwards. |
|
Root hashes are the same between filling from EELS on this branch and with EEST. |
…e_size()` from fork config (ethereum#1649) * feat(forks): introduce max code size / max initcode size * feat(tests): read max code size from fork / scale gas limit as appropriate for test * Update src/ethereum_test_forks/base_fork.py Co-authored-by: Paweł Bylica <chfast@gmail.com> * Update src/ethereum_test_forks/base_fork.py Co-authored-by: Paweł Bylica <chfast@gmail.com> * Update src/ethereum_test_forks/forks/forks.py Co-authored-by: Paweł Bylica <chfast@gmail.com> * feat(tests): fix type error complaints * feat(tests): make tests dependent on MAX_CODE_SIZE now depend on the fork-based max code size * feat(tests): use a more logical gas limit formula for contract deployment * feat(tests): default (init)code size limit to first limit set * feat(tests): remove EIP 7907 from Osaka * feat(tests): make typecheck happy * feat(tests): do not use fallback for code size being returned `None` anymore * feat(tests): read code size from forks from newly added tests after rebase * Update tests/zkevm/test_worst_bytecode.py Co-authored-by: Mario Vega <marioevz@gmail.com> * feat(tests): insert max_code_size for modarith zkevm test --------- Co-authored-by: Paweł Bylica <chfast@gmail.com> Co-authored-by: Mario Vega <marioevz@gmail.com>
…e_size()` from fork config (ethereum#1649) * feat(forks): introduce max code size / max initcode size * feat(tests): read max code size from fork / scale gas limit as appropriate for test * Update src/ethereum_test_forks/base_fork.py Co-authored-by: Paweł Bylica <chfast@gmail.com> * Update src/ethereum_test_forks/base_fork.py Co-authored-by: Paweł Bylica <chfast@gmail.com> * Update src/ethereum_test_forks/forks/forks.py Co-authored-by: Paweł Bylica <chfast@gmail.com> * feat(tests): fix type error complaints * feat(tests): make tests dependent on MAX_CODE_SIZE now depend on the fork-based max code size * feat(tests): use a more logical gas limit formula for contract deployment * feat(tests): default (init)code size limit to first limit set * feat(tests): remove EIP 7907 from Osaka * feat(tests): make typecheck happy * feat(tests): do not use fallback for code size being returned `None` anymore * feat(tests): read code size from forks from newly added tests after rebase * Update tests/zkevm/test_worst_bytecode.py Co-authored-by: Mario Vega <marioevz@gmail.com> * feat(tests): insert max_code_size for modarith zkevm test --------- Co-authored-by: Paweł Bylica <chfast@gmail.com> Co-authored-by: Mario Vega <marioevz@gmail.com>
🗒️ Description
Updates
packages/testsandsrc/testswith the ruff line length of 79 (and other ruff related changes).Note
uvx --with=tox-uv tox -e staticpasses mypy/ruff now!Closes ethereum/execution-spec-tests#2199
🔗 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 statictype(scope):.Cute Animal Picture