Skip to content

chore(perf): do not request for latest block number, reuse env#116

Merged
Evalir merged 1 commit into
mainfrom
evalir/remove-useless-req
Jun 20, 2025
Merged

chore(perf): do not request for latest block number, reuse env#116
Evalir merged 1 commit into
mainfrom
evalir/remove-useless-req

Conversation

@Evalir

@Evalir Evalir commented Jun 20, 2025

Copy link
Copy Markdown
Member

No description provided.

Evalir commented Jun 20, 2025

Copy link
Copy Markdown
Member Author

This stack of pull requests is managed by Graphite. Learn more about stacking.

@Evalir Evalir marked this pull request as ready for review June 20, 2025 15:27
@Evalir Evalir requested a review from dylanlott as a code owner June 20, 2025 15:27
@Evalir Evalir merged commit 1dbd87b into main Jun 20, 2025
6 checks passed
@Evalir Evalir deleted the evalir/remove-useless-req branch June 20, 2025 15:27
dylanlott added a commit that referenced this pull request Jun 23, 2025
#119)

# fix(sim): use previous block number for creating alloy db in simulator

PR #116 introduced a logic change that reused the block number from the `block_env` to fetch the state for the alloy DB instance, which results in querying for state of a block number that doesn't exist.

This commit reduces that number by 1 to correctly create the AlloyDB state from the previous block instead of the in-progress block.
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.

2 participants