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

Classes of ewasm contracts #173

Open
axic opened this issue Feb 2, 2019 · 0 comments
Open

Classes of ewasm contracts #173

axic opened this issue Feb 2, 2019 · 0 comments

Comments

@axic
Copy link
Member

axic commented Feb 2, 2019

One other idea I was having some thought about is the following:

  • by default ewasm contracts are executed via an interpreter and costs are tuned for that
  • the user can opt to deploy contracts for AOT execution, which has lower gas costs for execution (= more can be done in the same block), but that comes with a larger cost for keeping around the compiled code - so essentially it may result in something like the rent proposal to keep paying for that

Not sure if “Eth 1.x precompiles” are third class of that or maybe they fit into the 2nd case.

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

No branches or pull requests

1 participant