Skip to content

v0.3.0

Latest
Compare
Choose a tag to compare
@ldg-github-ci ldg-github-ci released this 10 Jan 14:21
· 1 commit to refs/heads/main since this release
e237dd7

⚠️ Breaking changes

erc7730.generate.generate_descriptor interface change: method now expects either string or bytes rather than path. Path should be resolved by caller.

Migration guide:

generate_descriptor(chain_id=..., contract_address=..., abi_file="/path/to/abi.json")

Should be replaced by:

with open("/path/to/abi.json", "rb") as f:
   generate_descriptor(chain_id=..., contract_address=..., abi=f.read())

CLI is unchanged.

🛠️ Dependency updates