-
Notifications
You must be signed in to change notification settings - Fork 49
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 a new script that checks if payer has balance to pay for tx #435
Add a new script that checks if payer has balance to pay for tx #435
Conversation
transactions/FlowServiceAccount/scripts/check_if_payer_has_sufficient_balance.cdc
Outdated
Show resolved
Hide resolved
BTW, I noticed that |
@janezpodhostnik Can u take a look at it? |
transactions/FlowServiceAccount/scripts/check_if_payer_has_sufficient_balance.cdc
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good! Thanks
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you so much for adding this! Great work. :)
Also, I'm merging the |
@illia-malachyn Thank you for adding this! Is this PR ready to be merged? |
@joshuahannan Yes, you can merge it |
* Remove feature branch * Add a new script that checks if payer has balance to pay for tx (#435) * Add a new script that checks if payer has balance to pay for tx * Rewrite check_if_payer_has_sufficient_balance to return struct * Update contract to cadence 1 * create custom minted account * payer executes tx and pays for it * fix tx signers * refactor test --------- Co-authored-by: Chase Fleming <[email protected]> Co-authored-by: Illia <[email protected]>
This is a part of onflow/flow-go#6004