Skip to content

LEVM: Change name when popping call_frame to something more descriptive #2569

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

Closed
JereSalo opened this issue Apr 24, 2025 · 0 comments · Fixed by #2730
Closed

LEVM: Change name when popping call_frame to something more descriptive #2569

JereSalo opened this issue Apr 24, 2025 · 0 comments · Fixed by #2730
Assignees
Labels
L1 Ethereum client levm Lambda EVM implementation

Comments

@JereSalo
Copy link
Contributor

After #2417 is merged

In run_execution of LEVM when we pop a callframe for handling the execution result the name of call_frame isn't very descriptive neither there nor inside the functions that take callframe as parameter.
I think that maybe executed_call_frame would be a more reasonable name. And also, the current callframe in that context could be called parent_call_frame (or not, current_call_frame is good enough I'd say).

@JereSalo JereSalo added levm Lambda EVM implementation L1 Ethereum client labels Apr 24, 2025
@DiegoCivi DiegoCivi self-assigned this May 9, 2025
github-merge-queue bot pushed a commit that referenced this issue May 12, 2025
…2730)

**Motivation**

Give a better description of call_frame related variables in
run_execution().

**Description**

- Use `executed_call_frame` in scenarios in which the callframe has
already been executed.
- Use `parent_call_frame` in scenarios in which a callframe has been
popped before, to we are working with the previous one.

<!-- Link to issues: Resolves #111, Resolves #222 -->

Closes #2569
fmoletta pushed a commit that referenced this issue May 15, 2025
…2730)

**Motivation**

Give a better description of call_frame related variables in
run_execution().

**Description**

- Use `executed_call_frame` in scenarios in which the callframe has
already been executed.
- Use `parent_call_frame` in scenarios in which a callframe has been
popped before, to we are working with the previous one.

<!-- Link to issues: Resolves #111, Resolves #222 -->

Closes #2569
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
L1 Ethereum client levm Lambda EVM implementation
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

2 participants