diff --git a/crates/core/app/src/app/mod.rs b/crates/core/app/src/app/mod.rs index 535bc3adad..8a51a8349d 100644 --- a/crates/core/app/src/app/mod.rs +++ b/crates/core/app/src/app/mod.rs @@ -54,8 +54,8 @@ type InterBlockState = Arc>; /// The maximum size of a CometBFT block payload (1MB) const MAX_BLOCK_TXS_PAYLOAD_BYTES: usize = 1024 * 1024; -/// The maximum size of a single individual transaction (30KB). -const MAX_TRANSACTION_SIZE_BYTES: usize = 30 * 1024; +/// The maximum size of a single individual transaction (96KB). +const MAX_TRANSACTION_SIZE_BYTES: usize = 96 * 1024; /// The maximum size of the evidence portion of a block (30KB). const MAX_EVIDENCE_SIZE_BYTES: usize = 30 * 1024; diff --git a/testnets/cometbft_config_template.toml b/testnets/cometbft_config_template.toml index 5c14fc7946..65f556a350 100644 --- a/testnets/cometbft_config_template.toml +++ b/testnets/cometbft_config_template.toml @@ -316,7 +316,7 @@ keep-invalid-txs-in-cache = false # Maximum size of a single transaction. # NOTE: the max size of a tx transmitted over the network is {max_tx_bytes}. -max_tx_bytes = 30720 +max_tx_bytes = 98304 # Maximum size of a batch of transactions to send to a peer # Including space needed by encoding (one varint per transaction).