-
Notifications
You must be signed in to change notification settings - Fork 5.3k
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-1109: Remove call costs for precompiled contracts #1109
Conversation
EIPS/eip-1109.md
Outdated
eip: 1109 | ||
title: Remove CALL costs for precompiled contracts | ||
author: Jordi Baylina (@jbaylina) | ||
discussions-to: jordi@baylina.cat |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please provide a public URL where people can discuss.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done!
EIPS/eip-1109.md
Outdated
author: Jordi Baylina (@jbaylina) | ||
discussions-to: jordi@baylina.cat | ||
status: Draft | ||
type: Core |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You need to supply a category as well as a type; see EIP 0 or EIP-X for guidance.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done!
EIPS/eip-1109.md
Outdated
eip: 1109 | ||
title: Remove CALL costs for precompiled contracts | ||
author: Jordi Baylina (@jbaylina) | ||
discussions-to: https://github.com/ethereum/EIPs/pull/1109 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please don't use this PR as a persistent discussion venue - either open an issue for discussion, or a thread on Ethereum Magicians.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changed!
Hi! I'm a bot, and I wanted to automerge your PR, but couldn't because of the following issue(s):
|
- Call to defined smart contract with a value!=0 on the call. | ||
- Call to undefined smart contract with a value!=0 on the call. | ||
- Normal call with remaining gas<700 but gas>[the cost of the call]. | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Call to a precompiled contract which forwards all gas but
- 600
- 700
- 701
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added!
* Remove call costs for precompiled contracts * EIP number added and file name changed * Fixed discussion-to field * Fixed type and category fields * discussion-to field changed to ethereum-magicians * Change a bad change * Changed the discussion link
@@ -0,0 +1,55 @@ | |||
--- | |||
eip: 1109 | |||
title: Remove CALL costs for precompiled contracts |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just throwing it out there: Another option is to keep the default behavior for the *CALL*
opcodes for backwards compatibility, but introduce a PRECOMPILE
opcode that removes the excessive gas costs.
No description provided.