Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

functions to support any Sequence when they take a vector as an input #144

Open
dpaiton opened this issue Oct 17, 2024 · 0 comments
Open

Comments

@dpaiton
Copy link
Member

dpaiton commented Oct 17, 2024

Currently functions require a list input when the solidity type is a vector. We should be able to support any Sequence. For example:

hyperdrive_infos = registry_contract.functions.getInstanceInfosWithMetadata(list(hyperdrive_addresses)).call()

ideally we could remove the list() cast.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant