Skip to content

[ante] deduct native tx fees during ante #check-lint-warning

akrokr requested to merge akh/ante_deduct_fee into develop

There are 5 external transaction message types which take a native fee:

  • deposit/send deduct from the signer's bank balance
  • version/set_node_keys/ip_address deduct from the signer node's bond

This branch updates the ante handlers to deduct the fees, as opposed to just ensuring sufficient balances. The 'handle` functions no longer need to know anything about these fees.

#check-lint-warning since it doesn't like me converting an existing function to a version-routed function.

Merge request reports