From 2a9e279ab63ccea1a4439e76824194303c3f3fc4 Mon Sep 17 00:00:00 2001 From: piux2 <90544084+piux2@users.noreply.github.com> Date: Thu, 19 Dec 2024 13:33:40 -0800 Subject: [PATCH 1/2] Fix: increase max block gas limit Increase the block gas limit accordingly as we update the gas configuration. --- gno.land/cmd/gnoland/start.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gno.land/cmd/gnoland/start.go b/gno.land/cmd/gnoland/start.go index a420e652810..b202f41692a 100644 --- a/gno.land/cmd/gnoland/start.go +++ b/gno.land/cmd/gnoland/start.go @@ -374,7 +374,7 @@ func generateGenesisFile(genesisFile string, pk crypto.PubKey, c *startCfg) erro // TODO: update limits. MaxTxBytes: 1_000_000, // 1MB, MaxDataBytes: 2_000_000, // 2MB, - MaxGas: 100_000_000, // 100M gas + MaxGas: 3_000_000_000, // 3B gas TimeIotaMS: 100, // 100ms }, } From 0bb1d21886d29ecf9e1a4cc876397ce4b127c533 Mon Sep 17 00:00:00 2001 From: piux2 <90544084+piux2@users.noreply.github.com> Date: Thu, 19 Dec 2024 14:26:38 -0800 Subject: [PATCH 2/2] fmt&lint --- gno.land/cmd/gnoland/start.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gno.land/cmd/gnoland/start.go b/gno.land/cmd/gnoland/start.go index b202f41692a..ba42b18ec24 100644 --- a/gno.land/cmd/gnoland/start.go +++ b/gno.land/cmd/gnoland/start.go @@ -372,10 +372,10 @@ func generateGenesisFile(genesisFile string, pk crypto.PubKey, c *startCfg) erro gen.ConsensusParams = abci.ConsensusParams{ Block: &abci.BlockParams{ // TODO: update limits. - MaxTxBytes: 1_000_000, // 1MB, - MaxDataBytes: 2_000_000, // 2MB, + MaxTxBytes: 1_000_000, // 1MB, + MaxDataBytes: 2_000_000, // 2MB, MaxGas: 3_000_000_000, // 3B gas - TimeIotaMS: 100, // 100ms + TimeIotaMS: 100, // 100ms }, }