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

Fix or improve error message vulcan.fmt._readSlice(bytes,uint256,uint256): Slice out of bounds #188

Open
vdrg opened this issue Sep 6, 2023 · 2 comments

Comments

@vdrg
Copy link
Contributor

vdrg commented Sep 6, 2023

Reproduce:

bytes32 a = bytes32("hello");
// a is not bytes so this happens
println("{b}", abi.encode(a));

We need to decide if we want to handle this in some way or just provide a better error message with suggestions.

@vdrg
Copy link
Contributor Author

vdrg commented Oct 20, 2023

@gnkz should we close this?

@gnkz
Copy link
Contributor

gnkz commented Oct 20, 2023

@gnkz should we close this?

Not yet, will work on this soon

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

No branches or pull requests

2 participants