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

Add configuration constant to ignore any gas related calculations. #1789

Open
feliam opened this issue Aug 12, 2020 · 2 comments · May be fixed by #1823
Open

Add configuration constant to ignore any gas related calculations. #1789

feliam opened this issue Aug 12, 2020 · 2 comments · May be fixed by #1823
Labels

Comments

@feliam
Copy link
Contributor

feliam commented Aug 12, 2020

User wants a way to configure manticore to avoid any cost related to calculating gas values.

The gas value must be completely ignored everywhere it may impose any slowdown. For example:

  • Human transactions: sending transactions should not charge any gas fro the caller, nor decrement its balance
  • Transaction instructions: CALL, DELEGATECALL, ..
  • Returning from transactions or deleting storage values should not refund any gas
  • Storage related instructions: SSTORE/SLOAD should not charge gas dinamically
  • Memory is unbounded. No gas related limits.
@feliam feliam added the idea label Aug 12, 2020
@ehennenfent ehennenfent linked a pull request Dec 8, 2020 that will close this issue
@montyly
Copy link
Member

montyly commented Mar 2, 2021

What would be the difference with --evm.oog ignore?

@feliam
Copy link
Contributor Author

feliam commented Mar 3, 2021

oog ignore. ignores the out of gas exceptions. But it still calculates the remaining gas. ex. paying for CALLDATA in a tx.

see.. https://github.com/trailofbits/manticore/pull/1823/files

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

Successfully merging a pull request may close this issue.

2 participants