Automatically merged updates to draft EIP(s) 3322 (#3411)

Hi, I'm a bot! This change was automatically merged because:

 - It only modifies existing Draft, Review, 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:
William Morriss 2021-03-17 18:06:47 -07:00 committed by GitHub
parent 1b7b2a2671
commit 07eb837030
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -27,12 +27,12 @@ Contract accounts gain an unsigned gas refund counter, initially zero.
Three new opcodes are introduced to manage this state.
* `SELFGAS` (`0x48`): Pushes the current account's gas refund counter onto the stack.
* `SELFGAS` (`0x49`): Pushes the current account's gas refund counter onto the stack.
Shares gas pricing with `SELFBALANCE`.
* `USEGAS` (`0x49`): Pops `amount` from the stack.
* `USEGAS` (`0x4a`): Pops `amount` from the stack.
The minimum of `amount` and the current account's gas refund counter is transferred to the execution context's refund counter.
Costs `5000` gas.
* `STOREGAS` (`0x4a`): Pops `amount` from the stack.
* `STOREGAS` (`0x4b`): Pops `amount` from the stack.
Costs `5000 + amount` gas.
Increases the current account's gas refund counter by `amount`.