Skip to content

Proto: payer is an implicit account

Mehdi Bouaziz requested to merge mehdi@payer into master

Context

The payer is always an implicit account, let's make the type system ensure it!

It was wrong in:

  • liquidity baking, but the payer is never used by the contract, I turned it to the address zero
  • simulations in the client/plugin, I constrained commands/RPCs, and used the address zero as the default value.

There's a bit of peneloping due to pleasing the type system at each commit, the overall change may be as easy to review.

Manually testing the MR

CI

Checklist

  • Document the interface of any function added or modified (see the coding guidelines)
  • Document any change to the user interface, including configuration parameters (see node configuration)
  • Provide automatic testing (see the testing guide).
  • For new features and bug fixes, add an item in the appropriate changelog (docs/protocols/alpha.rst for the protocol and the environment, CHANGES.rst at the root of the repository for everything else).
  • Select suitable reviewers using the Reviewers field below.
  • Select as Assignee the next person who should take action on that MR
Edited by Mehdi Bouaziz

Merge request reports