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

Encoding of mixed dynamic/fixed arguments fails #45

Open
markspanbroek opened this issue Jan 10, 2022 · 0 comments
Open

Encoding of mixed dynamic/fixed arguments fails #45

markspanbroek opened this issue Jan 10, 2022 · 0 comments

Comments

@markspanbroek
Copy link
Member

Using both FixedBytes and DynamicBytes arguments in a function call doesn't work due to an incorrect encoding.

For example, calling this solidity function will trigger an incorrect encoding:

function mixedArguments(uint integer, bytes32 fixedbytes, address addr, bytes memory dynamicbytes)

For more details, a failing test scenario, and inspiration on how to fix, please see #44.

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