Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

EIP 2542 - add TXGASLIMIT, CALLGASLIMIT opcodes #2542

Merged
merged 2 commits into from
Mar 23, 2020

Conversation

forshtat
Copy link
Contributor

@forshtat forshtat commented Feb 28, 2020

During our work on the Gas Station Network we have encountered a problem with the way such concepts as gas limit and gas refund are somewhat hidden from smart contracts. With the current EVM, the core GSN smart contract (RelayHub) is not able to precisely track the gas usage by a transaction due to these limitations.

Exposing such parameters as transaction gas limit, current execution frame gas limit, and current refund counter is an extremely simple and useful improvement to the EVM.

@forshtat forshtat force-pushed the master branch 2 times, most recently from 038dffe to a3f6589 Compare February 28, 2020 13:10
@forshtat forshtat changed the title TXGASLIMIT, CALLGASLIMIT, TXGASREFUND opcodes EIP 2542 - add TXGASLIMIT, CALLGASLIMIT, TXGASREFUND opcodes Feb 28, 2020
@forshtat forshtat changed the title EIP 2542 - add TXGASLIMIT, CALLGASLIMIT, TXGASREFUND opcodes EIP 2542 - add TXGASLIMIT, CALLGASLIMIT opcodes Mar 22, 2020
@Souptacular Souptacular merged commit 9e3ab0a into ethereum:master Mar 23, 2020
pizzarob pushed a commit to pizzarob/EIPs that referenced this pull request Jun 12, 2020
* Create EIP 2542 - TXGASLIMIT, CALLGASLIMIT, TXGASREFUND opcodes

* Remove TXGASREFUND from EIP; add 'Forwards Compatibility', 'Security considerations'
tkstanczak pushed a commit to tkstanczak/EIPs that referenced this pull request Nov 7, 2020
* Create EIP 2542 - TXGASLIMIT, CALLGASLIMIT, TXGASREFUND opcodes

* Remove TXGASREFUND from EIP; add 'Forwards Compatibility', 'Security considerations'
Arachnid pushed a commit to Arachnid/EIPs that referenced this pull request Mar 6, 2021
* Create EIP 2542 - TXGASLIMIT, CALLGASLIMIT, TXGASREFUND opcodes

* Remove TXGASREFUND from EIP; add 'Forwards Compatibility', 'Security considerations'
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.

2 participants