Skip to content

Commit

Permalink
style: add to list
Browse files Browse the repository at this point in the history
  • Loading branch information
jcstein committed Oct 16, 2024
1 parent e81a4de commit 61de07e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cips/cip-tx-limits.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ This CIP proposes to set limits for the number of PFBs and non-PFBs per block an

1. The number of non-PFB transactions per block is limited to 200 by setting `NonPFBTransactionCap` to 200. `NonPFBTransactionCap` is the maximum number of SDK messages, aside from PFBs, that a block can contain.

It's important to note that these limits are not strictly enforced. While they are defined by the `celestia-app` implementation, a validator could potentially modify the `PrepareProposal` logic, run a custom binary, and produce blocks that exceed the specified limits for PFB or non-PFB transactions.
1. It's important to note that these limits are not strictly enforced. While they are defined by the `celestia-app` implementation, a validator could potentially modify the `PrepareProposal` logic, run a custom binary, and produce blocks that exceed the specified limits for PFB or non-PFB transactions.

1. The size of a transaction is limited to 2MiB by setting `MaxTxSize` to 2097152, which is 2MiB in bytes. From version v3 and above, in `CheckTx`, `PrepareProposal`, and `ProcessProposal`, each transaction's size is checked against the `appconsts.MaxTxSize` threshold. This ensures that transactions over the limit are rejected or excluded at all stages, from initial submission to execution.

Expand Down

0 comments on commit 61de07e

Please sign in to comment.