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

Extend inner-transaction builder to define payer source #570

Open
michaeldiamant opened this issue Oct 18, 2022 · 0 comments
Open

Extend inner-transaction builder to define payer source #570

michaeldiamant opened this issue Oct 18, 2022 · 0 comments

Comments

@michaeldiamant
Copy link
Contributor

Problem

With existing PyTeal APIs, Inner-transaction construction does not require the builder to explicitly define the fee payer. Without specifying the fee, the app's account covers any fees beyond the group's fee credit. It's possible the builder did not intend to use the default policy.

#566 offers an improvement by introducing a fee source enum to make the policy decision explicit.

The story requests extending the general purpose inner transaction APIs with fee source.

  • It's assumed the existing enum may not fit.
  • Ideally, at least one way exists to build inner transactions with an explicitly declared payer policy.

Solution

Dependencies

Urgency

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