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-150/EIP-114 63/64 gas rule not implemented #944

Open
juli opened this issue Aug 1, 2019 · 0 comments
Open

EIP-150/EIP-114 63/64 gas rule not implemented #944

juli opened this issue Aug 1, 2019 · 0 comments

Comments

@juli
Copy link

juli commented Aug 1, 2019

RSKj implements EIP-150 partially. Gas cost of opcodes was updated to EIP-150 values but EIP-114 was not implemented.

From EIP-150:

"...Additionally, EIP 114 is introduced because, given that we are making the cost of a call higher and less predictable, we have an opportunity to do it at no extra cost to currently available guarantees, and so we also achieve the benefit of replacing the call stack depth limit with a "softer" gas-based restriction, thereby eliminating call stack depth attacks as a class of attack that contract developers have to worry about and hence increasing contract programming safety. Note that with the given parameters, the de-facto maximum call stack depth is limited to ~340 (down from ~1024), mitigating the harm caused by any further potential quadratic-complexity DoS attacks that rely on calls..."

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

No branches or pull requests

1 participant