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

llvm-context: remove the linear memory pointer indirection #211

Merged
merged 2 commits into from
Feb 13, 2025
Merged

Conversation

xermicus
Copy link
Member

Since we are emulating the EVM linear memory heap anyways we can access it directly. Fixes a bug in the old logic as a side effect. Drive-by fixes a missing integer truncate.

Closes #195
Closes #203

Signed-off-by: xermicus <cyrill@parity.io>
Signed-off-by: xermicus <cyrill@parity.io>
@xermicus xermicus merged commit cb26885 into main Feb 13, 2025
6 checks passed
@xermicus xermicus deleted the cl/memory branch February 13, 2025 12:21
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

Successfully merging this pull request may close these issues.

mload(0) has different values in solc. OutOfBounds error with openzeppelin ERC20 example
1 participant