feat(execute): Mainnet marked tests#1511
Conversation
|
Would it be better to add the mainnet marks on a per test case basis? pytest.param(
Spec.G1ADD,
Spec.G1 + Spec.INF_G1,
Spec.G1,
None,
id="G1ADD",
marks=[pytest.mark.mainnet]
), |
454978e to
c47b047
Compare
|
@marioevz I removed the EIP spec version checker from |
869737e to
3274eb2
Compare
I'm still wondering if the above is worthwhile. Alternatively we could make execute/fill ignore the mainnet marker by default? |
The only thing I like from keeping them separate is that we can focus on optimizing these tests for gas in order for them to not consume a lot of real Eth when executed. E.g. let's say we mark a test as a mainnet test and afterwards, in a different PR, we inadvertently modify the test to cover a different case and it ends up using much more gas. It's unlikely but I like the separation. We could indeed make it so that |
* feat(plugins/shared): Add "mainnet" marker * new(tests): EIP-2537 mainnet tests * fix(tests): EIP-2537 file rename * new(tests): EIP-2935 mainnet tests * new(tests): EIP-7623 mainnet tests * new(tests): EIP-6110 mainnet tests * fix(tests): EIP-7623 * new(tests): EIP-7002,7251 mainnet tests * new(tests): EIP-7702: Mainnet tests * fix(tests): tox on EIP-7623 * fix(tests): EIP-7702, extra parametrization * fix(tests): fix small copy-paste error that caused unknown fixture error * fixup: Remove env from all tests --------- Co-authored-by: danceratopz <danceratopz@gmail.com>
🗒️ Description
Mark a subset of prague tests as mainnet-sanity tests.
The idea behind this PR is to:
uv run execute remote --fork=Prague -m mainnet ....uv run fill --fork=Prague -m mainnet --collect-onlyfor reference.🔗 Related Issues
✅ Checklist
mkdocs servelocally and verified the auto-generated docs for new tests in the Test Case Reference are correctly formatted.