Skip to content

Commit

Permalink
minor edits
Browse files Browse the repository at this point in the history
  • Loading branch information
giunatale committed Oct 30, 2024
1 parent cccabf1 commit a25825f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/architecture/adr-002-photon-token.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,15 +94,15 @@ The [`TxFeeChecker`] is a function definition that is part of the ante handler
`TxFeeChecker` to ensure that the fee specified in the tx is sufficient.

Currently, AtomOne uses the default `TxFeeChecker` (namely
[`checkTxFeeWithValidatorMinGasPrices`]), so the photon module must provide an
[`checkTxFeeWithValidatorMinGasPrices`]), so the `x/photon` module must provide an
alternative `TxFeeChecker` implementation, which should:

- enforce that the fee denom is PHOTON, and return a specific error message if
- enforce that the fee denom is `uphoton`, and return a specific error message if
it does not (this to be explicitely separated with the insufficient fee error
message)
- make exception for some messages, specifically like `MsgMintPhoton`, because
`MsgMintPhoton` is the only way to get PHOTONs, so it should accept ATONEs as fee
token. Possibly, the list of exception could be a module parameter.
token. The list of exceptions will in fact be a module parameter.

### Params

Expand Down

0 comments on commit a25825f

Please sign in to comment.