Don't allow undecodable bytes to be accepted in ProcessProposal #2663
Labels
consensus breaking
modifies block validity rules in a way that will break consensus unless all nodes update their rules
Milestone
Currently, if a tx as an array of bytes fails to be decoded, we skip over the tx but don't actually reject it:
celestia-app/app/process_proposal.go
Lines 61 to 66 in a692125
This effectively means that a proposer is able to include arbitrary bytes in the block and leverage data availability without incurring any cost. If we plan to have a minimal fee market in place for v2, then part of this requires adding a new block validity rule that rejects any tx that is not decodable
For Admin Use
The text was updated successfully, but these errors were encountered: