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

Pool computational budget for application call transactions #2636

Closed
chaihoang opened this issue Jul 26, 2021 · 0 comments · Fixed by #2711
Closed

Pool computational budget for application call transactions #2636

chaihoang opened this issue Jul 26, 2021 · 0 comments · Fixed by #2711
Assignees

Comments

@chaihoang
Copy link

chaihoang commented Jul 26, 2021

  • Add up number of application calls in transaction group - budget should be 700 x that number
  • After each evaluation, we need to know how much of the budget we used to carry it over for execution for the remaining app calls
  • Update error messages

Tests:

  • Test that verify is allowed in stateful Teal. Currently ed25519verify is only allowed in Stateless TEAL, but after this change, it should be allowed if the total pooled budget is greater than this cost.
  • Unit tests
  • Protocol upgrade tests
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants