You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The cost of an SSTORE dependends on the existing value and the value to be stored:
Zero vs. nonzero values - storing nonzero values is more costly than storing zero
The current value of the slot vs. the value to store - changing the value of a slot is more costly than not changing it
"Dirty" vs. "clean" slot - changing a slot that has not yet been changed within the current execution context is more costly than changing a slot that has already been changed
Consider this as each SSTORE will always require loading the value first to estimate the gas price. Should there be a bloom filter or something?
The text was updated successfully, but these errors were encountered:
The cost of an
SSTORE
dependends on the existing value and the value to be stored:Consider this as each SSTORE will always require loading the value first to estimate the gas price. Should there be a bloom filter or something?
The text was updated successfully, but these errors were encountered: