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

feat(levm): initialize cache with sender, recipient and coinbase accounts #1114

Open
wants to merge 2 commits into
base: levm_fixes
Choose a base branch
from

Conversation

JereSalo
Copy link
Contributor

@JereSalo JereSalo commented Nov 7, 2024

Motivation

Description

As stated in evm.codes, this PR initializes the cache with the corresponding addresses. (Without implementing yet the concept of an Access List transaction)

Notes: Our Cache struct replaces the need for a Substate that keeps warm addresses and storage slots because we know that if an account or storage slot is in our cache then it is already warm.

Closes #1088

@JereSalo JereSalo added the levm Lambda EVM implementation label Nov 7, 2024
@JereSalo JereSalo changed the base branch from main to levm_fixes November 7, 2024 18:54
@JereSalo JereSalo marked this pull request as ready for review November 7, 2024 20:14
@JereSalo JereSalo requested a review from a team as a code owner November 7, 2024 20:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
levm Lambda EVM implementation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

LEVM: Substate and Cache should be initialized with the right values
1 participant