Skip to content
This repository has been archived by the owner on Feb 8, 2018. It is now read-only.

add callGas cost to delegatecall #124

Merged
merged 1 commit into from
Dec 4, 2015

Conversation

CJentzsch
Copy link
Contributor

The normale CALLgas cost should still be paid. Otherwise someone could run an attack with an enormous amount of DELEGATECALL opcodes, calling an arbitrary address and setting gas to zero.
Also ethereum/EIPs#23 specifies that callGas should be paid.

gavofyork pushed a commit that referenced this pull request Dec 4, 2015
add callGas cost to delegatecall
@gavofyork gavofyork merged commit 33e6fd3 into ethereum:develop Dec 4, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants