diff --git a/src/ethereum/forks/bogota/transactions/frame_transaction.py b/src/ethereum/forks/bogota/transactions/frame_transaction.py index 52f78f1242e..a55d081bcbf 100644 --- a/src/ethereum/forks/bogota/transactions/frame_transaction.py +++ b/src/ethereum/forks/bogota/transactions/frame_transaction.py @@ -91,10 +91,12 @@ class FrameMode(UintEnum, boundary=STRICT): """ Indicates the purpose of a [`Frame`]. - The strict boundary rejects values other than the modes defined here as - the enum is constructed — notably while decoding a transaction — so a - frame with an undefined mode never decodes and no separate validity - check is required. + The members below are the only valid modes. The strict boundary rejects + any other value as the enum is constructed — notably while decoding a + transaction — so a frame with an undefined mode never decodes and no + separate validity check is required. An EIP that extends frame + transactions with a new mode adds a member here; it does not change how + the existing members are checked. [`Frame`]: ref:ethereum.forks.bogota.transactions.frame_transaction.Frame """ # noqa: E501 diff --git a/tests/bogota/eip8141_frame_transactions/spec.py b/tests/bogota/eip8141_frame_transactions/spec.py index 6541b949441..6051bc8a61b 100644 --- a/tests/bogota/eip8141_frame_transactions/spec.py +++ b/tests/bogota/eip8141_frame_transactions/spec.py @@ -14,7 +14,7 @@ class ReferenceSpec: ref_spec_8141 = ReferenceSpec( - "EIPS/eip-8141.md", "d0d1d86b67e65dc8e8bf504eb3b2f1e9198f8212" + "EIPS/eip-8141.md", "4e73f1e1f0fdc096d4810f33f0ee977132ecf145" )