Skip to content

Commit ff86e3f

Browse files
pdobaczmarioevzgumb0
authored
fix(tests): EOF - Change kind_data from 0x04 to 0xff (#1339)
Co-authored-by: Mario Vega <marioevz@gmail.com> Co-authored-by: Andrei Maiboroda <andrei@ethereum.org>
1 parent a7a4e95 commit ff86e3f

File tree

13 files changed

+270
-272
lines changed

13 files changed

+270
-272
lines changed

src/ethereum_test_tools/eof/v1/__init__.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
"""Mirror module to import `ethereum_test_types.eof.v1`."""
22

33
from ethereum_test_types.eof.v1 import (
4-
VERSION_MAX_SECTION_KIND,
54
AutoSection,
65
Container,
76
ContainerKind,
@@ -11,7 +10,6 @@
1110
)
1211

1312
__all__ = (
14-
"VERSION_MAX_SECTION_KIND",
1513
"AutoSection",
1614
"Container",
1715
"ContainerKind",

src/ethereum_test_types/eof/v1/__init__.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,16 +31,14 @@
3131
VERSION_NUMBER_BYTES,
3232
)
3333

34-
VERSION_MAX_SECTION_KIND = 3
35-
3634

3735
class SectionKind(IntEnum):
3836
"""Enum class of V1 valid section kind values."""
3937

4038
TYPE = 1
4139
CODE = 2
4240
CONTAINER = 3
43-
DATA = 4
41+
DATA = 0xFF
4442

4543
def __str__(self) -> str:
4644
"""Return string representation of the section kind."""

0 commit comments

Comments
 (0)