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

Avoid mutating state if accounts have not been updated #2412

Merged
merged 1 commit into from
Feb 28, 2025

Conversation

JamesHinshelwood
Copy link
Collaborator

When applying EVM state deltas, we use the 'touched' flag to track if an account has been updated by an executed transaction.

We also add a similar flag to Scilla state deltas for the same purpose.

When applying EVM state deltas, we use the 'touched' flag to
track if an account has been updated by an executed transaction.

We also add a similar flag to Scilla state deltas for the same
purpose.
Copy link
Contributor

🐰 Bencher Report

Branchdelta-touched
Testbedself-hosted
Click to view all benchmark results
BenchmarkLatencyBenchmark Result
milliseconds (ms)
(Result Δ%)
Upper Boundary
milliseconds (ms)
(Limit %)
full-blocks-erc20-transfers/full-blocks-erc20-transfers📈 view plot
🚷 view threshold
976.68 ms
(-13.38%)Baseline: 1,127.59 ms
1,492.50 ms
(65.44%)
full-blocks-evm-transfers/full-blocks-evm-transfers📈 view plot
🚷 view threshold
381.39 ms
(-7.38%)Baseline: 411.76 ms
491.41 ms
(77.61%)
full-blocks-zil-transfers/full-blocks-zil-transfers📈 view plot
🚷 view threshold
3,299.10 ms
(-15.92%)Baseline: 3,923.78 ms
5,428.68 ms
(60.77%)
process-empty/process-empty📈 view plot
🚷 view threshold
9.83 ms
(-1.17%)Baseline: 9.95 ms
11.21 ms
(87.73%)
🐰 View full continuous benchmarking report in Bencher

@JamesHinshelwood JamesHinshelwood added this pull request to the merge queue Feb 28, 2025
Merged via the queue into main with commit 1505553 Feb 28, 2025
6 checks passed
@JamesHinshelwood JamesHinshelwood deleted the delta-touched branch February 28, 2025 05:47
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.

None yet

2 participants