Skip to content

Commit 0719517

Browse files
raxhvlfselmo
andauthored
📄 docs(tests): Update EIP-7928 test case document to include no-op and OOG (#2116)
* ✨ feat: Missed noop, new oog test casses * 📄 docs(tests): OOG 7702 * 🧹 chore: Better grouping * fix: issues with lint on main --------- Co-authored-by: raxhvl <[email protected]> Co-authored-by: fselmo <[email protected]>
1 parent 61d5423 commit 0719517

File tree

8 files changed

+37
-20
lines changed

8 files changed

+37
-20
lines changed

tests/amsterdam/eip7928_block_level_access_lists/test_cases.md

Lines changed: 22 additions & 4 deletions
Large diffs are not rendered by default.

tests/prague/eip2537_bls_12_381_precompiles/test_eip_mainnet.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
"""
2-
abstract: Crafted tests for mainnet of [EIP-2537: Precompile for BLS12-381 curve operations](https://eips.ethereum.org/EIPS/eip-2537)
3-
Crafted tests for mainnet of [EIP-2537: Precompile for BLS12-381 curve operations](https://eips.ethereum.org/EIPS/eip-2537).
2+
abstract: Crafted tests for mainnet of
3+
[EIP-2537: Precompile for BLS12-381 curve operations](https://eips.ethereum.org/EIPS/eip-2537).
44
""" # noqa: E501
55

66
import pytest

tests/prague/eip2935_historical_block_hashes_from_state/test_eip_mainnet.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
"""
2-
abstract: Crafted tests for mainnet of [EIP-2935: Serve historical block hashes from state](https://eips.ethereum.org/EIPS/eip-2935)
3-
Crafted tests for mainnet of [EIP-2935: Serve historical block hashes from state](https://eips.ethereum.org/EIPS/eip-2935).
2+
abstract: Crafted tests for mainnet of
3+
[EIP-2935: Serve historical block hashes from state](https://eips.ethereum.org/EIPS/eip-2935).
44
""" # noqa: E501
55

66
import pytest

tests/prague/eip6110_deposits/test_eip_mainnet.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
"""
2-
abstract: Crafted tests for mainnet of [EIP-6110: Supply validator deposits on chain](https://eips.ethereum.org/EIPS/eip-6110)
3-
Crafted tests for mainnet of [EIP-6110: Supply validator deposits on chain](https://eips.ethereum.org/EIPS/eip-6110).
2+
abstract: Crafted tests for mainnet of [EIP-6110: Supply validator deposits on chain](https://eips.ethereum.org/EIPS/eip-6110).
43
""" # noqa: E501
54

65
from typing import List
@@ -28,7 +27,8 @@
2827
pytest.param(
2928
[
3029
DepositTransaction(
31-
# TODO: Use a real public key to allow recovery of the funds.
30+
# TODO: Use a real public key to allow recovery of
31+
# the funds.
3232
requests=[
3333
DepositRequest(
3434
pubkey=0x01,

tests/prague/eip7002_el_triggerable_withdrawals/test_eip_mainnet.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
"""
2-
abstract: Crafted tests for mainnet of [EIP-7002: Execution layer triggerable withdrawals](https://eips.ethereum.org/EIPS/eip-7002)
3-
Crafted tests for mainnet of [EIP-7002: Execution layer triggerable withdrawals](https://eips.ethereum.org/EIPS/eip-7002).
2+
abstract: Crafted tests for mainnet of [EIP-7002: Execution layer triggerable withdrawals](https://eips.ethereum.org/EIPS/eip-7002).
43
""" # noqa: E501
54

65
from typing import List

tests/prague/eip7251_consolidations/test_eip_mainnet.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
"""
2-
abstract: Crafted tests for mainnet of [EIP-7251: Increase the MAX_EFFECTIVE_BALANCE](https://eips.ethereum.org/EIPS/eip-7251)
3-
Crafted tests for mainnet of [EIP-7251: Increase the MAX_EFFECTIVE_BALANCE](https://eips.ethereum.org/EIPS/eip-7251).
2+
abstract: Crafted tests for mainnet of [EIP-7251: Increase the MAX_EFFECTIVE_BALANCE](https://eips.ethereum.org/EIPS/eip-7251).
43
""" # noqa: E501
54

65
from typing import List

tests/prague/eip7623_increase_calldata_cost/test_eip_mainnet.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
"""
2-
abstract: Crafted tests for mainnet of [EIP-7623: Increase calldata cost](https://eips.ethereum.org/EIPS/eip-7623)
3-
Crafted tests for mainnet of [EIP-7623: Increase calldata cost](https://eips.ethereum.org/EIPS/eip-7623).
2+
abstract: Crafted tests for mainnet of [EIP-7623: Increase calldata cost](https://eips.ethereum.org/EIPS/eip-7623).
43
""" # noqa: E501
54

65
import pytest
@@ -98,7 +97,10 @@ def test_eip_7623(
9897
pre: Alloc,
9998
tx: Transaction,
10099
) -> None:
101-
"""Test transaction validity for transactions without access lists and contract creation."""
100+
"""
101+
Test transaction validity for transactions without access lists
102+
and contract creation.
103+
"""
102104
state_test(
103105
pre=pre,
104106
post={},

tests/prague/eip7702_set_code_tx/test_eip_mainnet.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
"""
2-
abstract: Crafted tests for mainnet of [EIP-7702: Set EOA account code for one transaction](https://eips.ethereum.org/EIPS/eip-7702)
3-
Crafted tests for mainnet of [EIP-7702: Set EOA account code for one transaction](https://eips.ethereum.org/EIPS/eip-7702).
2+
abstract: Crafted tests for mainnet of [EIP-7702: Set EOA account code for one transaction](https://eips.ethereum.org/EIPS/eip-7702).
43
""" # noqa: E501
54

65
import pytest

0 commit comments

Comments
 (0)