refactor(levm): use more descriptive names when popping call_frame #2730
Merged
Conversation
Lines of code reportTotal lines added: Detailed view |
Benchmark Results ComparisonPR ResultsBenchmark Results: Factorial
Benchmark Results: Factorial - Recursive
Benchmark Results: Fibonacci
Benchmark Results: ManyHashes
Benchmark Results: BubbleSort
Benchmark Results: ERC20 - Transfer
Benchmark Results: ERC20 - Mint
Benchmark Results: ERC20 - Approval
Main ResultsBenchmark Results: Factorial
Benchmark Results: Factorial - Recursive
Benchmark Results: Fibonacci
Benchmark Results: ManyHashes
Benchmark Results: BubbleSort
Benchmark Results: ERC20 - Transfer
Benchmark Results: ERC20 - Mint
Benchmark Results: ERC20 - Approval
|
JereSalo
approved these changes
May 12, 2025
mpaulucci
approved these changes
May 12, 2025
fmoletta
pushed a commit
that referenced
this pull request
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
pedrobergamini
pushed a commit
to pedrobergamini/ethrex
that referenced
this pull request
Aug 24, 2025
…ambdaclass#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 lambdaclass#111, Resolves lambdaclass#222 --> Closes lambdaclass#2569
edg-l
added a commit
that referenced
this pull request
Apr 22, 2026
Migrate Amsterdam support from bal@v5.6.1 to bal@v5.7.0 (eels_commit 524b44617e410ab21b5122f0be5113b62a0e76ee, devnets/bal/4). - EIP-7928 (PR #2730): widen BAL index from u16 to u32 across StorageChange/CodeChange/BalanceChange/NonceChange, recorder, checkpoint, BalAddressIndex and all helpers. - EIP-8037 (PR #2687): dynamic cost_per_state_byte derived from block gas limit. New VM fields for per-block state-gas costs, gated by Fork::Amsterdam. 120M block gas keeps cpsb = 1174. - EIP-8037 (PRs #2698, #2733): SSTORE 0->N->0 reservoir refill via clamp-and-spill; per-frame state_gas_refund absorbed on success, discarded on revert; remainder spills to VM-level pending reservoir. - EIP-7976: calldata floor raised from 10 to 16 gas per token (Amsterdam-gated), with unweighted token count per spec. - EIP-7981: access-list data bytes (20/addr, 32/key) folded into floor-token count; applies in both regular and floor arms; mempool intrinsic-gas path mirrored. - EIP-8037 (PR #2689): top-level tx failure zeroes execution state_gas_used and refunds the reservoir; intrinsic state gas preserved. Routed through refund_sender. - EIP-7708 (PR #2717): audit confirmed invariants (lex-ordered burn logs, no coinbase priority-fee log, SELFDESTRUCT-dest coalescing) already held; added regression tests. - EIP-8037 (PR #2595): audit confirmed code-deposit state-gas discard on both oversized-code and deposit-OOG halts; added regression tests. Infra: .fixtures_url_amsterdam, Makefile, hive config and docs bumped to bal@v5.7.0 / devnets/bal/4. Tests: 185 levm tests green; new files cover EIP-8037 CPSB, refund clamp-and-spill, top-level reset, code-deposit discard, and combined EIP-7976+7981 scenarios.
4 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Motivation
Give a better description of call_frame related variables in run_execution().
Description
executed_call_framein scenarios in which the callframe has already been executed.parent_call_framein scenarios in which a callframe has been popped before, to we are working with the previous one.Closes #2569