Skip to content

feat(gas): compute cold_storage_cost from components#3354

Open
saylor-mik87786 wants to merge 1 commit intobluealloy:mainfrom
saylor-mik87786:feat/gas-params-cold-storage-helper
Open

feat(gas): compute cold_storage_cost from components#3354
saylor-mik87786 wants to merge 1 commit intobluealloy:mainfrom
saylor-mik87786:feat/gas-params-cold-storage-helper

Conversation

@saylor-mik87786
Copy link
Contributor

Closes #3342

Change cold_storage_cost() to compute the value from warm_storage_read_cost() + cold_storage_additional_cost() instead of reading directly from the table. This makes the calculation more explicit and maintainable.

@codspeed-hq
Copy link

codspeed-hq bot commented Jan 27, 2026

CodSpeed Performance Report

Merging this PR will not alter performance

Comparing saylor-mik87786:feat/gas-params-cold-storage-helper (57a9a4b) with main (087ac46)

Summary

✅ 173 untouched benchmarks

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.

Helper for GasParams cold_storage_cost()

1 participant