diff --git a/src/erc7730/model/context.py b/src/erc7730/model/context.py index 5f0851f..e5be447 100644 --- a/src/erc7730/model/context.py +++ b/src/erc7730/model/context.py @@ -34,7 +34,7 @@ class AbiParameter(BaseLibraryModel): internalType: Optional[str] = None components: Optional[list[ForwardRef('AbiParameter')]] = None # type: ignore AbiParameter.model_rebuild() -""" todo: use AbiParameter instead of BaseLibraryModel type """ +# todo: use AbiParameter instead of BaseLibraryModel type class AbiJsonSchema(BaseLibraryModel): name: str diff --git a/tests/src/erc7730/test_datamodel.py b/tests/src/erc7730/test_datamodel.py index 3db2c6e..fc42366 100644 --- a/tests/src/erc7730/test_datamodel.py +++ b/tests/src/erc7730/test_datamodel.py @@ -9,4 +9,3 @@ @pytest.mark.parametrize("file", files) def test_from_erc7730(file: str) -> None: assert model_from_json_file_or_none(Path(file), ERC7730Descriptor) is not None -