Skip to content

Commit

Permalink
Merge branch 'main' into open-source
Browse files Browse the repository at this point in the history
  • Loading branch information
jnicoulaud-ledger authored Oct 10, 2024
2 parents 0a336e4 + ff04db2 commit f529a7b
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 5 deletions.
2 changes: 0 additions & 2 deletions src/erc7730/lint/lint_validate_display_fields.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@ def _validate_eip712_paths(cls, descriptor: ResolvedERC7730Descriptor, out: Outp
excluded = primary_type_format.excluded or []

for path in eip712_paths - format_paths:

allowed = False
for excluded_path in excluded:
if path.startswith(excluded_path):
Expand Down Expand Up @@ -128,7 +127,6 @@ def _validate_abi_paths(cls, descriptor: ResolvedERC7730Descriptor, out: OutputA
function = cls._display(selector, keccak)

for path in abi_paths - format_paths:

allowed = False
for excluded_path in excluded:
if path.startswith(excluded_path):
Expand Down
3 changes: 0 additions & 3 deletions tests/model/test_model_serialization.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,6 @@ def test_schema(input_file: Path) -> None:
"""Test model serializes to JSON that matches the schema."""
assert_valid_erc_7730(InputERC7730Descriptor.load(input_file))

def test_poap() -> None:
"""Test model serializes to JSON that matches the schema."""
InputERC7730Descriptor.load(Path("/home/jnicoulaud/work/ledger/backend/cal/python-erc7730/python-erc7730-1/tests/registries/clear-signing-erc7730-registry/registry/poap/calldata-PoapBridge.json"))

@pytest.mark.parametrize("input_file", ERC7730_DESCRIPTORS, ids=path_id)
def test_round_trip(input_file: Path) -> None:
Expand Down

0 comments on commit f529a7b

Please sign in to comment.