AnteHandler
Celestia makes use of a Cosmos SDK AnteHandler in order to reject decodable sdk.Txs that do not meet certain criteria. The AnteHandler is invoked at multiple times during the transaction lifecycle:
CheckTxprior to the transaction entering the mempoolPrepareProposalwhen the block proposer includes the transaction in a block proposalProcessProposalwhen validators validate the transaction in a block proposalDeliverTxwhen full nodes execute the transaction in a decided block
The AnteHandler is defined in app/ante/ante.go. The app version impacts AnteHandler behavior. See: