algorand/pyteal

Extend inner-transaction builder to define payer source

michaeldiamant opened this issue · 0 comments

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