diff --git a/.changelog/unreleased/miscellaneous/4712-comet-max-tx-size.md b/.changelog/unreleased/miscellaneous/4712-comet-max-tx-size.md new file mode 100644 index 00000000000..d5cacb9db6a --- /dev/null +++ b/.changelog/unreleased/miscellaneous/4712-comet-max-tx-size.md @@ -0,0 +1,2 @@ +- Make CometBFT max_tx_bytes configurable + ([\#4712](https://github.com/anoma/namada/issues/4712)) \ No newline at end of file diff --git a/crates/node/src/tendermint_node.rs b/crates/node/src/tendermint_node.rs index 4f73b7726fa..e1107809557 100644 --- a/crates/node/src/tendermint_node.rs +++ b/crates/node/src/tendermint_node.rs @@ -290,7 +290,7 @@ async fn update_tendermint_config( // 1 MiB is a reasonable value that allows governance proposal txs // containing wasm code to be proposed by a leading validator // during some round's start - config.mempool.max_tx_bytes = 1024 * 1024; + // https://github.com/cometbft/cometbft/blob/c653eee08d7f2c44bd87fcca0b8a16666cd08fee/config/config.go#L1016 // Hold 50x the max amount of txs in a block. #[allow(clippy::arithmetic_side_effects)]