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

Extending KEVM configuration with <wordStackSize> #2628

Draft
wants to merge 12 commits into
base: master
Choose a base branch
from

Conversation

PetarMax
Copy link
Contributor

This PR introduces a <wordStackSize> cell into the EVM configuration, which holds the size of the word stack. This should remove the need to continuously compute the size of the word stack, which is both recursive and cannot be done using the LLVM backend if any of the elements of the word stack are symbolic.

What needs to be done carefully in this change is to preserve the invariant that having

<wordStack> WS </wordStack>
<wordStackSize> WSSize </wordStackSize>

means that WSSize ==Int #sizeWordStack(WS).

@PetarMax PetarMax added the enhancement New feature or request label Sep 20, 2024
@PetarMax PetarMax self-assigned this Sep 20, 2024
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

Successfully merging this pull request may close these issues.

1 participant