mirror of https://github.com/status-im/EIPs.git
Automatically merged updates to draft EIP(s) 1087
Hi, I'm a bot! This change was automatically merged because: - It only modifies existing Draft or Last Call EIP(s) - The PR was approved or written by at least one author of each modified EIP - The build is passing
This commit is contained in:
parent
a14968b64e
commit
abc1fc321c
|
@ -39,7 +39,7 @@ The following changes are made to the EVM:
|
||||||
- At the end of the transaction, for each slot in the dirty map:
|
- At the end of the transaction, for each slot in the dirty map:
|
||||||
- If the slot was 0 before the transaction and is 0 now, refund 19800 gas.
|
- If the slot was 0 before the transaction and is 0 now, refund 19800 gas.
|
||||||
- If the slot was nonzero before the transaction and its value has not changed, refund 4800 gas.
|
- If the slot was nonzero before the transaction and its value has not changed, refund 4800 gas.
|
||||||
- If the slot was nonzero before the transaction and is 0 now, refund 10000 gas.
|
- If the slot was nonzero before the transaction and is 0 now, refund 15000 gas.
|
||||||
|
|
||||||
After these changes, transactions that make only a single change to a storage slot will retain their existing costs. However, contracts that make multiple changes will see significantly reduced costs. Repeating the examples from the Motivation section:
|
After these changes, transactions that make only a single change to a storage slot will retain their existing costs. However, contracts that make multiple changes will see significantly reduced costs. Repeating the examples from the Motivation section:
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue