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

Compile time ABI encoding of constant values #1451

Open
xermicus opened this issue Jul 20, 2023 · 0 comments
Open

Compile time ABI encoding of constant values #1451

xermicus opened this issue Jul 20, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@xermicus
Copy link
Contributor

We should ABI encode compile time constant values at compile time. I had to work around this in #1449 for error data.

However it is not entirely clear yet how this will work. The following thoughts are extracted from a discussion in chat:

We thought of either adding a generic abi.encode instruction and resolving it later or simply adding markers to each instruction in the CFG so that we could identify that they belong to an encoding.

Depends on #1450

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

No branches or pull requests

2 participants
@xermicus and others