From 8c1727b93fc36e9837c35b3662c5483b24e5e6b8 Mon Sep 17 00:00:00 2001 From: Rootul Patel Date: Wed, 27 Nov 2024 17:15:30 -0500 Subject: [PATCH] test: reduce testnode overrides --- test/util/testnode/config.go | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) diff --git a/test/util/testnode/config.go b/test/util/testnode/config.go index 76508f91d4..4c2f5346ae 100644 --- a/test/util/testnode/config.go +++ b/test/util/testnode/config.go @@ -150,20 +150,7 @@ func DefaultTendermintConfig() *tmconfig.Config { // node produces blocks. tmCfg.Consensus.TimeoutCommit = 1 * time.Millisecond - // Override the mempool's MaxTxBytes to allow the testnode to accept a - // transaction that fills the entire square. Any blob transaction larger - // than the square size will still fail no matter what. - maxTxBytes := appconsts.DefaultUpperBoundMaxBytes - tmCfg.Mempool.MaxTxBytes = maxTxBytes - - // Override the MaxBodyBytes to allow the testnode to accept very large - // transactions and respond to queries with large responses (200 MiB was - // chosen only as an arbitrary large number). - tmCfg.RPC.MaxBodyBytes = 200 * mebibyte - - tmCfg.RPC.TimeoutBroadcastTxCommit = time.Minute - - // set all the ports to random open ones + // Set all the ports to random open ones. tmCfg.RPC.ListenAddress = fmt.Sprintf("tcp://127.0.0.1:%d", mustGetFreePort()) tmCfg.P2P.ListenAddress = fmt.Sprintf("tcp://127.0.0.1:%d", mustGetFreePort()) tmCfg.RPC.GRPCListenAddress = fmt.Sprintf("tcp://127.0.0.1:%d", mustGetFreePort())