Skip to content

refactor(context-interface): deduplicate SSTORE refund sync in GasParams#3523

Open
anim001k wants to merge 1 commit intobluealloy:mainfrom
anim001k:patch-9
Open

refactor(context-interface): deduplicate SSTORE refund sync in GasParams#3523
anim001k wants to merge 1 commit intobluealloy:mainfrom
anim001k:patch-9

Conversation

@anim001k
Copy link
Copy Markdown
Contributor

  • deduplicate the sstore_set_refund / sstore_reset_refund synchronization in GasParams::new_spec_inner
  • move the shared logic into a small private helper so refund slots stay aligned with the corresponding SSTORE cost slots
  • keep behavior unchanged while reducing the chance of future drift when SSTORE gas values are updated

@codspeed-hq
Copy link
Copy Markdown

codspeed-hq Bot commented Mar 25, 2026

Merging this PR will not alter performance

✅ 176 untouched benchmarks


Comparing anim001k:patch-9 (23e9163) with main (3890cfa)

Open in CodSpeed

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.

1 participant