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

Support Transaction Policies #576

Closed
xgreenx opened this issue Aug 29, 2023 · 1 comment · Fixed by #623
Closed

Support Transaction Policies #576

xgreenx opened this issue Aug 29, 2023 · 1 comment · Fixed by #623
Assignees

Comments

@xgreenx
Copy link
Collaborator

xgreenx commented Aug 29, 2023

Overview

Related issue FuelLabs/fuel-core#1404 that should define gas_per_byte.

Related specification change FuelLabs/fuel-specs#514

Add policies to transactions with all limits managed by policies (in preparation for multi-dimensional pricing in the future):

  • Move the gas limit to be a policy
  • Add witness data limit as a policy

Min fee also should include gas_per_byte * WL(Witness limit). And WL should affect the validity rules of the transaction.
The gas limit should exclude the predicate gas used, and the predicate gas used should be part of the min fee.

@xgreenx
Copy link
Collaborator Author

xgreenx commented Aug 29, 2023

This change is better to do on top of #533

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

Successfully merging a pull request may close this issue.

3 participants