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 automatic minimum fee calculation to transactions. #900

Open
iamalwaysuncomfortable opened this issue Jul 17, 2024 · 0 comments
Open
Assignees
Labels
enhancement New feature or request

Comments

@iamalwaysuncomfortable
Copy link
Collaborator

Motivation

Currently the SDK does not auto-calculate the minimum fee to execute a program. This should be automatically calculated upon execution of a transaction for optimal UI.

Implementation

The fee parameters in program deployment and execution methods aleo-wasm should be all changed to priority_fee and include the calculation of the base fee within the function body:

fee_credits: f64,

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

No branches or pull requests

3 participants