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

Gas exactimation #990

Open
wants to merge 8 commits into
base: master
Choose a base branch
from

Conversation

SergioDemianLerner
Copy link
Contributor

@SergioDemianLerner SergioDemianLerner commented Aug 27, 2019

This is a complete gas exactimation for RSK without the EIP150 1/64th CALL pre-deposit. It doesn't require binary search. A simple computation test was added.
The exactimation works as long as the code called is not malicious (do not use the GAS opcode to perform arbitrary actions based on its value)

This PR still needs some real-world test, however this exactimation CANNOT be worse than the previous implementation, because this one always returns a higher value than the previous one.

@lsebrie
Copy link
Contributor

lsebrie commented Nov 15, 2019

Pipeline: run

@fedejinich fedejinich mentioned this pull request Jun 1, 2021
8 tasks
@Vovchyk
Copy link
Contributor

Vovchyk commented May 11, 2022

@SergioDemianLerner this is already in master, isn't it? Done in scope of #1548. Can we close this PR?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants