From d634326e55094fdb6a4eac05b1ae3f8f6508ac79 Mon Sep 17 00:00:00 2001 From: Marko Date: Wed, 8 Jan 2025 15:26:02 +0100 Subject: [PATCH 1/8] chore: update codeowners (#23259) --- .github/CODEOWNERS | 98 +++++++++++++++++++++++----------------------- 1 file changed, 49 insertions(+), 49 deletions(-) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index fab7e3de6060..7b32a338c2c0 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -10,62 +10,62 @@ # Components -/baseapp/ @facundomedica @aaronc @testinginprod @kocubinski @cosmos/sdk-core-dev +/baseapp/ @cosmos/sdk-core-dev /client/ @julienrbrt @JulianToledano @cosmos/sdk-core-dev /client/v2/ @julienrbrt @JulianToledano @cosmos/sdk-core-dev -/collections/ @testinginprod @facundomedica @cosmos/sdk-core-dev +/collections/ @cosmos/sdk-core-dev /core/ @cosmos/sdk-core-dev /crypto/ @JulianToledano @raynaudoe @cosmos/sdk-core-dev -/depinject/ @aaronc @kocubinski @julienrbrt @cosmos/sdk-core-dev -/indexer/ @aaronc @cool-develope @cosmos/sdk-core-dev -/log/ @julienrbrt @sontrinh16 @cosmos/sdk-core-dev -/math/ @testinginprod @alpe @cosmos/sdk-core-dev -/orm/ @aaronc @testinginprod @lucaslopezf @cosmos/sdk-core-dev -/runtime/ @julienrbrt @hieuvubk @cosmos/sdk-core-dev -/runtime/v2/ @julienrbrt @hieuvubk @cosmos/sdk-core-dev -/schema/ @aaronc @testinginprod @cosmos/sdk-core-dev +/depinject/ @julienrbrt @cosmos/sdk-core-dev +/indexer/ @cosmos/sdk-core-dev +/log/ @julienrbrt @cosmos/sdk-core-dev +/math/ @alpe @cosmos/sdk-core-dev +/orm/ @lucaslopezf @cosmos/sdk-core-dev +/runtime/ @julienrbrt @cosmos/sdk-core-dev +/runtime/v2/ @julienrbrt @cosmos/sdk-core-dev +/schema/ @cosmos/sdk-core-dev /server/ @cosmos/sdk-core-dev -/server/v2/ @julienrbrt @hieuvubk @kocubinski @cosmos/sdk-core-dev -/server/v2/stf/ @testinginprod @kocubinski @cosmos/sdk-core-dev -/server/v2/appmanager/ @testinginprod @facundomedica @cosmos/sdk-core-dev -/server/v2/cometbft/ @facundomedica @sontrinh16 @cosmos/sdk-core-dev -/simsx @alpe @facundomedica @kocubinski @cosmos/sdk-core-dev -/simapp/ @facundomedica @julienrbrt @cosmos/sdk-core-dev -/simapp/v2/ @kocubinski @julienrbrt @cosmos/sdk-core-dev -/store/ @cool-develope @kocubinski @cosmos/sdk-core-dev -/store/v2/ @cool-develope @kocubinski @cosmos/sdk-core-dev -/types/mempool/ @kocubinski @cosmos/sdk-core-dev +/server/v2/ @julienrbrt @cosmos/sdk-core-dev +/server/v2/stf/ @cosmos/sdk-core-dev +/server/v2/appmanager/ @cosmos/sdk-core-dev +/server/v2/cometbft/ @cosmos/sdk-core-dev +/simsx @alpe @cosmos/sdk-core-dev +/simapp/ @julienrbrt @cosmos/sdk-core-dev +/simapp/v2/ @julienrbrt @cosmos/sdk-core-dev +/store/ @cosmos/sdk-core-dev +/store/v2/ @cosmos/sdk-core-dev +/types/mempool/ @cosmos/sdk-core-dev /tools/hubl @julienrbrt @JulianToledano @cosmos/sdk-core-dev -/tools/cosmovisor @julienrbrt @facundomedica @cosmos/sdk-core-dev -/tools/confix @julienrbrt @akhilkumarpilli @cosmos/sdk-core-dev -/tests/integration/aminojson @kocubinski @cosmos/sdk-core-dev +/tools/cosmovisor @julienrbrt @cosmos/sdk-core-dev +/tools/confix @julienrbrt @cosmos/sdk-core-dev +/tests/integration/aminojson @cosmos/sdk-core-dev # x modules -/x/accounts/ @testinginprod @sontrinh16 @cosmos/sdk-core-dev -/x/auth/ @facundomedica @testinginprod @aaronc @cosmos/sdk-core-dev -/x/auth/tx/config @julienrbrt @akhilkumarpilli @kocubinski @cosmos/sdk-core-dev -/x/authz/ @akhilkumarpilli @raynaudoe @cosmos/sdk-core-dev -/x/bank/ @julienrbrt @sontrinh16 @cosmos/sdk-core-dev -/x/bank/v2 @julienrbrt @hieuvubk @akhilkumarpilli @cosmos/sdk-core-dev -/x/circuit/ @kocubinski @akhilkumarpilli @raynaudoe @cosmos/sdk-core-dev -/x/consensus/ @testinginprod @raynaudoe @cosmos/sdk-core-dev +/x/accounts/ @cosmos/sdk-core-dev +/x/auth/ @cosmos/sdk-core-dev +/x/auth/tx/config @julienrbrt @cosmos/sdk-core-dev +/x/authz/ @raynaudoe @cosmos/sdk-core-dev +/x/bank/ @julienrbrt @cosmos/sdk-core-dev +/x/bank/v2 @julienrbrt @cosmos/sdk-core-dev +/x/circuit/ @raynaudoe @cosmos/sdk-core-dev +/x/consensus/ @raynaudoe @cosmos/sdk-core-dev /x/distribution/ @alpe @JulianToledano @cosmos/sdk-core-dev -/x/epochs/ @alpe @facundomedica @cosmos/sdk-core-dev -/x/evidence/ @alpe @akhilkumarpilli @cosmos/sdk-core-dev -/x/feegrant/ @cool-develope @alpe @cosmos/sdk-core-dev -/x/genutil/ @kocubinski @hieuvubk @julienrbrt @cosmos/sdk-core-dev -/x/gov/ @julienrbrt @sontrinh16 @cosmos/sdk-core-dev -/x/group/ @kocubinski @akhilkumarpilli @cosmos/sdk-core-dev -/x/mint/ @lucaslopezf @facundomedica @cosmos/sdk-core-dev +/x/epochs/ @alpe @cosmos/sdk-core-dev +/x/evidence/ @alpe @cosmos/sdk-core-dev +/x/feegrant/ @alpe @cosmos/sdk-core-dev +/x/genutil/ @julienrbrt @cosmos/sdk-core-dev +/x/gov/ @julienrbrt @cosmos/sdk-core-dev +/x/group/ @cosmos/sdk-core-dev +/x/mint/ @lucaslopezf @cosmos/sdk-core-dev /x/nft/ @alpe @lucaslopezf @cosmos/sdk-core-dev -/x/protocolpool/ @facundomedica @hieuvubk @alpe @cosmos/sdk-core-dev +/x/protocolpool/ @alpe @cosmos/sdk-core-dev /x/simulation/ @cosmos/sdk-core-dev # deprecated so whole team -/x/slashing/ @testinginprod @raynaudoe @lucaslopezf @cosmos/sdk-core-dev -/x/staking/ @facundomedica @testinginprod @JulianToledano @ziscky @cosmos/sdk-core-dev -/x/tx/ @kocubinski @testinginprod @aaronc @cosmos/sdk-core-dev -/x/upgrade/ @facundomedica @cool-develope @akhilkumarpilli @lucaslopezf @cosmos/sdk-core-dev -/x/validate @julienrbrt @akhilkumarpilli @kocubinski @cosmos/sdk-core-dev +/x/slashing/ @raynaudoe @lucaslopezf @cosmos/sdk-core-dev +/x/staking/ @JulianToledano @ziscky @cosmos/sdk-core-dev +/x/tx/ @cosmos/sdk-core-dev +/x/upgrade/ @lucaslopezf @cosmos/sdk-core-dev +/x/validate @julienrbrt @cosmos/sdk-core-dev # go mods @@ -74,11 +74,11 @@ # ci & build -.github/ @auricom @julienrbrt @tac0turtle -scripts/ @auricom @julienrbrt @tac0turtle -contrib/ @auricom @julienrbrt @tac0turtle -*.mk @auricom @julienrbrt @tac0turtle -Makefile @auricom @julienrbrt @tac0turtle +.github/ @julienrbrt @tac0turtle +scripts/ @julienrbrt @tac0turtle +contrib/ @julienrbrt @tac0turtle +*.mk @julienrbrt @tac0turtle +Makefile @julienrbrt @tac0turtle # docs configuration From 9de8d7ddc37c9d0f2df7410bcbcb2cb7a1cf7804 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 8 Jan 2025 16:15:45 -0500 Subject: [PATCH 2/8] build(deps): Bump cosmossdk.io/api from 0.7.6 to 0.8.0 in /orm (#23243) Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: dependabot[bot] Co-authored-by: aljo242 Co-authored-by: Julien Robert --- orm/go.mod | 4 +++- orm/go.sum | 8 ++++++-- runtime/v2/go.mod | 2 +- runtime/v2/go.sum | 4 ++-- server/v2/go.mod | 2 +- server/v2/go.sum | 4 ++-- systemtests/go.mod | 4 +++- systemtests/go.sum | 8 ++++++-- tests/systemtests/go.mod | 7 ++++++- tests/systemtests/go.sum | 8 ++++++-- x/tx/go.mod | 4 +++- x/tx/go.sum | 8 ++++++-- 12 files changed, 45 insertions(+), 18 deletions(-) diff --git a/orm/go.mod b/orm/go.mod index e7172250be3f..35b92a760566 100644 --- a/orm/go.mod +++ b/orm/go.mod @@ -3,7 +3,7 @@ module cosmossdk.io/orm go 1.23 require ( - cosmossdk.io/api v0.7.6 + cosmossdk.io/api v0.8.0 cosmossdk.io/core v1.0.0-alpha.6 cosmossdk.io/core/testing v0.0.1 cosmossdk.io/depinject v1.1.0 @@ -23,6 +23,8 @@ require ( ) require ( + buf.build/gen/go/cometbft/cometbft/protocolbuffers/go v1.36.1-20241120201313-68e42a58b301.1 // indirect + buf.build/gen/go/cosmos/gogo-proto/protocolbuffers/go v1.36.1-20240130113600-88ef6483f90f.1 // indirect cosmossdk.io/schema v1.0.0 // indirect github.com/DataDog/zstd v1.5.6 // indirect github.com/beorn7/perks v1.0.1 // indirect diff --git a/orm/go.sum b/orm/go.sum index 671bc14c9727..3191f18b056e 100644 --- a/orm/go.sum +++ b/orm/go.sum @@ -1,5 +1,9 @@ -cosmossdk.io/api v0.7.6 h1:PC20PcXy1xYKH2KU4RMurVoFjjKkCgYRbVAD4PdqUuY= -cosmossdk.io/api v0.7.6/go.mod h1:IcxpYS5fMemZGqyYtErK7OqvdM0C8kdW3dq8Q/XIG38= +buf.build/gen/go/cometbft/cometbft/protocolbuffers/go v1.36.1-20241120201313-68e42a58b301.1 h1:ETkPUd9encx5SP6yuo0BR7DOnQHDbmU0RMzHsu2dkuQ= +buf.build/gen/go/cometbft/cometbft/protocolbuffers/go v1.36.1-20241120201313-68e42a58b301.1/go.mod h1:HulBNxlqJNXVcysFv/RxTEWz+khiJg8SOmfgC1ktVTM= +buf.build/gen/go/cosmos/gogo-proto/protocolbuffers/go v1.36.1-20240130113600-88ef6483f90f.1 h1:X62BxjEhtx1/PWJPxg5BGahf1UXeFgM9dFfNpQ6kUPo= +buf.build/gen/go/cosmos/gogo-proto/protocolbuffers/go v1.36.1-20240130113600-88ef6483f90f.1/go.mod h1:GB5hdNJd6cahKmHcLArJo5wnV9TeZGMSz7ysK4YLvag= +cosmossdk.io/api v0.8.0 h1:E5Xifxu/3mPTLF79si9fyq4rR0wagubeVNmOz5duTUo= +cosmossdk.io/api v0.8.0/go.mod h1:hgJ83P0ZUu0rS1SZoVM6abk6ADOkiM259BVVlYtAPP0= cosmossdk.io/core v1.0.0-alpha.6 h1:5ukC4JcQKmemLQXcAgu/QoOvJI50hpBkIIg4ZT2EN8E= cosmossdk.io/core v1.0.0-alpha.6/go.mod h1:3u9cWq1FAVtiiCrDPpo4LhR+9V6k/ycSG4/Y/tREWCY= cosmossdk.io/core/testing v0.0.1 h1:gYCTaftcRrz+HoNXmK7r9KgbG1jgBJ8pNzm/Pa/erFQ= diff --git a/runtime/v2/go.mod b/runtime/v2/go.mod index 5652dc04ea51..f7370cfd03ae 100644 --- a/runtime/v2/go.mod +++ b/runtime/v2/go.mod @@ -10,7 +10,7 @@ go 1.23 // ) require ( - cosmossdk.io/api v0.8.0-rc.1 + cosmossdk.io/api v0.8.0 cosmossdk.io/core v1.0.0-alpha.6 cosmossdk.io/depinject v1.1.0 cosmossdk.io/log v1.5.0 diff --git a/runtime/v2/go.sum b/runtime/v2/go.sum index 941bf342cd56..87d40c6b7a67 100644 --- a/runtime/v2/go.sum +++ b/runtime/v2/go.sum @@ -2,8 +2,8 @@ buf.build/gen/go/cometbft/cometbft/protocolbuffers/go v1.36.1-20241120201313-68e buf.build/gen/go/cometbft/cometbft/protocolbuffers/go v1.36.1-20241120201313-68e42a58b301.1/go.mod h1:HulBNxlqJNXVcysFv/RxTEWz+khiJg8SOmfgC1ktVTM= buf.build/gen/go/cosmos/gogo-proto/protocolbuffers/go v1.36.1-20240130113600-88ef6483f90f.1 h1:X62BxjEhtx1/PWJPxg5BGahf1UXeFgM9dFfNpQ6kUPo= buf.build/gen/go/cosmos/gogo-proto/protocolbuffers/go v1.36.1-20240130113600-88ef6483f90f.1/go.mod h1:GB5hdNJd6cahKmHcLArJo5wnV9TeZGMSz7ysK4YLvag= -cosmossdk.io/api v0.8.0-rc.1 h1:j5oNt5D9gsXtcI9ITYDKjxLXYysgzQIGIbXe381fXNE= -cosmossdk.io/api v0.8.0-rc.1/go.mod h1:edvI8tMINqCH75EgkOEMnCZEQ3iKJgOlZ+ZxOu4gmXU= +cosmossdk.io/api v0.8.0 h1:E5Xifxu/3mPTLF79si9fyq4rR0wagubeVNmOz5duTUo= +cosmossdk.io/api v0.8.0/go.mod h1:hgJ83P0ZUu0rS1SZoVM6abk6ADOkiM259BVVlYtAPP0= cosmossdk.io/core v1.0.0-alpha.6 h1:5ukC4JcQKmemLQXcAgu/QoOvJI50hpBkIIg4ZT2EN8E= cosmossdk.io/core v1.0.0-alpha.6/go.mod h1:3u9cWq1FAVtiiCrDPpo4LhR+9V6k/ycSG4/Y/tREWCY= cosmossdk.io/core/testing v0.0.1 h1:gYCTaftcRrz+HoNXmK7r9KgbG1jgBJ8pNzm/Pa/erFQ= diff --git a/server/v2/go.mod b/server/v2/go.mod index 4297a2f10379..acda0814083b 100644 --- a/server/v2/go.mod +++ b/server/v2/go.mod @@ -9,7 +9,7 @@ go 1.23 // ) require ( - cosmossdk.io/api v0.8.0-rc.1 + cosmossdk.io/api v0.8.0 cosmossdk.io/core v1.0.0-alpha.6 cosmossdk.io/core/testing v0.0.1 cosmossdk.io/log v1.5.0 diff --git a/server/v2/go.sum b/server/v2/go.sum index bd1d9fc20b74..ba10359d7643 100644 --- a/server/v2/go.sum +++ b/server/v2/go.sum @@ -1,7 +1,7 @@ cloud.google.com/go v0.26.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw= cloud.google.com/go v0.34.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw= -cosmossdk.io/api v0.8.0-rc.1 h1:j5oNt5D9gsXtcI9ITYDKjxLXYysgzQIGIbXe381fXNE= -cosmossdk.io/api v0.8.0-rc.1/go.mod h1:edvI8tMINqCH75EgkOEMnCZEQ3iKJgOlZ+ZxOu4gmXU= +cosmossdk.io/api v0.8.0 h1:E5Xifxu/3mPTLF79si9fyq4rR0wagubeVNmOz5duTUo= +cosmossdk.io/api v0.8.0/go.mod h1:hgJ83P0ZUu0rS1SZoVM6abk6ADOkiM259BVVlYtAPP0= cosmossdk.io/core v1.0.0-alpha.6 h1:5ukC4JcQKmemLQXcAgu/QoOvJI50hpBkIIg4ZT2EN8E= cosmossdk.io/core v1.0.0-alpha.6/go.mod h1:3u9cWq1FAVtiiCrDPpo4LhR+9V6k/ycSG4/Y/tREWCY= cosmossdk.io/core/testing v0.0.1 h1:gYCTaftcRrz+HoNXmK7r9KgbG1jgBJ8pNzm/Pa/erFQ= diff --git a/systemtests/go.mod b/systemtests/go.mod index 389a4090c513..ef8261c7441e 100644 --- a/systemtests/go.mod +++ b/systemtests/go.mod @@ -15,7 +15,9 @@ require ( ) require ( - cosmossdk.io/api v0.7.6 // indirect + buf.build/gen/go/cometbft/cometbft/protocolbuffers/go v1.36.1-20241120201313-68e42a58b301.1 // indirect + buf.build/gen/go/cosmos/gogo-proto/protocolbuffers/go v1.36.1-20240130113600-88ef6483f90f.1 // indirect + cosmossdk.io/api v0.8.0 // indirect cosmossdk.io/collections v0.4.0 // indirect cosmossdk.io/core v0.11.0 // indirect cosmossdk.io/depinject v1.1.0 // indirect diff --git a/systemtests/go.sum b/systemtests/go.sum index bb97fd94850e..530bd04c5ce8 100644 --- a/systemtests/go.sum +++ b/systemtests/go.sum @@ -1,7 +1,11 @@ +buf.build/gen/go/cometbft/cometbft/protocolbuffers/go v1.36.1-20241120201313-68e42a58b301.1 h1:ETkPUd9encx5SP6yuo0BR7DOnQHDbmU0RMzHsu2dkuQ= +buf.build/gen/go/cometbft/cometbft/protocolbuffers/go v1.36.1-20241120201313-68e42a58b301.1/go.mod h1:HulBNxlqJNXVcysFv/RxTEWz+khiJg8SOmfgC1ktVTM= +buf.build/gen/go/cosmos/gogo-proto/protocolbuffers/go v1.36.1-20240130113600-88ef6483f90f.1 h1:X62BxjEhtx1/PWJPxg5BGahf1UXeFgM9dFfNpQ6kUPo= +buf.build/gen/go/cosmos/gogo-proto/protocolbuffers/go v1.36.1-20240130113600-88ef6483f90f.1/go.mod h1:GB5hdNJd6cahKmHcLArJo5wnV9TeZGMSz7ysK4YLvag= cloud.google.com/go v0.26.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw= cloud.google.com/go v0.34.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw= -cosmossdk.io/api v0.7.6 h1:PC20PcXy1xYKH2KU4RMurVoFjjKkCgYRbVAD4PdqUuY= -cosmossdk.io/api v0.7.6/go.mod h1:IcxpYS5fMemZGqyYtErK7OqvdM0C8kdW3dq8Q/XIG38= +cosmossdk.io/api v0.8.0 h1:E5Xifxu/3mPTLF79si9fyq4rR0wagubeVNmOz5duTUo= +cosmossdk.io/api v0.8.0/go.mod h1:hgJ83P0ZUu0rS1SZoVM6abk6ADOkiM259BVVlYtAPP0= cosmossdk.io/collections v0.4.0 h1:PFmwj2W8szgpD5nOd8GWH6AbYNi1f2J6akWXJ7P5t9s= cosmossdk.io/collections v0.4.0/go.mod h1:oa5lUING2dP+gdDquow+QjlF45eL1t4TJDypgGd+tv0= cosmossdk.io/core v0.11.0 h1:vtIafqUi+1ZNAE/oxLOQQ7Oek2n4S48SWLG8h/+wdbo= diff --git a/tests/systemtests/go.mod b/tests/systemtests/go.mod index afecbc5d595f..eb7401f470d7 100644 --- a/tests/systemtests/go.mod +++ b/tests/systemtests/go.mod @@ -9,7 +9,12 @@ require ( ) require ( - cosmossdk.io/api v0.7.6 // indirect + buf.build/gen/go/cometbft/cometbft/protocolbuffers/go v1.36.1-20241120201313-68e42a58b301.1 // indirect + buf.build/gen/go/cosmos/gogo-proto/protocolbuffers/go v1.36.1-20240130113600-88ef6483f90f.1 // indirect +) + +require ( + cosmossdk.io/api v0.8.0 // indirect cosmossdk.io/collections v0.4.0 // indirect cosmossdk.io/core v0.11.0 // indirect cosmossdk.io/depinject v1.1.0 // indirect diff --git a/tests/systemtests/go.sum b/tests/systemtests/go.sum index 6f122035cfd9..bc35001acc1d 100644 --- a/tests/systemtests/go.sum +++ b/tests/systemtests/go.sum @@ -1,7 +1,11 @@ +buf.build/gen/go/cometbft/cometbft/protocolbuffers/go v1.36.1-20241120201313-68e42a58b301.1 h1:ETkPUd9encx5SP6yuo0BR7DOnQHDbmU0RMzHsu2dkuQ= +buf.build/gen/go/cometbft/cometbft/protocolbuffers/go v1.36.1-20241120201313-68e42a58b301.1/go.mod h1:HulBNxlqJNXVcysFv/RxTEWz+khiJg8SOmfgC1ktVTM= +buf.build/gen/go/cosmos/gogo-proto/protocolbuffers/go v1.36.1-20240130113600-88ef6483f90f.1 h1:X62BxjEhtx1/PWJPxg5BGahf1UXeFgM9dFfNpQ6kUPo= +buf.build/gen/go/cosmos/gogo-proto/protocolbuffers/go v1.36.1-20240130113600-88ef6483f90f.1/go.mod h1:GB5hdNJd6cahKmHcLArJo5wnV9TeZGMSz7ysK4YLvag= cloud.google.com/go v0.26.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw= cloud.google.com/go v0.34.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw= -cosmossdk.io/api v0.7.6 h1:PC20PcXy1xYKH2KU4RMurVoFjjKkCgYRbVAD4PdqUuY= -cosmossdk.io/api v0.7.6/go.mod h1:IcxpYS5fMemZGqyYtErK7OqvdM0C8kdW3dq8Q/XIG38= +cosmossdk.io/api v0.8.0 h1:E5Xifxu/3mPTLF79si9fyq4rR0wagubeVNmOz5duTUo= +cosmossdk.io/api v0.8.0/go.mod h1:hgJ83P0ZUu0rS1SZoVM6abk6ADOkiM259BVVlYtAPP0= cosmossdk.io/collections v0.4.0 h1:PFmwj2W8szgpD5nOd8GWH6AbYNi1f2J6akWXJ7P5t9s= cosmossdk.io/collections v0.4.0/go.mod h1:oa5lUING2dP+gdDquow+QjlF45eL1t4TJDypgGd+tv0= cosmossdk.io/core v0.11.0 h1:vtIafqUi+1ZNAE/oxLOQQ7Oek2n4S48SWLG8h/+wdbo= diff --git a/x/tx/go.mod b/x/tx/go.mod index c904976428e0..8ff588e6a199 100644 --- a/x/tx/go.mod +++ b/x/tx/go.mod @@ -3,7 +3,7 @@ module cosmossdk.io/x/tx go 1.23 require ( - cosmossdk.io/api v0.7.6 + cosmossdk.io/api v0.8.0 cosmossdk.io/errors v1.0.1 cosmossdk.io/math v1.4.0 github.com/cosmos/cosmos-proto v1.0.0-beta.5 @@ -20,6 +20,8 @@ require ( ) require ( + buf.build/gen/go/cometbft/cometbft/protocolbuffers/go v1.36.1-20241120201313-68e42a58b301.1 // indirect + buf.build/gen/go/cosmos/gogo-proto/protocolbuffers/go v1.36.1-20240130113600-88ef6483f90f.1 // indirect github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc // indirect github.com/kr/text v0.2.0 // indirect github.com/pmezard/go-difflib v1.0.0 // indirect diff --git a/x/tx/go.sum b/x/tx/go.sum index 36e698bfe091..06603dc45c05 100644 --- a/x/tx/go.sum +++ b/x/tx/go.sum @@ -1,5 +1,9 @@ -cosmossdk.io/api v0.7.6 h1:PC20PcXy1xYKH2KU4RMurVoFjjKkCgYRbVAD4PdqUuY= -cosmossdk.io/api v0.7.6/go.mod h1:IcxpYS5fMemZGqyYtErK7OqvdM0C8kdW3dq8Q/XIG38= +buf.build/gen/go/cometbft/cometbft/protocolbuffers/go v1.36.1-20241120201313-68e42a58b301.1 h1:ETkPUd9encx5SP6yuo0BR7DOnQHDbmU0RMzHsu2dkuQ= +buf.build/gen/go/cometbft/cometbft/protocolbuffers/go v1.36.1-20241120201313-68e42a58b301.1/go.mod h1:HulBNxlqJNXVcysFv/RxTEWz+khiJg8SOmfgC1ktVTM= +buf.build/gen/go/cosmos/gogo-proto/protocolbuffers/go v1.36.1-20240130113600-88ef6483f90f.1 h1:X62BxjEhtx1/PWJPxg5BGahf1UXeFgM9dFfNpQ6kUPo= +buf.build/gen/go/cosmos/gogo-proto/protocolbuffers/go v1.36.1-20240130113600-88ef6483f90f.1/go.mod h1:GB5hdNJd6cahKmHcLArJo5wnV9TeZGMSz7ysK4YLvag= +cosmossdk.io/api v0.8.0 h1:E5Xifxu/3mPTLF79si9fyq4rR0wagubeVNmOz5duTUo= +cosmossdk.io/api v0.8.0/go.mod h1:hgJ83P0ZUu0rS1SZoVM6abk6ADOkiM259BVVlYtAPP0= cosmossdk.io/errors v1.0.1 h1:bzu+Kcr0kS/1DuPBtUFdWjzLqyUuCiyHjyJB6srBV/0= cosmossdk.io/errors v1.0.1/go.mod h1:MeelVSZThMi4bEakzhhhE/CKqVv3nOJDA25bIqRDu/U= cosmossdk.io/math v1.4.0 h1:XbgExXFnXmF/CccPPEto40gOO7FpWu9yWNAZPN3nkNQ= From a829d5c034ed4d86f7b0c791003384a011431a01 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 8 Jan 2025 21:25:17 +0000 Subject: [PATCH 3/8] build(deps): Bump google.golang.org/protobuf from 1.36.1 to 1.36.2 (#23239) Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: dependabot[bot] Co-authored-by: Alex | Interchain Labs --- api/go.mod | 2 +- api/go.sum | 4 ++-- client/v2/go.mod | 2 +- client/v2/go.sum | 4 ++-- collections/go.mod | 2 +- collections/go.sum | 4 ++-- collections/protocodec/go.mod | 2 +- collections/protocodec/go.sum | 4 ++-- depinject/go.mod | 2 +- depinject/go.sum | 4 ++-- go.mod | 2 +- go.sum | 4 ++-- math/go.mod | 2 +- math/go.sum | 4 ++-- orm/go.mod | 2 +- orm/go.sum | 4 ++-- runtime/v2/go.mod | 2 +- runtime/v2/go.sum | 4 ++-- server/v2/cometbft/go.mod | 2 +- server/v2/cometbft/go.sum | 4 ++-- server/v2/go.mod | 2 +- server/v2/go.sum | 4 ++-- server/v2/stf/go.mod | 2 +- server/v2/stf/go.sum | 4 ++-- simapp/v2/go.mod | 2 +- simapp/v2/go.sum | 4 ++-- store/go.mod | 2 +- store/go.sum | 4 ++-- store/v2/go.mod | 2 +- store/v2/go.sum | 4 ++-- systemtests/go.mod | 2 +- systemtests/go.sum | 4 ++-- tests/go.mod | 2 +- tests/go.sum | 4 ++-- tests/systemtests/go.mod | 2 +- tests/systemtests/go.sum | 4 ++-- tools/benchmark/go.mod | 2 +- tools/benchmark/go.sum | 4 ++-- tools/confix/go.mod | 2 +- tools/confix/go.sum | 4 ++-- tools/cosmovisor/go.mod | 2 +- tools/cosmovisor/go.sum | 4 ++-- tools/hubl/go.mod | 2 +- tools/hubl/go.sum | 4 ++-- x/accounts/defaults/base/go.mod | 2 +- x/accounts/defaults/base/go.sum | 4 ++-- x/accounts/defaults/lockup/go.mod | 2 +- x/accounts/defaults/lockup/go.sum | 4 ++-- x/accounts/defaults/multisig/go.mod | 2 +- x/accounts/defaults/multisig/go.sum | 4 ++-- x/accounts/go.mod | 2 +- x/accounts/go.sum | 4 ++-- x/authz/go.mod | 2 +- x/authz/go.sum | 4 ++-- x/bank/go.mod | 2 +- x/bank/go.sum | 4 ++-- x/circuit/go.mod | 2 +- x/circuit/go.sum | 4 ++-- x/consensus/go.mod | 2 +- x/consensus/go.sum | 4 ++-- x/distribution/go.mod | 2 +- x/distribution/go.sum | 4 ++-- x/epochs/go.mod | 2 +- x/epochs/go.sum | 4 ++-- x/evidence/go.mod | 2 +- x/evidence/go.sum | 4 ++-- x/feegrant/go.mod | 2 +- x/feegrant/go.sum | 4 ++-- x/gov/go.mod | 2 +- x/gov/go.sum | 4 ++-- x/group/go.mod | 2 +- x/group/go.sum | 4 ++-- x/mint/go.mod | 2 +- x/mint/go.sum | 4 ++-- x/nft/go.mod | 2 +- x/nft/go.sum | 4 ++-- x/protocolpool/go.mod | 2 +- x/protocolpool/go.sum | 4 ++-- x/slashing/go.mod | 2 +- x/slashing/go.sum | 4 ++-- x/staking/go.mod | 2 +- x/staking/go.sum | 4 ++-- x/tx/go.mod | 2 +- x/tx/go.sum | 4 ++-- x/upgrade/go.mod | 2 +- x/upgrade/go.sum | 4 ++-- 86 files changed, 129 insertions(+), 129 deletions(-) diff --git a/api/go.mod b/api/go.mod index 4a0989f5fba0..a549b33144cb 100644 --- a/api/go.mod +++ b/api/go.mod @@ -8,7 +8,7 @@ require ( github.com/cosmos/gogoproto v1.7.0 google.golang.org/genproto/googleapis/api v0.0.0-20240903143218-8af14fe29dc1 google.golang.org/grpc v1.68.1 - google.golang.org/protobuf v1.36.1 + google.golang.org/protobuf v1.36.2 ) require ( diff --git a/api/go.sum b/api/go.sum index 1239d9b29ef4..6f99ab55438a 100644 --- a/api/go.sum +++ b/api/go.sum @@ -22,5 +22,5 @@ google.golang.org/genproto/googleapis/rpc v0.0.0-20241202173237-19429a94021a h1: google.golang.org/genproto/googleapis/rpc v0.0.0-20241202173237-19429a94021a/go.mod h1:5uTbfoYQed2U9p3KIj2/Zzm02PYhndfdmML0qC3q3FU= google.golang.org/grpc v1.68.1 h1:oI5oTa11+ng8r8XMMN7jAOmWfPZWbYpCFaMUTACxkM0= google.golang.org/grpc v1.68.1/go.mod h1:+q1XYFJjShcqn0QZHvCyeR4CXPA+llXIeUIfIe00waw= -google.golang.org/protobuf v1.36.1 h1:yBPeRvTftaleIgM3PZ/WBIZ7XM/eEYAaEyCwvyjq/gk= -google.golang.org/protobuf v1.36.1/go.mod h1:9fA7Ob0pmnwhb644+1+CVWFRbNajQ6iRojtC/QF5bRE= +google.golang.org/protobuf v1.36.2 h1:R8FeyR1/eLmkutZOM5CWghmo5itiG9z0ktFlTVLuTmU= +google.golang.org/protobuf v1.36.2/go.mod h1:9fA7Ob0pmnwhb644+1+CVWFRbNajQ6iRojtC/QF5bRE= diff --git a/client/v2/go.mod b/client/v2/go.mod index 8a7f71e4578a..75b19f70d1df 100644 --- a/client/v2/go.mod +++ b/client/v2/go.mod @@ -14,7 +14,7 @@ require ( github.com/spf13/pflag v1.0.5 go.uber.org/mock v0.5.0 google.golang.org/grpc v1.68.1 - google.golang.org/protobuf v1.36.1 + google.golang.org/protobuf v1.36.2 gotest.tools/v3 v3.5.1 sigs.k8s.io/yaml v1.4.0 ) diff --git a/client/v2/go.sum b/client/v2/go.sum index fe4132ec1dde..196265e653bf 100644 --- a/client/v2/go.sum +++ b/client/v2/go.sum @@ -624,8 +624,8 @@ google.golang.org/protobuf v1.23.1-0.20200526195155-81db48ad09cc/go.mod h1:EGpAD google.golang.org/protobuf v1.25.0/go.mod h1:9JNX74DMeImyA3h4bdi1ymwjUzf21/xIlbajtzgsN7c= google.golang.org/protobuf v1.26.0-rc.1/go.mod h1:jlhhOSvTdKEhbULTjvd4ARK9grFBp09yW+WbY/TyQbw= google.golang.org/protobuf v1.26.0/go.mod h1:9q0QmTI4eRPtz6boOQmLYwt+qCgq0jsYwAQnmE0givc= -google.golang.org/protobuf v1.36.1 h1:yBPeRvTftaleIgM3PZ/WBIZ7XM/eEYAaEyCwvyjq/gk= -google.golang.org/protobuf v1.36.1/go.mod h1:9fA7Ob0pmnwhb644+1+CVWFRbNajQ6iRojtC/QF5bRE= +google.golang.org/protobuf v1.36.2 h1:R8FeyR1/eLmkutZOM5CWghmo5itiG9z0ktFlTVLuTmU= +google.golang.org/protobuf v1.36.2/go.mod h1:9fA7Ob0pmnwhb644+1+CVWFRbNajQ6iRojtC/QF5bRE= gopkg.in/alecthomas/kingpin.v2 v2.2.6/go.mod h1:FMv+mEhP44yOT+4EoQTLFTRgOQ1FBLkstjWtayDeSgw= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= diff --git a/collections/go.mod b/collections/go.mod index 0fe6d050c506..838a30121a56 100644 --- a/collections/go.mod +++ b/collections/go.mod @@ -9,7 +9,7 @@ require ( github.com/cosmos/gogoproto v1.7.0 github.com/stretchr/testify v1.10.0 github.com/tidwall/btree v1.7.0 - google.golang.org/protobuf v1.36.1 + google.golang.org/protobuf v1.36.2 pgregory.net/rapid v1.1.0 ) diff --git a/collections/go.sum b/collections/go.sum index 4593d7163c6f..69d6a76be3a0 100644 --- a/collections/go.sum +++ b/collections/go.sum @@ -18,8 +18,8 @@ github.com/stretchr/testify v1.10.0 h1:Xv5erBjTwe/5IxqUQTdXv5kgmIvbHo3QQyRwhJsOf github.com/stretchr/testify v1.10.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY= github.com/tidwall/btree v1.7.0 h1:L1fkJH/AuEh5zBnnBbmTwQ5Lt+bRJ5A8EWecslvo9iI= github.com/tidwall/btree v1.7.0/go.mod h1:twD9XRA5jj9VUQGELzDO4HPQTNJsoWWfYEL+EUQ2cKY= -google.golang.org/protobuf v1.36.1 h1:yBPeRvTftaleIgM3PZ/WBIZ7XM/eEYAaEyCwvyjq/gk= -google.golang.org/protobuf v1.36.1/go.mod h1:9fA7Ob0pmnwhb644+1+CVWFRbNajQ6iRojtC/QF5bRE= +google.golang.org/protobuf v1.36.2 h1:R8FeyR1/eLmkutZOM5CWghmo5itiG9z0ktFlTVLuTmU= +google.golang.org/protobuf v1.36.2/go.mod h1:9fA7Ob0pmnwhb644+1+CVWFRbNajQ6iRojtC/QF5bRE= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA= diff --git a/collections/protocodec/go.mod b/collections/protocodec/go.mod index d2afeba0898c..0b8163296619 100644 --- a/collections/protocodec/go.mod +++ b/collections/protocodec/go.mod @@ -8,7 +8,7 @@ require ( github.com/cosmos/gogoproto v1.7.0 github.com/google/go-cmp v0.6.0 github.com/stretchr/testify v1.10.0 - google.golang.org/protobuf v1.36.1 + google.golang.org/protobuf v1.36.2 ) require ( diff --git a/collections/protocodec/go.sum b/collections/protocodec/go.sum index dc2dac8a3643..e1b13f471e23 100644 --- a/collections/protocodec/go.sum +++ b/collections/protocodec/go.sum @@ -200,8 +200,8 @@ google.golang.org/protobuf v1.21.0/go.mod h1:47Nbq4nVaFHyn7ilMalzfO3qCViNmqZ2kzi google.golang.org/protobuf v1.23.0/go.mod h1:EGpADcykh3NcUnDUJcl1+ZksZNG86OlYog2l/sGQquU= google.golang.org/protobuf v1.26.0-rc.1/go.mod h1:jlhhOSvTdKEhbULTjvd4ARK9grFBp09yW+WbY/TyQbw= google.golang.org/protobuf v1.26.0/go.mod h1:9q0QmTI4eRPtz6boOQmLYwt+qCgq0jsYwAQnmE0givc= -google.golang.org/protobuf v1.36.1 h1:yBPeRvTftaleIgM3PZ/WBIZ7XM/eEYAaEyCwvyjq/gk= -google.golang.org/protobuf v1.36.1/go.mod h1:9fA7Ob0pmnwhb644+1+CVWFRbNajQ6iRojtC/QF5bRE= +google.golang.org/protobuf v1.36.2 h1:R8FeyR1/eLmkutZOM5CWghmo5itiG9z0ktFlTVLuTmU= +google.golang.org/protobuf v1.36.2/go.mod h1:9fA7Ob0pmnwhb644+1+CVWFRbNajQ6iRojtC/QF5bRE= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c h1:Hei/4ADfdWqJk1ZMxUNpqntNwaWcugrBjAiHlqqRiVk= gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c/go.mod h1:JHkPIbrfpd72SG/EVd6muEfDQjcINNoR0C8j2r3qZ4Q= diff --git a/depinject/go.mod b/depinject/go.mod index 6d3982089ee6..8c9b326167dd 100644 --- a/depinject/go.mod +++ b/depinject/go.mod @@ -8,7 +8,7 @@ require ( github.com/stretchr/testify v1.10.0 golang.org/x/exp v0.0.0-20231006140011-7918f672742d google.golang.org/grpc v1.68.1 - google.golang.org/protobuf v1.36.1 + google.golang.org/protobuf v1.36.2 gotest.tools/v3 v3.5.1 sigs.k8s.io/yaml v1.4.0 ) diff --git a/depinject/go.sum b/depinject/go.sum index 6ca7a189237b..946654f8bc0d 100644 --- a/depinject/go.sum +++ b/depinject/go.sum @@ -50,8 +50,8 @@ google.golang.org/genproto/googleapis/rpc v0.0.0-20241202173237-19429a94021a h1: google.golang.org/genproto/googleapis/rpc v0.0.0-20241202173237-19429a94021a/go.mod h1:5uTbfoYQed2U9p3KIj2/Zzm02PYhndfdmML0qC3q3FU= google.golang.org/grpc v1.67.1 h1:zWnc1Vrcno+lHZCOofnIMvycFcc0QRGIzm9dhnDX68E= google.golang.org/grpc v1.67.1/go.mod h1:1gLDyUQU7CTLJI90u3nXZ9ekeghjeM7pTDZlqFNg2AA= -google.golang.org/protobuf v1.36.1 h1:yBPeRvTftaleIgM3PZ/WBIZ7XM/eEYAaEyCwvyjq/gk= -google.golang.org/protobuf v1.36.1/go.mod h1:9fA7Ob0pmnwhb644+1+CVWFRbNajQ6iRojtC/QF5bRE= +google.golang.org/protobuf v1.36.2 h1:R8FeyR1/eLmkutZOM5CWghmo5itiG9z0ktFlTVLuTmU= +google.golang.org/protobuf v1.36.2/go.mod h1:9fA7Ob0pmnwhb644+1+CVWFRbNajQ6iRojtC/QF5bRE= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c h1:Hei/4ADfdWqJk1ZMxUNpqntNwaWcugrBjAiHlqqRiVk= gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c/go.mod h1:JHkPIbrfpd72SG/EVd6muEfDQjcINNoR0C8j2r3qZ4Q= diff --git a/go.mod b/go.mod index fe3fcdb62703..695dc906975d 100644 --- a/go.mod +++ b/go.mod @@ -52,7 +52,7 @@ require ( golang.org/x/crypto v0.32.0 google.golang.org/genproto/googleapis/api v0.0.0-20240903143218-8af14fe29dc1 google.golang.org/grpc v1.68.1 - google.golang.org/protobuf v1.36.1 + google.golang.org/protobuf v1.36.2 gotest.tools/v3 v3.5.1 pgregory.net/rapid v1.1.0 sigs.k8s.io/yaml v1.4.0 diff --git a/go.sum b/go.sum index cd3814469762..34a3daa5bdaf 100644 --- a/go.sum +++ b/go.sum @@ -595,8 +595,8 @@ google.golang.org/protobuf v1.22.0/go.mod h1:EGpADcykh3NcUnDUJcl1+ZksZNG86OlYog2 google.golang.org/protobuf v1.23.0/go.mod h1:EGpADcykh3NcUnDUJcl1+ZksZNG86OlYog2l/sGQquU= google.golang.org/protobuf v1.23.1-0.20200526195155-81db48ad09cc/go.mod h1:EGpADcykh3NcUnDUJcl1+ZksZNG86OlYog2l/sGQquU= google.golang.org/protobuf v1.25.0/go.mod h1:9JNX74DMeImyA3h4bdi1ymwjUzf21/xIlbajtzgsN7c= -google.golang.org/protobuf v1.36.1 h1:yBPeRvTftaleIgM3PZ/WBIZ7XM/eEYAaEyCwvyjq/gk= -google.golang.org/protobuf v1.36.1/go.mod h1:9fA7Ob0pmnwhb644+1+CVWFRbNajQ6iRojtC/QF5bRE= +google.golang.org/protobuf v1.36.2 h1:R8FeyR1/eLmkutZOM5CWghmo5itiG9z0ktFlTVLuTmU= +google.golang.org/protobuf v1.36.2/go.mod h1:9fA7Ob0pmnwhb644+1+CVWFRbNajQ6iRojtC/QF5bRE= gopkg.in/alecthomas/kingpin.v2 v2.2.6/go.mod h1:FMv+mEhP44yOT+4EoQTLFTRgOQ1FBLkstjWtayDeSgw= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= diff --git a/math/go.mod b/math/go.mod index aa7c2034ff21..c8142e18930c 100644 --- a/math/go.mod +++ b/math/go.mod @@ -17,7 +17,7 @@ require ( golang.org/x/sys v0.24.0 // indirect google.golang.org/genproto/googleapis/rpc v0.0.0-20240709173604-40e1e62336c5 // indirect google.golang.org/grpc v1.64.1 // indirect - google.golang.org/protobuf v1.36.1 // indirect + google.golang.org/protobuf v1.36.2 // indirect ) require ( diff --git a/math/go.sum b/math/go.sum index a5c50d32b814..85ea9aeeb4fd 100644 --- a/math/go.sum +++ b/math/go.sum @@ -36,8 +36,8 @@ google.golang.org/genproto/googleapis/rpc v0.0.0-20240709173604-40e1e62336c5 h1: google.golang.org/genproto/googleapis/rpc v0.0.0-20240709173604-40e1e62336c5/go.mod h1:Ue6ibwXGpU+dqIcODieyLOcgj7z8+IcskoNIgZxtrFY= google.golang.org/grpc v1.64.1 h1:LKtvyfbX3UGVPFcGqJ9ItpVWW6oN/2XqTxfAnwRRXiA= google.golang.org/grpc v1.64.1/go.mod h1:hiQF4LFZelK2WKaP6W0L92zGHtiQdZxk8CrSdvyjeP0= -google.golang.org/protobuf v1.36.1 h1:yBPeRvTftaleIgM3PZ/WBIZ7XM/eEYAaEyCwvyjq/gk= -google.golang.org/protobuf v1.36.1/go.mod h1:9fA7Ob0pmnwhb644+1+CVWFRbNajQ6iRojtC/QF5bRE= +google.golang.org/protobuf v1.36.2 h1:R8FeyR1/eLmkutZOM5CWghmo5itiG9z0ktFlTVLuTmU= +google.golang.org/protobuf v1.36.2/go.mod h1:9fA7Ob0pmnwhb644+1+CVWFRbNajQ6iRojtC/QF5bRE= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c h1:Hei/4ADfdWqJk1ZMxUNpqntNwaWcugrBjAiHlqqRiVk= gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c/go.mod h1:JHkPIbrfpd72SG/EVd6muEfDQjcINNoR0C8j2r3qZ4Q= diff --git a/orm/go.mod b/orm/go.mod index 35b92a760566..8d387b30adba 100644 --- a/orm/go.mod +++ b/orm/go.mod @@ -17,7 +17,7 @@ require ( go.uber.org/mock v0.5.0 golang.org/x/exp v0.0.0-20241217172543-b2144cdd0a67 google.golang.org/grpc v1.68.1 - google.golang.org/protobuf v1.36.1 + google.golang.org/protobuf v1.36.2 gotest.tools/v3 v3.5.1 pgregory.net/rapid v1.1.0 ) diff --git a/orm/go.sum b/orm/go.sum index 3191f18b056e..ce785f99fc33 100644 --- a/orm/go.sum +++ b/orm/go.sum @@ -250,8 +250,8 @@ google.golang.org/protobuf v1.21.0/go.mod h1:47Nbq4nVaFHyn7ilMalzfO3qCViNmqZ2kzi google.golang.org/protobuf v1.23.0/go.mod h1:EGpADcykh3NcUnDUJcl1+ZksZNG86OlYog2l/sGQquU= google.golang.org/protobuf v1.26.0-rc.1/go.mod h1:jlhhOSvTdKEhbULTjvd4ARK9grFBp09yW+WbY/TyQbw= google.golang.org/protobuf v1.26.0/go.mod h1:9q0QmTI4eRPtz6boOQmLYwt+qCgq0jsYwAQnmE0givc= -google.golang.org/protobuf v1.36.1 h1:yBPeRvTftaleIgM3PZ/WBIZ7XM/eEYAaEyCwvyjq/gk= -google.golang.org/protobuf v1.36.1/go.mod h1:9fA7Ob0pmnwhb644+1+CVWFRbNajQ6iRojtC/QF5bRE= +google.golang.org/protobuf v1.36.2 h1:R8FeyR1/eLmkutZOM5CWghmo5itiG9z0ktFlTVLuTmU= +google.golang.org/protobuf v1.36.2/go.mod h1:9fA7Ob0pmnwhb644+1+CVWFRbNajQ6iRojtC/QF5bRE= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c h1:Hei/4ADfdWqJk1ZMxUNpqntNwaWcugrBjAiHlqqRiVk= gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c/go.mod h1:JHkPIbrfpd72SG/EVd6muEfDQjcINNoR0C8j2r3qZ4Q= diff --git a/runtime/v2/go.mod b/runtime/v2/go.mod index f7370cfd03ae..021bf120fe02 100644 --- a/runtime/v2/go.mod +++ b/runtime/v2/go.mod @@ -22,7 +22,7 @@ require ( github.com/cosmos/gogoproto v1.7.0 github.com/stretchr/testify v1.10.0 google.golang.org/grpc v1.68.1 - google.golang.org/protobuf v1.36.1 + google.golang.org/protobuf v1.36.2 ) require ( diff --git a/runtime/v2/go.sum b/runtime/v2/go.sum index 87d40c6b7a67..48d451d57446 100644 --- a/runtime/v2/go.sum +++ b/runtime/v2/go.sum @@ -362,8 +362,8 @@ google.golang.org/protobuf v1.21.0/go.mod h1:47Nbq4nVaFHyn7ilMalzfO3qCViNmqZ2kzi google.golang.org/protobuf v1.23.0/go.mod h1:EGpADcykh3NcUnDUJcl1+ZksZNG86OlYog2l/sGQquU= google.golang.org/protobuf v1.26.0-rc.1/go.mod h1:jlhhOSvTdKEhbULTjvd4ARK9grFBp09yW+WbY/TyQbw= google.golang.org/protobuf v1.26.0/go.mod h1:9q0QmTI4eRPtz6boOQmLYwt+qCgq0jsYwAQnmE0givc= -google.golang.org/protobuf v1.36.1 h1:yBPeRvTftaleIgM3PZ/WBIZ7XM/eEYAaEyCwvyjq/gk= -google.golang.org/protobuf v1.36.1/go.mod h1:9fA7Ob0pmnwhb644+1+CVWFRbNajQ6iRojtC/QF5bRE= +google.golang.org/protobuf v1.36.2 h1:R8FeyR1/eLmkutZOM5CWghmo5itiG9z0ktFlTVLuTmU= +google.golang.org/protobuf v1.36.2/go.mod h1:9fA7Ob0pmnwhb644+1+CVWFRbNajQ6iRojtC/QF5bRE= gopkg.in/alecthomas/kingpin.v2 v2.2.6/go.mod h1:FMv+mEhP44yOT+4EoQTLFTRgOQ1FBLkstjWtayDeSgw= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= diff --git a/server/v2/cometbft/go.mod b/server/v2/cometbft/go.mod index dbc2396c7eae..a2c9ce76727e 100644 --- a/server/v2/cometbft/go.mod +++ b/server/v2/cometbft/go.mod @@ -34,7 +34,7 @@ require ( github.com/spf13/pflag v1.0.5 github.com/stretchr/testify v1.10.0 google.golang.org/grpc v1.68.1 - google.golang.org/protobuf v1.36.1 + google.golang.org/protobuf v1.36.2 sigs.k8s.io/yaml v1.4.0 ) diff --git a/server/v2/cometbft/go.sum b/server/v2/cometbft/go.sum index 11d19e5744d0..d0e478ec3f2f 100644 --- a/server/v2/cometbft/go.sum +++ b/server/v2/cometbft/go.sum @@ -653,8 +653,8 @@ google.golang.org/protobuf v1.23.1-0.20200526195155-81db48ad09cc/go.mod h1:EGpAD google.golang.org/protobuf v1.25.0/go.mod h1:9JNX74DMeImyA3h4bdi1ymwjUzf21/xIlbajtzgsN7c= google.golang.org/protobuf v1.26.0-rc.1/go.mod h1:jlhhOSvTdKEhbULTjvd4ARK9grFBp09yW+WbY/TyQbw= google.golang.org/protobuf v1.26.0/go.mod h1:9q0QmTI4eRPtz6boOQmLYwt+qCgq0jsYwAQnmE0givc= -google.golang.org/protobuf v1.36.1 h1:yBPeRvTftaleIgM3PZ/WBIZ7XM/eEYAaEyCwvyjq/gk= -google.golang.org/protobuf v1.36.1/go.mod h1:9fA7Ob0pmnwhb644+1+CVWFRbNajQ6iRojtC/QF5bRE= +google.golang.org/protobuf v1.36.2 h1:R8FeyR1/eLmkutZOM5CWghmo5itiG9z0ktFlTVLuTmU= +google.golang.org/protobuf v1.36.2/go.mod h1:9fA7Ob0pmnwhb644+1+CVWFRbNajQ6iRojtC/QF5bRE= gopkg.in/alecthomas/kingpin.v2 v2.2.6/go.mod h1:FMv+mEhP44yOT+4EoQTLFTRgOQ1FBLkstjWtayDeSgw= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= diff --git a/server/v2/go.mod b/server/v2/go.mod index acda0814083b..c11d3912ef44 100644 --- a/server/v2/go.mod +++ b/server/v2/go.mod @@ -34,7 +34,7 @@ require ( github.com/stretchr/testify v1.10.0 google.golang.org/genproto/googleapis/api v0.0.0-20240903143218-8af14fe29dc1 google.golang.org/grpc v1.68.1 - google.golang.org/protobuf v1.36.1 + google.golang.org/protobuf v1.36.2 ) require ( diff --git a/server/v2/go.sum b/server/v2/go.sum index ba10359d7643..baa8608301df 100644 --- a/server/v2/go.sum +++ b/server/v2/go.sum @@ -504,8 +504,8 @@ google.golang.org/protobuf v1.26.0-rc.1/go.mod h1:jlhhOSvTdKEhbULTjvd4ARK9grFBp0 google.golang.org/protobuf v1.26.0/go.mod h1:9q0QmTI4eRPtz6boOQmLYwt+qCgq0jsYwAQnmE0givc= google.golang.org/protobuf v1.27.1/go.mod h1:9q0QmTI4eRPtz6boOQmLYwt+qCgq0jsYwAQnmE0givc= google.golang.org/protobuf v1.28.1/go.mod h1:HV8QOd/L58Z+nl8r43ehVNZIU/HEI6OcFqwMG9pJV4I= -google.golang.org/protobuf v1.36.1 h1:yBPeRvTftaleIgM3PZ/WBIZ7XM/eEYAaEyCwvyjq/gk= -google.golang.org/protobuf v1.36.1/go.mod h1:9fA7Ob0pmnwhb644+1+CVWFRbNajQ6iRojtC/QF5bRE= +google.golang.org/protobuf v1.36.2 h1:R8FeyR1/eLmkutZOM5CWghmo5itiG9z0ktFlTVLuTmU= +google.golang.org/protobuf v1.36.2/go.mod h1:9fA7Ob0pmnwhb644+1+CVWFRbNajQ6iRojtC/QF5bRE= gopkg.in/alecthomas/kingpin.v2 v2.2.6/go.mod h1:FMv+mEhP44yOT+4EoQTLFTRgOQ1FBLkstjWtayDeSgw= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= diff --git a/server/v2/stf/go.mod b/server/v2/stf/go.mod index 593c76e0cd1d..e56b1fac543e 100644 --- a/server/v2/stf/go.mod +++ b/server/v2/stf/go.mod @@ -12,5 +12,5 @@ require ( require ( github.com/google/go-cmp v0.6.0 // indirect - google.golang.org/protobuf v1.36.1 // indirect + google.golang.org/protobuf v1.36.2 // indirect ) diff --git a/server/v2/stf/go.sum b/server/v2/stf/go.sum index 8577f4f02226..76dc0a279c32 100644 --- a/server/v2/stf/go.sum +++ b/server/v2/stf/go.sum @@ -12,5 +12,5 @@ github.com/google/go-cmp v0.6.0 h1:ofyhxvXcZhMsU5ulbFiLKl/XBFqE1GSq7atu8tAmTRI= github.com/google/go-cmp v0.6.0/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/tidwall/btree v1.7.0 h1:L1fkJH/AuEh5zBnnBbmTwQ5Lt+bRJ5A8EWecslvo9iI= github.com/tidwall/btree v1.7.0/go.mod h1:twD9XRA5jj9VUQGELzDO4HPQTNJsoWWfYEL+EUQ2cKY= -google.golang.org/protobuf v1.36.1 h1:yBPeRvTftaleIgM3PZ/WBIZ7XM/eEYAaEyCwvyjq/gk= -google.golang.org/protobuf v1.36.1/go.mod h1:9fA7Ob0pmnwhb644+1+CVWFRbNajQ6iRojtC/QF5bRE= +google.golang.org/protobuf v1.36.2 h1:R8FeyR1/eLmkutZOM5CWghmo5itiG9z0ktFlTVLuTmU= +google.golang.org/protobuf v1.36.2/go.mod h1:9fA7Ob0pmnwhb644+1+CVWFRbNajQ6iRojtC/QF5bRE= diff --git a/simapp/v2/go.mod b/simapp/v2/go.mod index f83d1a933f6b..8da30ffd53c4 100644 --- a/simapp/v2/go.mod +++ b/simapp/v2/go.mod @@ -45,7 +45,7 @@ require ( github.com/spf13/pflag v1.0.5 github.com/spf13/viper v1.19.0 github.com/stretchr/testify v1.10.0 - google.golang.org/protobuf v1.36.1 + google.golang.org/protobuf v1.36.2 ) require github.com/cosmos/iavl/v2 v2.0.0-alpha.4 // indirect diff --git a/simapp/v2/go.sum b/simapp/v2/go.sum index a126c2b7ba39..fec420aac11d 100644 --- a/simapp/v2/go.sum +++ b/simapp/v2/go.sum @@ -1426,8 +1426,8 @@ google.golang.org/protobuf v1.26.0/go.mod h1:9q0QmTI4eRPtz6boOQmLYwt+qCgq0jsYwAQ google.golang.org/protobuf v1.27.1/go.mod h1:9q0QmTI4eRPtz6boOQmLYwt+qCgq0jsYwAQnmE0givc= google.golang.org/protobuf v1.28.0/go.mod h1:HV8QOd/L58Z+nl8r43ehVNZIU/HEI6OcFqwMG9pJV4I= google.golang.org/protobuf v1.28.1/go.mod h1:HV8QOd/L58Z+nl8r43ehVNZIU/HEI6OcFqwMG9pJV4I= -google.golang.org/protobuf v1.36.1 h1:yBPeRvTftaleIgM3PZ/WBIZ7XM/eEYAaEyCwvyjq/gk= -google.golang.org/protobuf v1.36.1/go.mod h1:9fA7Ob0pmnwhb644+1+CVWFRbNajQ6iRojtC/QF5bRE= +google.golang.org/protobuf v1.36.2 h1:R8FeyR1/eLmkutZOM5CWghmo5itiG9z0ktFlTVLuTmU= +google.golang.org/protobuf v1.36.2/go.mod h1:9fA7Ob0pmnwhb644+1+CVWFRbNajQ6iRojtC/QF5bRE= gopkg.in/alecthomas/kingpin.v2 v2.2.6/go.mod h1:FMv+mEhP44yOT+4EoQTLFTRgOQ1FBLkstjWtayDeSgw= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= diff --git a/store/go.mod b/store/go.mod index 0a200d4a382e..b939973b37dc 100644 --- a/store/go.mod +++ b/store/go.mod @@ -22,7 +22,7 @@ require ( github.com/tidwall/btree v1.7.0 go.uber.org/mock v0.5.0 google.golang.org/grpc v1.68.1 - google.golang.org/protobuf v1.36.1 + google.golang.org/protobuf v1.36.2 gotest.tools/v3 v3.5.1 ) diff --git a/store/go.sum b/store/go.sum index ee15d9a98408..cffe26868218 100644 --- a/store/go.sum +++ b/store/go.sum @@ -321,8 +321,8 @@ google.golang.org/protobuf v1.21.0/go.mod h1:47Nbq4nVaFHyn7ilMalzfO3qCViNmqZ2kzi google.golang.org/protobuf v1.23.0/go.mod h1:EGpADcykh3NcUnDUJcl1+ZksZNG86OlYog2l/sGQquU= google.golang.org/protobuf v1.26.0-rc.1/go.mod h1:jlhhOSvTdKEhbULTjvd4ARK9grFBp09yW+WbY/TyQbw= google.golang.org/protobuf v1.26.0/go.mod h1:9q0QmTI4eRPtz6boOQmLYwt+qCgq0jsYwAQnmE0givc= -google.golang.org/protobuf v1.36.1 h1:yBPeRvTftaleIgM3PZ/WBIZ7XM/eEYAaEyCwvyjq/gk= -google.golang.org/protobuf v1.36.1/go.mod h1:9fA7Ob0pmnwhb644+1+CVWFRbNajQ6iRojtC/QF5bRE= +google.golang.org/protobuf v1.36.2 h1:R8FeyR1/eLmkutZOM5CWghmo5itiG9z0ktFlTVLuTmU= +google.golang.org/protobuf v1.36.2/go.mod h1:9fA7Ob0pmnwhb644+1+CVWFRbNajQ6iRojtC/QF5bRE= gopkg.in/alecthomas/kingpin.v2 v2.2.6/go.mod h1:FMv+mEhP44yOT+4EoQTLFTRgOQ1FBLkstjWtayDeSgw= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= diff --git a/store/v2/go.mod b/store/v2/go.mod index 0f2bc2001fb4..d5f44f70d1b5 100644 --- a/store/v2/go.mod +++ b/store/v2/go.mod @@ -71,6 +71,6 @@ require ( golang.org/x/exp v0.0.0-20231006140011-7918f672742d // indirect golang.org/x/sys v0.28.0 // indirect golang.org/x/text v0.21.0 // indirect - google.golang.org/protobuf v1.36.1 // indirect + google.golang.org/protobuf v1.36.2 // indirect gopkg.in/yaml.v3 v3.0.1 // indirect ) diff --git a/store/v2/go.sum b/store/v2/go.sum index a1373fdc900b..ee8e17ab3f5c 100644 --- a/store/v2/go.sum +++ b/store/v2/go.sum @@ -345,8 +345,8 @@ google.golang.org/protobuf v1.21.0/go.mod h1:47Nbq4nVaFHyn7ilMalzfO3qCViNmqZ2kzi google.golang.org/protobuf v1.23.0/go.mod h1:EGpADcykh3NcUnDUJcl1+ZksZNG86OlYog2l/sGQquU= google.golang.org/protobuf v1.26.0-rc.1/go.mod h1:jlhhOSvTdKEhbULTjvd4ARK9grFBp09yW+WbY/TyQbw= google.golang.org/protobuf v1.26.0/go.mod h1:9q0QmTI4eRPtz6boOQmLYwt+qCgq0jsYwAQnmE0givc= -google.golang.org/protobuf v1.36.1 h1:yBPeRvTftaleIgM3PZ/WBIZ7XM/eEYAaEyCwvyjq/gk= -google.golang.org/protobuf v1.36.1/go.mod h1:9fA7Ob0pmnwhb644+1+CVWFRbNajQ6iRojtC/QF5bRE= +google.golang.org/protobuf v1.36.2 h1:R8FeyR1/eLmkutZOM5CWghmo5itiG9z0ktFlTVLuTmU= +google.golang.org/protobuf v1.36.2/go.mod h1:9fA7Ob0pmnwhb644+1+CVWFRbNajQ6iRojtC/QF5bRE= gopkg.in/alecthomas/kingpin.v2 v2.2.6/go.mod h1:FMv+mEhP44yOT+4EoQTLFTRgOQ1FBLkstjWtayDeSgw= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= diff --git a/systemtests/go.mod b/systemtests/go.mod index ef8261c7441e..2480e1641e74 100644 --- a/systemtests/go.mod +++ b/systemtests/go.mod @@ -160,7 +160,7 @@ require ( google.golang.org/genproto v0.0.0-20240227224415-6ceb2ff114de // indirect google.golang.org/genproto/googleapis/api v0.0.0-20240903143218-8af14fe29dc1 // indirect google.golang.org/genproto/googleapis/rpc v0.0.0-20241202173237-19429a94021a // indirect - google.golang.org/protobuf v1.36.1 // indirect + google.golang.org/protobuf v1.36.2 // indirect gopkg.in/ini.v1 v1.67.0 // indirect gopkg.in/yaml.v3 v3.0.1 // indirect gotest.tools/v3 v3.5.1 // indirect diff --git a/systemtests/go.sum b/systemtests/go.sum index 530bd04c5ce8..f7969a82f144 100644 --- a/systemtests/go.sum +++ b/systemtests/go.sum @@ -987,8 +987,8 @@ google.golang.org/protobuf v1.26.0-rc.1/go.mod h1:jlhhOSvTdKEhbULTjvd4ARK9grFBp0 google.golang.org/protobuf v1.26.0/go.mod h1:9q0QmTI4eRPtz6boOQmLYwt+qCgq0jsYwAQnmE0givc= google.golang.org/protobuf v1.27.1/go.mod h1:9q0QmTI4eRPtz6boOQmLYwt+qCgq0jsYwAQnmE0givc= google.golang.org/protobuf v1.28.1/go.mod h1:HV8QOd/L58Z+nl8r43ehVNZIU/HEI6OcFqwMG9pJV4I= -google.golang.org/protobuf v1.36.1 h1:yBPeRvTftaleIgM3PZ/WBIZ7XM/eEYAaEyCwvyjq/gk= -google.golang.org/protobuf v1.36.1/go.mod h1:9fA7Ob0pmnwhb644+1+CVWFRbNajQ6iRojtC/QF5bRE= +google.golang.org/protobuf v1.36.2 h1:R8FeyR1/eLmkutZOM5CWghmo5itiG9z0ktFlTVLuTmU= +google.golang.org/protobuf v1.36.2/go.mod h1:9fA7Ob0pmnwhb644+1+CVWFRbNajQ6iRojtC/QF5bRE= gopkg.in/alecthomas/kingpin.v2 v2.2.6/go.mod h1:FMv+mEhP44yOT+4EoQTLFTRgOQ1FBLkstjWtayDeSgw= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= diff --git a/tests/go.mod b/tests/go.mod index 3aecee850fea..1313ac40f07a 100644 --- a/tests/go.mod +++ b/tests/go.mod @@ -24,7 +24,7 @@ require ( github.com/stretchr/testify v1.10.0 go.uber.org/mock v0.5.0 google.golang.org/grpc v1.68.1 - google.golang.org/protobuf v1.36.1 + google.golang.org/protobuf v1.36.2 gotest.tools/v3 v3.5.1 pgregory.net/rapid v1.1.0 ) diff --git a/tests/go.sum b/tests/go.sum index ad66face19f2..f348fd387e5d 100644 --- a/tests/go.sum +++ b/tests/go.sum @@ -1370,8 +1370,8 @@ google.golang.org/protobuf v1.26.0/go.mod h1:9q0QmTI4eRPtz6boOQmLYwt+qCgq0jsYwAQ google.golang.org/protobuf v1.27.1/go.mod h1:9q0QmTI4eRPtz6boOQmLYwt+qCgq0jsYwAQnmE0givc= google.golang.org/protobuf v1.28.0/go.mod h1:HV8QOd/L58Z+nl8r43ehVNZIU/HEI6OcFqwMG9pJV4I= google.golang.org/protobuf v1.28.1/go.mod h1:HV8QOd/L58Z+nl8r43ehVNZIU/HEI6OcFqwMG9pJV4I= -google.golang.org/protobuf v1.36.1 h1:yBPeRvTftaleIgM3PZ/WBIZ7XM/eEYAaEyCwvyjq/gk= -google.golang.org/protobuf v1.36.1/go.mod h1:9fA7Ob0pmnwhb644+1+CVWFRbNajQ6iRojtC/QF5bRE= +google.golang.org/protobuf v1.36.2 h1:R8FeyR1/eLmkutZOM5CWghmo5itiG9z0ktFlTVLuTmU= +google.golang.org/protobuf v1.36.2/go.mod h1:9fA7Ob0pmnwhb644+1+CVWFRbNajQ6iRojtC/QF5bRE= gopkg.in/alecthomas/kingpin.v2 v2.2.6/go.mod h1:FMv+mEhP44yOT+4EoQTLFTRgOQ1FBLkstjWtayDeSgw= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= diff --git a/tests/systemtests/go.mod b/tests/systemtests/go.mod index eb7401f470d7..955c08f073a7 100644 --- a/tests/systemtests/go.mod +++ b/tests/systemtests/go.mod @@ -164,7 +164,7 @@ require ( google.golang.org/genproto/googleapis/api v0.0.0-20240903143218-8af14fe29dc1 // indirect google.golang.org/genproto/googleapis/rpc v0.0.0-20241202173237-19429a94021a // indirect google.golang.org/grpc v1.68.1 // indirect - google.golang.org/protobuf v1.36.1 // indirect + google.golang.org/protobuf v1.36.2 // indirect gopkg.in/ini.v1 v1.67.0 // indirect gopkg.in/yaml.v3 v3.0.1 // indirect gotest.tools/v3 v3.5.1 // indirect diff --git a/tests/systemtests/go.sum b/tests/systemtests/go.sum index bc35001acc1d..0fdedda689cc 100644 --- a/tests/systemtests/go.sum +++ b/tests/systemtests/go.sum @@ -989,8 +989,8 @@ google.golang.org/protobuf v1.26.0-rc.1/go.mod h1:jlhhOSvTdKEhbULTjvd4ARK9grFBp0 google.golang.org/protobuf v1.26.0/go.mod h1:9q0QmTI4eRPtz6boOQmLYwt+qCgq0jsYwAQnmE0givc= google.golang.org/protobuf v1.27.1/go.mod h1:9q0QmTI4eRPtz6boOQmLYwt+qCgq0jsYwAQnmE0givc= google.golang.org/protobuf v1.28.1/go.mod h1:HV8QOd/L58Z+nl8r43ehVNZIU/HEI6OcFqwMG9pJV4I= -google.golang.org/protobuf v1.36.1 h1:yBPeRvTftaleIgM3PZ/WBIZ7XM/eEYAaEyCwvyjq/gk= -google.golang.org/protobuf v1.36.1/go.mod h1:9fA7Ob0pmnwhb644+1+CVWFRbNajQ6iRojtC/QF5bRE= +google.golang.org/protobuf v1.36.2 h1:R8FeyR1/eLmkutZOM5CWghmo5itiG9z0ktFlTVLuTmU= +google.golang.org/protobuf v1.36.2/go.mod h1:9fA7Ob0pmnwhb644+1+CVWFRbNajQ6iRojtC/QF5bRE= gopkg.in/alecthomas/kingpin.v2 v2.2.6/go.mod h1:FMv+mEhP44yOT+4EoQTLFTRgOQ1FBLkstjWtayDeSgw= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= diff --git a/tools/benchmark/go.mod b/tools/benchmark/go.mod index 8d6670b47874..d90b5c117e23 100644 --- a/tools/benchmark/go.mod +++ b/tools/benchmark/go.mod @@ -142,7 +142,7 @@ require ( google.golang.org/genproto v0.0.0-20240227224415-6ceb2ff114de // indirect google.golang.org/genproto/googleapis/api v0.0.0-20240903143218-8af14fe29dc1 // indirect google.golang.org/genproto/googleapis/rpc v0.0.0-20241202173237-19429a94021a // indirect - google.golang.org/protobuf v1.36.1 // indirect + google.golang.org/protobuf v1.36.2 // indirect gopkg.in/ini.v1 v1.67.0 // indirect gopkg.in/yaml.v3 v3.0.1 // indirect gotest.tools/v3 v3.5.1 // indirect diff --git a/tools/benchmark/go.sum b/tools/benchmark/go.sum index 25a14c112183..b8ca21d0ae03 100644 --- a/tools/benchmark/go.sum +++ b/tools/benchmark/go.sum @@ -585,8 +585,8 @@ google.golang.org/protobuf v1.23.1-0.20200526195155-81db48ad09cc/go.mod h1:EGpAD google.golang.org/protobuf v1.25.0/go.mod h1:9JNX74DMeImyA3h4bdi1ymwjUzf21/xIlbajtzgsN7c= google.golang.org/protobuf v1.26.0-rc.1/go.mod h1:jlhhOSvTdKEhbULTjvd4ARK9grFBp09yW+WbY/TyQbw= google.golang.org/protobuf v1.26.0/go.mod h1:9q0QmTI4eRPtz6boOQmLYwt+qCgq0jsYwAQnmE0givc= -google.golang.org/protobuf v1.36.1 h1:yBPeRvTftaleIgM3PZ/WBIZ7XM/eEYAaEyCwvyjq/gk= -google.golang.org/protobuf v1.36.1/go.mod h1:9fA7Ob0pmnwhb644+1+CVWFRbNajQ6iRojtC/QF5bRE= +google.golang.org/protobuf v1.36.2 h1:R8FeyR1/eLmkutZOM5CWghmo5itiG9z0ktFlTVLuTmU= +google.golang.org/protobuf v1.36.2/go.mod h1:9fA7Ob0pmnwhb644+1+CVWFRbNajQ6iRojtC/QF5bRE= gopkg.in/alecthomas/kingpin.v2 v2.2.6/go.mod h1:FMv+mEhP44yOT+4EoQTLFTRgOQ1FBLkstjWtayDeSgw= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= diff --git a/tools/confix/go.mod b/tools/confix/go.mod index aad6dd4c240d..5c7ee43db0a6 100644 --- a/tools/confix/go.mod +++ b/tools/confix/go.mod @@ -156,7 +156,7 @@ require ( google.golang.org/genproto/googleapis/api v0.0.0-20240903143218-8af14fe29dc1 // indirect google.golang.org/genproto/googleapis/rpc v0.0.0-20241202173237-19429a94021a // indirect google.golang.org/grpc v1.68.1 // indirect - google.golang.org/protobuf v1.36.1 // indirect + google.golang.org/protobuf v1.36.2 // indirect gopkg.in/ini.v1 v1.67.0 // indirect gopkg.in/yaml.v3 v3.0.1 // indirect nhooyr.io/websocket v1.8.6 // indirect diff --git a/tools/confix/go.sum b/tools/confix/go.sum index 462ab1a228b0..1dc581134bbb 100644 --- a/tools/confix/go.sum +++ b/tools/confix/go.sum @@ -980,8 +980,8 @@ google.golang.org/protobuf v1.26.0-rc.1/go.mod h1:jlhhOSvTdKEhbULTjvd4ARK9grFBp0 google.golang.org/protobuf v1.26.0/go.mod h1:9q0QmTI4eRPtz6boOQmLYwt+qCgq0jsYwAQnmE0givc= google.golang.org/protobuf v1.27.1/go.mod h1:9q0QmTI4eRPtz6boOQmLYwt+qCgq0jsYwAQnmE0givc= google.golang.org/protobuf v1.28.1/go.mod h1:HV8QOd/L58Z+nl8r43ehVNZIU/HEI6OcFqwMG9pJV4I= -google.golang.org/protobuf v1.36.1 h1:yBPeRvTftaleIgM3PZ/WBIZ7XM/eEYAaEyCwvyjq/gk= -google.golang.org/protobuf v1.36.1/go.mod h1:9fA7Ob0pmnwhb644+1+CVWFRbNajQ6iRojtC/QF5bRE= +google.golang.org/protobuf v1.36.2 h1:R8FeyR1/eLmkutZOM5CWghmo5itiG9z0ktFlTVLuTmU= +google.golang.org/protobuf v1.36.2/go.mod h1:9fA7Ob0pmnwhb644+1+CVWFRbNajQ6iRojtC/QF5bRE= gopkg.in/alecthomas/kingpin.v2 v2.2.6/go.mod h1:FMv+mEhP44yOT+4EoQTLFTRgOQ1FBLkstjWtayDeSgw= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= diff --git a/tools/cosmovisor/go.mod b/tools/cosmovisor/go.mod index 993d172ad222..a92b2af2bad7 100644 --- a/tools/cosmovisor/go.mod +++ b/tools/cosmovisor/go.mod @@ -181,7 +181,7 @@ require ( google.golang.org/genproto v0.0.0-20240814211410-ddb44dafa142 // indirect google.golang.org/genproto/googleapis/api v0.0.0-20240903143218-8af14fe29dc1 // indirect google.golang.org/genproto/googleapis/rpc v0.0.0-20241202173237-19429a94021a // indirect - google.golang.org/protobuf v1.36.1 // indirect + google.golang.org/protobuf v1.36.2 // indirect gopkg.in/ini.v1 v1.67.0 // indirect gopkg.in/yaml.v3 v3.0.1 // indirect gotest.tools/v3 v3.5.1 // indirect diff --git a/tools/cosmovisor/go.sum b/tools/cosmovisor/go.sum index 2695e80bbfd5..edd2f8a422d5 100644 --- a/tools/cosmovisor/go.sum +++ b/tools/cosmovisor/go.sum @@ -1591,8 +1591,8 @@ google.golang.org/protobuf v1.26.0/go.mod h1:9q0QmTI4eRPtz6boOQmLYwt+qCgq0jsYwAQ google.golang.org/protobuf v1.27.1/go.mod h1:9q0QmTI4eRPtz6boOQmLYwt+qCgq0jsYwAQnmE0givc= google.golang.org/protobuf v1.28.0/go.mod h1:HV8QOd/L58Z+nl8r43ehVNZIU/HEI6OcFqwMG9pJV4I= google.golang.org/protobuf v1.28.1/go.mod h1:HV8QOd/L58Z+nl8r43ehVNZIU/HEI6OcFqwMG9pJV4I= -google.golang.org/protobuf v1.36.1 h1:yBPeRvTftaleIgM3PZ/WBIZ7XM/eEYAaEyCwvyjq/gk= -google.golang.org/protobuf v1.36.1/go.mod h1:9fA7Ob0pmnwhb644+1+CVWFRbNajQ6iRojtC/QF5bRE= +google.golang.org/protobuf v1.36.2 h1:R8FeyR1/eLmkutZOM5CWghmo5itiG9z0ktFlTVLuTmU= +google.golang.org/protobuf v1.36.2/go.mod h1:9fA7Ob0pmnwhb644+1+CVWFRbNajQ6iRojtC/QF5bRE= gopkg.in/alecthomas/kingpin.v2 v2.2.6/go.mod h1:FMv+mEhP44yOT+4EoQTLFTRgOQ1FBLkstjWtayDeSgw= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= diff --git a/tools/hubl/go.mod b/tools/hubl/go.mod index b2e4588d620d..07d3a2c36eb0 100644 --- a/tools/hubl/go.mod +++ b/tools/hubl/go.mod @@ -12,7 +12,7 @@ require ( github.com/pelletier/go-toml/v2 v2.2.3 github.com/spf13/cobra v1.8.1 google.golang.org/grpc v1.68.1 - google.golang.org/protobuf v1.36.1 + google.golang.org/protobuf v1.36.2 ) require ( diff --git a/tools/hubl/go.sum b/tools/hubl/go.sum index b67e55330f50..bd847c154aea 100644 --- a/tools/hubl/go.sum +++ b/tools/hubl/go.sum @@ -976,8 +976,8 @@ google.golang.org/protobuf v1.26.0-rc.1/go.mod h1:jlhhOSvTdKEhbULTjvd4ARK9grFBp0 google.golang.org/protobuf v1.26.0/go.mod h1:9q0QmTI4eRPtz6boOQmLYwt+qCgq0jsYwAQnmE0givc= google.golang.org/protobuf v1.27.1/go.mod h1:9q0QmTI4eRPtz6boOQmLYwt+qCgq0jsYwAQnmE0givc= google.golang.org/protobuf v1.28.1/go.mod h1:HV8QOd/L58Z+nl8r43ehVNZIU/HEI6OcFqwMG9pJV4I= -google.golang.org/protobuf v1.36.1 h1:yBPeRvTftaleIgM3PZ/WBIZ7XM/eEYAaEyCwvyjq/gk= -google.golang.org/protobuf v1.36.1/go.mod h1:9fA7Ob0pmnwhb644+1+CVWFRbNajQ6iRojtC/QF5bRE= +google.golang.org/protobuf v1.36.2 h1:R8FeyR1/eLmkutZOM5CWghmo5itiG9z0ktFlTVLuTmU= +google.golang.org/protobuf v1.36.2/go.mod h1:9fA7Ob0pmnwhb644+1+CVWFRbNajQ6iRojtC/QF5bRE= gopkg.in/alecthomas/kingpin.v2 v2.2.6/go.mod h1:FMv+mEhP44yOT+4EoQTLFTRgOQ1FBLkstjWtayDeSgw= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= diff --git a/x/accounts/defaults/base/go.mod b/x/accounts/defaults/base/go.mod index 49d210af22ee..a417a83c1165 100644 --- a/x/accounts/defaults/base/go.mod +++ b/x/accounts/defaults/base/go.mod @@ -13,7 +13,7 @@ require ( github.com/cosmos/gogoproto v1.7.0 github.com/decred/dcrd/dcrec/secp256k1/v4 v4.3.0 github.com/stretchr/testify v1.10.0 - google.golang.org/protobuf v1.36.1 + google.golang.org/protobuf v1.36.2 ) require ( diff --git a/x/accounts/defaults/base/go.sum b/x/accounts/defaults/base/go.sum index dfb1123332a4..794ae8aee2bf 100644 --- a/x/accounts/defaults/base/go.sum +++ b/x/accounts/defaults/base/go.sum @@ -614,8 +614,8 @@ google.golang.org/protobuf v1.23.1-0.20200526195155-81db48ad09cc/go.mod h1:EGpAD google.golang.org/protobuf v1.25.0/go.mod h1:9JNX74DMeImyA3h4bdi1ymwjUzf21/xIlbajtzgsN7c= google.golang.org/protobuf v1.26.0-rc.1/go.mod h1:jlhhOSvTdKEhbULTjvd4ARK9grFBp09yW+WbY/TyQbw= google.golang.org/protobuf v1.26.0/go.mod h1:9q0QmTI4eRPtz6boOQmLYwt+qCgq0jsYwAQnmE0givc= -google.golang.org/protobuf v1.36.1 h1:yBPeRvTftaleIgM3PZ/WBIZ7XM/eEYAaEyCwvyjq/gk= -google.golang.org/protobuf v1.36.1/go.mod h1:9fA7Ob0pmnwhb644+1+CVWFRbNajQ6iRojtC/QF5bRE= +google.golang.org/protobuf v1.36.2 h1:R8FeyR1/eLmkutZOM5CWghmo5itiG9z0ktFlTVLuTmU= +google.golang.org/protobuf v1.36.2/go.mod h1:9fA7Ob0pmnwhb644+1+CVWFRbNajQ6iRojtC/QF5bRE= gopkg.in/alecthomas/kingpin.v2 v2.2.6/go.mod h1:FMv+mEhP44yOT+4EoQTLFTRgOQ1FBLkstjWtayDeSgw= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= diff --git a/x/accounts/defaults/lockup/go.mod b/x/accounts/defaults/lockup/go.mod index cb5937c35078..1fef1c8d75dd 100644 --- a/x/accounts/defaults/lockup/go.mod +++ b/x/accounts/defaults/lockup/go.mod @@ -144,7 +144,7 @@ require ( google.golang.org/genproto/googleapis/api v0.0.0-20240903143218-8af14fe29dc1 // indirect google.golang.org/genproto/googleapis/rpc v0.0.0-20241202173237-19429a94021a // indirect google.golang.org/grpc v1.68.1 // indirect - google.golang.org/protobuf v1.36.1 + google.golang.org/protobuf v1.36.2 gopkg.in/ini.v1 v1.67.0 // indirect gopkg.in/yaml.v3 v3.0.1 // indirect gotest.tools/v3 v3.5.1 // indirect diff --git a/x/accounts/defaults/lockup/go.sum b/x/accounts/defaults/lockup/go.sum index 25a14c112183..b8ca21d0ae03 100644 --- a/x/accounts/defaults/lockup/go.sum +++ b/x/accounts/defaults/lockup/go.sum @@ -585,8 +585,8 @@ google.golang.org/protobuf v1.23.1-0.20200526195155-81db48ad09cc/go.mod h1:EGpAD google.golang.org/protobuf v1.25.0/go.mod h1:9JNX74DMeImyA3h4bdi1ymwjUzf21/xIlbajtzgsN7c= google.golang.org/protobuf v1.26.0-rc.1/go.mod h1:jlhhOSvTdKEhbULTjvd4ARK9grFBp09yW+WbY/TyQbw= google.golang.org/protobuf v1.26.0/go.mod h1:9q0QmTI4eRPtz6boOQmLYwt+qCgq0jsYwAQnmE0givc= -google.golang.org/protobuf v1.36.1 h1:yBPeRvTftaleIgM3PZ/WBIZ7XM/eEYAaEyCwvyjq/gk= -google.golang.org/protobuf v1.36.1/go.mod h1:9fA7Ob0pmnwhb644+1+CVWFRbNajQ6iRojtC/QF5bRE= +google.golang.org/protobuf v1.36.2 h1:R8FeyR1/eLmkutZOM5CWghmo5itiG9z0ktFlTVLuTmU= +google.golang.org/protobuf v1.36.2/go.mod h1:9fA7Ob0pmnwhb644+1+CVWFRbNajQ6iRojtC/QF5bRE= gopkg.in/alecthomas/kingpin.v2 v2.2.6/go.mod h1:FMv+mEhP44yOT+4EoQTLFTRgOQ1FBLkstjWtayDeSgw= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= diff --git a/x/accounts/defaults/multisig/go.mod b/x/accounts/defaults/multisig/go.mod index 62e4fa203d71..c031f6724a94 100644 --- a/x/accounts/defaults/multisig/go.mod +++ b/x/accounts/defaults/multisig/go.mod @@ -12,7 +12,7 @@ require ( github.com/cosmos/cosmos-sdk v0.53.0 github.com/cosmos/gogoproto v1.7.0 github.com/stretchr/testify v1.10.0 - google.golang.org/protobuf v1.36.1 + google.golang.org/protobuf v1.36.2 ) require ( diff --git a/x/accounts/defaults/multisig/go.sum b/x/accounts/defaults/multisig/go.sum index dfb1123332a4..794ae8aee2bf 100644 --- a/x/accounts/defaults/multisig/go.sum +++ b/x/accounts/defaults/multisig/go.sum @@ -614,8 +614,8 @@ google.golang.org/protobuf v1.23.1-0.20200526195155-81db48ad09cc/go.mod h1:EGpAD google.golang.org/protobuf v1.25.0/go.mod h1:9JNX74DMeImyA3h4bdi1ymwjUzf21/xIlbajtzgsN7c= google.golang.org/protobuf v1.26.0-rc.1/go.mod h1:jlhhOSvTdKEhbULTjvd4ARK9grFBp09yW+WbY/TyQbw= google.golang.org/protobuf v1.26.0/go.mod h1:9q0QmTI4eRPtz6boOQmLYwt+qCgq0jsYwAQnmE0givc= -google.golang.org/protobuf v1.36.1 h1:yBPeRvTftaleIgM3PZ/WBIZ7XM/eEYAaEyCwvyjq/gk= -google.golang.org/protobuf v1.36.1/go.mod h1:9fA7Ob0pmnwhb644+1+CVWFRbNajQ6iRojtC/QF5bRE= +google.golang.org/protobuf v1.36.2 h1:R8FeyR1/eLmkutZOM5CWghmo5itiG9z0ktFlTVLuTmU= +google.golang.org/protobuf v1.36.2/go.mod h1:9fA7Ob0pmnwhb644+1+CVWFRbNajQ6iRojtC/QF5bRE= gopkg.in/alecthomas/kingpin.v2 v2.2.6/go.mod h1:FMv+mEhP44yOT+4EoQTLFTRgOQ1FBLkstjWtayDeSgw= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= diff --git a/x/accounts/go.mod b/x/accounts/go.mod index f74528b8ed11..ae3d0fdfae82 100644 --- a/x/accounts/go.mod +++ b/x/accounts/go.mod @@ -15,7 +15,7 @@ require ( github.com/spf13/cobra v1.8.1 github.com/stretchr/testify v1.10.0 google.golang.org/grpc v1.68.1 - google.golang.org/protobuf v1.36.1 + google.golang.org/protobuf v1.36.2 ) require ( diff --git a/x/accounts/go.sum b/x/accounts/go.sum index dfb1123332a4..794ae8aee2bf 100644 --- a/x/accounts/go.sum +++ b/x/accounts/go.sum @@ -614,8 +614,8 @@ google.golang.org/protobuf v1.23.1-0.20200526195155-81db48ad09cc/go.mod h1:EGpAD google.golang.org/protobuf v1.25.0/go.mod h1:9JNX74DMeImyA3h4bdi1ymwjUzf21/xIlbajtzgsN7c= google.golang.org/protobuf v1.26.0-rc.1/go.mod h1:jlhhOSvTdKEhbULTjvd4ARK9grFBp09yW+WbY/TyQbw= google.golang.org/protobuf v1.26.0/go.mod h1:9q0QmTI4eRPtz6boOQmLYwt+qCgq0jsYwAQnmE0givc= -google.golang.org/protobuf v1.36.1 h1:yBPeRvTftaleIgM3PZ/WBIZ7XM/eEYAaEyCwvyjq/gk= -google.golang.org/protobuf v1.36.1/go.mod h1:9fA7Ob0pmnwhb644+1+CVWFRbNajQ6iRojtC/QF5bRE= +google.golang.org/protobuf v1.36.2 h1:R8FeyR1/eLmkutZOM5CWghmo5itiG9z0ktFlTVLuTmU= +google.golang.org/protobuf v1.36.2/go.mod h1:9fA7Ob0pmnwhb644+1+CVWFRbNajQ6iRojtC/QF5bRE= gopkg.in/alecthomas/kingpin.v2 v2.2.6/go.mod h1:FMv+mEhP44yOT+4EoQTLFTRgOQ1FBLkstjWtayDeSgw= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= diff --git a/x/authz/go.mod b/x/authz/go.mod index 67c3028ff6ca..01aeb3037d24 100644 --- a/x/authz/go.mod +++ b/x/authz/go.mod @@ -23,7 +23,7 @@ require ( go.uber.org/mock v0.5.0 google.golang.org/genproto/googleapis/api v0.0.0-20240903143218-8af14fe29dc1 google.golang.org/grpc v1.68.1 - google.golang.org/protobuf v1.36.1 + google.golang.org/protobuf v1.36.2 ) require ( diff --git a/x/authz/go.sum b/x/authz/go.sum index dfb1123332a4..794ae8aee2bf 100644 --- a/x/authz/go.sum +++ b/x/authz/go.sum @@ -614,8 +614,8 @@ google.golang.org/protobuf v1.23.1-0.20200526195155-81db48ad09cc/go.mod h1:EGpAD google.golang.org/protobuf v1.25.0/go.mod h1:9JNX74DMeImyA3h4bdi1ymwjUzf21/xIlbajtzgsN7c= google.golang.org/protobuf v1.26.0-rc.1/go.mod h1:jlhhOSvTdKEhbULTjvd4ARK9grFBp09yW+WbY/TyQbw= google.golang.org/protobuf v1.26.0/go.mod h1:9q0QmTI4eRPtz6boOQmLYwt+qCgq0jsYwAQnmE0givc= -google.golang.org/protobuf v1.36.1 h1:yBPeRvTftaleIgM3PZ/WBIZ7XM/eEYAaEyCwvyjq/gk= -google.golang.org/protobuf v1.36.1/go.mod h1:9fA7Ob0pmnwhb644+1+CVWFRbNajQ6iRojtC/QF5bRE= +google.golang.org/protobuf v1.36.2 h1:R8FeyR1/eLmkutZOM5CWghmo5itiG9z0ktFlTVLuTmU= +google.golang.org/protobuf v1.36.2/go.mod h1:9fA7Ob0pmnwhb644+1+CVWFRbNajQ6iRojtC/QF5bRE= gopkg.in/alecthomas/kingpin.v2 v2.2.6/go.mod h1:FMv+mEhP44yOT+4EoQTLFTRgOQ1FBLkstjWtayDeSgw= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= diff --git a/x/bank/go.mod b/x/bank/go.mod index c898fffab4e1..ac737860ce19 100644 --- a/x/bank/go.mod +++ b/x/bank/go.mod @@ -141,7 +141,7 @@ require ( golang.org/x/tools v0.28.0 // indirect google.golang.org/genproto v0.0.0-20240227224415-6ceb2ff114de // indirect google.golang.org/genproto/googleapis/rpc v0.0.0-20241202173237-19429a94021a // indirect - google.golang.org/protobuf v1.36.1 // indirect + google.golang.org/protobuf v1.36.2 // indirect gopkg.in/ini.v1 v1.67.0 // indirect gopkg.in/yaml.v3 v3.0.1 // indirect pgregory.net/rapid v1.1.0 // indirect diff --git a/x/bank/go.sum b/x/bank/go.sum index dfb1123332a4..794ae8aee2bf 100644 --- a/x/bank/go.sum +++ b/x/bank/go.sum @@ -614,8 +614,8 @@ google.golang.org/protobuf v1.23.1-0.20200526195155-81db48ad09cc/go.mod h1:EGpAD google.golang.org/protobuf v1.25.0/go.mod h1:9JNX74DMeImyA3h4bdi1ymwjUzf21/xIlbajtzgsN7c= google.golang.org/protobuf v1.26.0-rc.1/go.mod h1:jlhhOSvTdKEhbULTjvd4ARK9grFBp09yW+WbY/TyQbw= google.golang.org/protobuf v1.26.0/go.mod h1:9q0QmTI4eRPtz6boOQmLYwt+qCgq0jsYwAQnmE0givc= -google.golang.org/protobuf v1.36.1 h1:yBPeRvTftaleIgM3PZ/WBIZ7XM/eEYAaEyCwvyjq/gk= -google.golang.org/protobuf v1.36.1/go.mod h1:9fA7Ob0pmnwhb644+1+CVWFRbNajQ6iRojtC/QF5bRE= +google.golang.org/protobuf v1.36.2 h1:R8FeyR1/eLmkutZOM5CWghmo5itiG9z0ktFlTVLuTmU= +google.golang.org/protobuf v1.36.2/go.mod h1:9fA7Ob0pmnwhb644+1+CVWFRbNajQ6iRojtC/QF5bRE= gopkg.in/alecthomas/kingpin.v2 v2.2.6/go.mod h1:FMv+mEhP44yOT+4EoQTLFTRgOQ1FBLkstjWtayDeSgw= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= diff --git a/x/circuit/go.mod b/x/circuit/go.mod index a475eab8c70b..d8e87f3023a2 100644 --- a/x/circuit/go.mod +++ b/x/circuit/go.mod @@ -152,7 +152,7 @@ require ( golang.org/x/tools v0.28.0 // indirect google.golang.org/genproto v0.0.0-20240227224415-6ceb2ff114de // indirect google.golang.org/genproto/googleapis/rpc v0.0.0-20241202173237-19429a94021a // indirect - google.golang.org/protobuf v1.36.1 // indirect + google.golang.org/protobuf v1.36.2 // indirect gopkg.in/ini.v1 v1.67.0 // indirect gopkg.in/yaml.v3 v3.0.1 // indirect gotest.tools/v3 v3.5.1 // indirect diff --git a/x/circuit/go.sum b/x/circuit/go.sum index dfb1123332a4..794ae8aee2bf 100644 --- a/x/circuit/go.sum +++ b/x/circuit/go.sum @@ -614,8 +614,8 @@ google.golang.org/protobuf v1.23.1-0.20200526195155-81db48ad09cc/go.mod h1:EGpAD google.golang.org/protobuf v1.25.0/go.mod h1:9JNX74DMeImyA3h4bdi1ymwjUzf21/xIlbajtzgsN7c= google.golang.org/protobuf v1.26.0-rc.1/go.mod h1:jlhhOSvTdKEhbULTjvd4ARK9grFBp09yW+WbY/TyQbw= google.golang.org/protobuf v1.26.0/go.mod h1:9q0QmTI4eRPtz6boOQmLYwt+qCgq0jsYwAQnmE0givc= -google.golang.org/protobuf v1.36.1 h1:yBPeRvTftaleIgM3PZ/WBIZ7XM/eEYAaEyCwvyjq/gk= -google.golang.org/protobuf v1.36.1/go.mod h1:9fA7Ob0pmnwhb644+1+CVWFRbNajQ6iRojtC/QF5bRE= +google.golang.org/protobuf v1.36.2 h1:R8FeyR1/eLmkutZOM5CWghmo5itiG9z0ktFlTVLuTmU= +google.golang.org/protobuf v1.36.2/go.mod h1:9fA7Ob0pmnwhb644+1+CVWFRbNajQ6iRojtC/QF5bRE= gopkg.in/alecthomas/kingpin.v2 v2.2.6/go.mod h1:FMv+mEhP44yOT+4EoQTLFTRgOQ1FBLkstjWtayDeSgw= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= diff --git a/x/consensus/go.mod b/x/consensus/go.mod index 80d0d268c1d4..d59b49a310fa 100644 --- a/x/consensus/go.mod +++ b/x/consensus/go.mod @@ -150,7 +150,7 @@ require ( golang.org/x/tools v0.28.0 // indirect google.golang.org/genproto v0.0.0-20240227224415-6ceb2ff114de // indirect google.golang.org/genproto/googleapis/rpc v0.0.0-20241202173237-19429a94021a // indirect - google.golang.org/protobuf v1.36.1 // indirect + google.golang.org/protobuf v1.36.2 // indirect gopkg.in/ini.v1 v1.67.0 // indirect gopkg.in/yaml.v3 v3.0.1 // indirect gotest.tools/v3 v3.5.1 // indirect diff --git a/x/consensus/go.sum b/x/consensus/go.sum index dfb1123332a4..794ae8aee2bf 100644 --- a/x/consensus/go.sum +++ b/x/consensus/go.sum @@ -614,8 +614,8 @@ google.golang.org/protobuf v1.23.1-0.20200526195155-81db48ad09cc/go.mod h1:EGpAD google.golang.org/protobuf v1.25.0/go.mod h1:9JNX74DMeImyA3h4bdi1ymwjUzf21/xIlbajtzgsN7c= google.golang.org/protobuf v1.26.0-rc.1/go.mod h1:jlhhOSvTdKEhbULTjvd4ARK9grFBp09yW+WbY/TyQbw= google.golang.org/protobuf v1.26.0/go.mod h1:9q0QmTI4eRPtz6boOQmLYwt+qCgq0jsYwAQnmE0givc= -google.golang.org/protobuf v1.36.1 h1:yBPeRvTftaleIgM3PZ/WBIZ7XM/eEYAaEyCwvyjq/gk= -google.golang.org/protobuf v1.36.1/go.mod h1:9fA7Ob0pmnwhb644+1+CVWFRbNajQ6iRojtC/QF5bRE= +google.golang.org/protobuf v1.36.2 h1:R8FeyR1/eLmkutZOM5CWghmo5itiG9z0ktFlTVLuTmU= +google.golang.org/protobuf v1.36.2/go.mod h1:9fA7Ob0pmnwhb644+1+CVWFRbNajQ6iRojtC/QF5bRE= gopkg.in/alecthomas/kingpin.v2 v2.2.6/go.mod h1:FMv+mEhP44yOT+4EoQTLFTRgOQ1FBLkstjWtayDeSgw= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= diff --git a/x/distribution/go.mod b/x/distribution/go.mod index d44cb50eea9d..715f2b2e9a97 100644 --- a/x/distribution/go.mod +++ b/x/distribution/go.mod @@ -152,7 +152,7 @@ require ( golang.org/x/tools v0.28.0 // indirect google.golang.org/genproto v0.0.0-20240227224415-6ceb2ff114de // indirect google.golang.org/genproto/googleapis/rpc v0.0.0-20241202173237-19429a94021a // indirect - google.golang.org/protobuf v1.36.1 // indirect + google.golang.org/protobuf v1.36.2 // indirect gopkg.in/ini.v1 v1.67.0 // indirect gopkg.in/yaml.v3 v3.0.1 // indirect gotest.tools/v3 v3.5.1 // indirect diff --git a/x/distribution/go.sum b/x/distribution/go.sum index dfb1123332a4..794ae8aee2bf 100644 --- a/x/distribution/go.sum +++ b/x/distribution/go.sum @@ -614,8 +614,8 @@ google.golang.org/protobuf v1.23.1-0.20200526195155-81db48ad09cc/go.mod h1:EGpAD google.golang.org/protobuf v1.25.0/go.mod h1:9JNX74DMeImyA3h4bdi1ymwjUzf21/xIlbajtzgsN7c= google.golang.org/protobuf v1.26.0-rc.1/go.mod h1:jlhhOSvTdKEhbULTjvd4ARK9grFBp09yW+WbY/TyQbw= google.golang.org/protobuf v1.26.0/go.mod h1:9q0QmTI4eRPtz6boOQmLYwt+qCgq0jsYwAQnmE0givc= -google.golang.org/protobuf v1.36.1 h1:yBPeRvTftaleIgM3PZ/WBIZ7XM/eEYAaEyCwvyjq/gk= -google.golang.org/protobuf v1.36.1/go.mod h1:9fA7Ob0pmnwhb644+1+CVWFRbNajQ6iRojtC/QF5bRE= +google.golang.org/protobuf v1.36.2 h1:R8FeyR1/eLmkutZOM5CWghmo5itiG9z0ktFlTVLuTmU= +google.golang.org/protobuf v1.36.2/go.mod h1:9fA7Ob0pmnwhb644+1+CVWFRbNajQ6iRojtC/QF5bRE= gopkg.in/alecthomas/kingpin.v2 v2.2.6/go.mod h1:FMv+mEhP44yOT+4EoQTLFTRgOQ1FBLkstjWtayDeSgw= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= diff --git a/x/epochs/go.mod b/x/epochs/go.mod index 63b0d17ea4a6..efea30f3515e 100644 --- a/x/epochs/go.mod +++ b/x/epochs/go.mod @@ -141,7 +141,7 @@ require ( golang.org/x/tools v0.28.0 // indirect google.golang.org/genproto v0.0.0-20240227224415-6ceb2ff114de // indirect google.golang.org/genproto/googleapis/rpc v0.0.0-20241202173237-19429a94021a // indirect - google.golang.org/protobuf v1.36.1 + google.golang.org/protobuf v1.36.2 gopkg.in/ini.v1 v1.67.0 // indirect gopkg.in/yaml.v3 v3.0.1 // indirect gotest.tools/v3 v3.5.1 // indirect diff --git a/x/epochs/go.sum b/x/epochs/go.sum index dfb1123332a4..794ae8aee2bf 100644 --- a/x/epochs/go.sum +++ b/x/epochs/go.sum @@ -614,8 +614,8 @@ google.golang.org/protobuf v1.23.1-0.20200526195155-81db48ad09cc/go.mod h1:EGpAD google.golang.org/protobuf v1.25.0/go.mod h1:9JNX74DMeImyA3h4bdi1ymwjUzf21/xIlbajtzgsN7c= google.golang.org/protobuf v1.26.0-rc.1/go.mod h1:jlhhOSvTdKEhbULTjvd4ARK9grFBp09yW+WbY/TyQbw= google.golang.org/protobuf v1.26.0/go.mod h1:9q0QmTI4eRPtz6boOQmLYwt+qCgq0jsYwAQnmE0givc= -google.golang.org/protobuf v1.36.1 h1:yBPeRvTftaleIgM3PZ/WBIZ7XM/eEYAaEyCwvyjq/gk= -google.golang.org/protobuf v1.36.1/go.mod h1:9fA7Ob0pmnwhb644+1+CVWFRbNajQ6iRojtC/QF5bRE= +google.golang.org/protobuf v1.36.2 h1:R8FeyR1/eLmkutZOM5CWghmo5itiG9z0ktFlTVLuTmU= +google.golang.org/protobuf v1.36.2/go.mod h1:9fA7Ob0pmnwhb644+1+CVWFRbNajQ6iRojtC/QF5bRE= gopkg.in/alecthomas/kingpin.v2 v2.2.6/go.mod h1:FMv+mEhP44yOT+4EoQTLFTRgOQ1FBLkstjWtayDeSgw= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= diff --git a/x/evidence/go.mod b/x/evidence/go.mod index 21afe7ed9494..6a94166fe628 100644 --- a/x/evidence/go.mod +++ b/x/evidence/go.mod @@ -21,7 +21,7 @@ require ( go.uber.org/mock v0.5.0 google.golang.org/genproto/googleapis/api v0.0.0-20240903143218-8af14fe29dc1 google.golang.org/grpc v1.68.1 - google.golang.org/protobuf v1.36.1 + google.golang.org/protobuf v1.36.2 ) require ( diff --git a/x/evidence/go.sum b/x/evidence/go.sum index dfb1123332a4..794ae8aee2bf 100644 --- a/x/evidence/go.sum +++ b/x/evidence/go.sum @@ -614,8 +614,8 @@ google.golang.org/protobuf v1.23.1-0.20200526195155-81db48ad09cc/go.mod h1:EGpAD google.golang.org/protobuf v1.25.0/go.mod h1:9JNX74DMeImyA3h4bdi1ymwjUzf21/xIlbajtzgsN7c= google.golang.org/protobuf v1.26.0-rc.1/go.mod h1:jlhhOSvTdKEhbULTjvd4ARK9grFBp09yW+WbY/TyQbw= google.golang.org/protobuf v1.26.0/go.mod h1:9q0QmTI4eRPtz6boOQmLYwt+qCgq0jsYwAQnmE0givc= -google.golang.org/protobuf v1.36.1 h1:yBPeRvTftaleIgM3PZ/WBIZ7XM/eEYAaEyCwvyjq/gk= -google.golang.org/protobuf v1.36.1/go.mod h1:9fA7Ob0pmnwhb644+1+CVWFRbNajQ6iRojtC/QF5bRE= +google.golang.org/protobuf v1.36.2 h1:R8FeyR1/eLmkutZOM5CWghmo5itiG9z0ktFlTVLuTmU= +google.golang.org/protobuf v1.36.2/go.mod h1:9fA7Ob0pmnwhb644+1+CVWFRbNajQ6iRojtC/QF5bRE= gopkg.in/alecthomas/kingpin.v2 v2.2.6/go.mod h1:FMv+mEhP44yOT+4EoQTLFTRgOQ1FBLkstjWtayDeSgw= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= diff --git a/x/feegrant/go.mod b/x/feegrant/go.mod index 30db49cd5553..4e4648655570 100644 --- a/x/feegrant/go.mod +++ b/x/feegrant/go.mod @@ -24,7 +24,7 @@ require ( go.uber.org/mock v0.5.0 google.golang.org/genproto/googleapis/api v0.0.0-20240903143218-8af14fe29dc1 google.golang.org/grpc v1.68.1 - google.golang.org/protobuf v1.36.1 + google.golang.org/protobuf v1.36.2 gotest.tools/v3 v3.5.1 ) diff --git a/x/feegrant/go.sum b/x/feegrant/go.sum index fe4132ec1dde..196265e653bf 100644 --- a/x/feegrant/go.sum +++ b/x/feegrant/go.sum @@ -624,8 +624,8 @@ google.golang.org/protobuf v1.23.1-0.20200526195155-81db48ad09cc/go.mod h1:EGpAD google.golang.org/protobuf v1.25.0/go.mod h1:9JNX74DMeImyA3h4bdi1ymwjUzf21/xIlbajtzgsN7c= google.golang.org/protobuf v1.26.0-rc.1/go.mod h1:jlhhOSvTdKEhbULTjvd4ARK9grFBp09yW+WbY/TyQbw= google.golang.org/protobuf v1.26.0/go.mod h1:9q0QmTI4eRPtz6boOQmLYwt+qCgq0jsYwAQnmE0givc= -google.golang.org/protobuf v1.36.1 h1:yBPeRvTftaleIgM3PZ/WBIZ7XM/eEYAaEyCwvyjq/gk= -google.golang.org/protobuf v1.36.1/go.mod h1:9fA7Ob0pmnwhb644+1+CVWFRbNajQ6iRojtC/QF5bRE= +google.golang.org/protobuf v1.36.2 h1:R8FeyR1/eLmkutZOM5CWghmo5itiG9z0ktFlTVLuTmU= +google.golang.org/protobuf v1.36.2/go.mod h1:9fA7Ob0pmnwhb644+1+CVWFRbNajQ6iRojtC/QF5bRE= gopkg.in/alecthomas/kingpin.v2 v2.2.6/go.mod h1:FMv+mEhP44yOT+4EoQTLFTRgOQ1FBLkstjWtayDeSgw= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= diff --git a/x/gov/go.mod b/x/gov/go.mod index 8fc867b148cb..39e72e5bbc11 100644 --- a/x/gov/go.mod +++ b/x/gov/go.mod @@ -30,7 +30,7 @@ require ( go.uber.org/mock v0.5.0 google.golang.org/genproto/googleapis/api v0.0.0-20240903143218-8af14fe29dc1 google.golang.org/grpc v1.68.1 - google.golang.org/protobuf v1.36.1 + google.golang.org/protobuf v1.36.2 ) require ( diff --git a/x/gov/go.sum b/x/gov/go.sum index fe4132ec1dde..196265e653bf 100644 --- a/x/gov/go.sum +++ b/x/gov/go.sum @@ -624,8 +624,8 @@ google.golang.org/protobuf v1.23.1-0.20200526195155-81db48ad09cc/go.mod h1:EGpAD google.golang.org/protobuf v1.25.0/go.mod h1:9JNX74DMeImyA3h4bdi1ymwjUzf21/xIlbajtzgsN7c= google.golang.org/protobuf v1.26.0-rc.1/go.mod h1:jlhhOSvTdKEhbULTjvd4ARK9grFBp09yW+WbY/TyQbw= google.golang.org/protobuf v1.26.0/go.mod h1:9q0QmTI4eRPtz6boOQmLYwt+qCgq0jsYwAQnmE0givc= -google.golang.org/protobuf v1.36.1 h1:yBPeRvTftaleIgM3PZ/WBIZ7XM/eEYAaEyCwvyjq/gk= -google.golang.org/protobuf v1.36.1/go.mod h1:9fA7Ob0pmnwhb644+1+CVWFRbNajQ6iRojtC/QF5bRE= +google.golang.org/protobuf v1.36.2 h1:R8FeyR1/eLmkutZOM5CWghmo5itiG9z0ktFlTVLuTmU= +google.golang.org/protobuf v1.36.2/go.mod h1:9fA7Ob0pmnwhb644+1+CVWFRbNajQ6iRojtC/QF5bRE= gopkg.in/alecthomas/kingpin.v2 v2.2.6/go.mod h1:FMv+mEhP44yOT+4EoQTLFTRgOQ1FBLkstjWtayDeSgw= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= diff --git a/x/group/go.mod b/x/group/go.mod index 4c5fd6d19a63..d022b3aabe33 100644 --- a/x/group/go.mod +++ b/x/group/go.mod @@ -24,7 +24,7 @@ require ( go.uber.org/mock v0.5.0 google.golang.org/genproto/googleapis/api v0.0.0-20240903143218-8af14fe29dc1 google.golang.org/grpc v1.68.1 - google.golang.org/protobuf v1.36.1 + google.golang.org/protobuf v1.36.2 pgregory.net/rapid v1.1.0 ) diff --git a/x/group/go.sum b/x/group/go.sum index 81c608f80718..d7ef3652d91d 100644 --- a/x/group/go.sum +++ b/x/group/go.sum @@ -626,8 +626,8 @@ google.golang.org/protobuf v1.23.1-0.20200526195155-81db48ad09cc/go.mod h1:EGpAD google.golang.org/protobuf v1.25.0/go.mod h1:9JNX74DMeImyA3h4bdi1ymwjUzf21/xIlbajtzgsN7c= google.golang.org/protobuf v1.26.0-rc.1/go.mod h1:jlhhOSvTdKEhbULTjvd4ARK9grFBp09yW+WbY/TyQbw= google.golang.org/protobuf v1.26.0/go.mod h1:9q0QmTI4eRPtz6boOQmLYwt+qCgq0jsYwAQnmE0givc= -google.golang.org/protobuf v1.36.1 h1:yBPeRvTftaleIgM3PZ/WBIZ7XM/eEYAaEyCwvyjq/gk= -google.golang.org/protobuf v1.36.1/go.mod h1:9fA7Ob0pmnwhb644+1+CVWFRbNajQ6iRojtC/QF5bRE= +google.golang.org/protobuf v1.36.2 h1:R8FeyR1/eLmkutZOM5CWghmo5itiG9z0ktFlTVLuTmU= +google.golang.org/protobuf v1.36.2/go.mod h1:9fA7Ob0pmnwhb644+1+CVWFRbNajQ6iRojtC/QF5bRE= gopkg.in/alecthomas/kingpin.v2 v2.2.6/go.mod h1:FMv+mEhP44yOT+4EoQTLFTRgOQ1FBLkstjWtayDeSgw= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= diff --git a/x/mint/go.mod b/x/mint/go.mod index 078109a9bec4..82ad692df0d6 100644 --- a/x/mint/go.mod +++ b/x/mint/go.mod @@ -142,7 +142,7 @@ require ( golang.org/x/tools v0.28.0 // indirect google.golang.org/genproto v0.0.0-20240227224415-6ceb2ff114de // indirect google.golang.org/genproto/googleapis/rpc v0.0.0-20241202173237-19429a94021a // indirect - google.golang.org/protobuf v1.36.1 // indirect + google.golang.org/protobuf v1.36.2 // indirect gopkg.in/ini.v1 v1.67.0 // indirect gopkg.in/yaml.v3 v3.0.1 // indirect pgregory.net/rapid v1.1.0 // indirect diff --git a/x/mint/go.sum b/x/mint/go.sum index dfb1123332a4..794ae8aee2bf 100644 --- a/x/mint/go.sum +++ b/x/mint/go.sum @@ -614,8 +614,8 @@ google.golang.org/protobuf v1.23.1-0.20200526195155-81db48ad09cc/go.mod h1:EGpAD google.golang.org/protobuf v1.25.0/go.mod h1:9JNX74DMeImyA3h4bdi1ymwjUzf21/xIlbajtzgsN7c= google.golang.org/protobuf v1.26.0-rc.1/go.mod h1:jlhhOSvTdKEhbULTjvd4ARK9grFBp09yW+WbY/TyQbw= google.golang.org/protobuf v1.26.0/go.mod h1:9q0QmTI4eRPtz6boOQmLYwt+qCgq0jsYwAQnmE0givc= -google.golang.org/protobuf v1.36.1 h1:yBPeRvTftaleIgM3PZ/WBIZ7XM/eEYAaEyCwvyjq/gk= -google.golang.org/protobuf v1.36.1/go.mod h1:9fA7Ob0pmnwhb644+1+CVWFRbNajQ6iRojtC/QF5bRE= +google.golang.org/protobuf v1.36.2 h1:R8FeyR1/eLmkutZOM5CWghmo5itiG9z0ktFlTVLuTmU= +google.golang.org/protobuf v1.36.2/go.mod h1:9fA7Ob0pmnwhb644+1+CVWFRbNajQ6iRojtC/QF5bRE= gopkg.in/alecthomas/kingpin.v2 v2.2.6/go.mod h1:FMv+mEhP44yOT+4EoQTLFTRgOQ1FBLkstjWtayDeSgw= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= diff --git a/x/nft/go.mod b/x/nft/go.mod index ab29a5517dbd..f7e49b7fd2bd 100644 --- a/x/nft/go.mod +++ b/x/nft/go.mod @@ -152,7 +152,7 @@ require ( golang.org/x/tools v0.28.0 // indirect google.golang.org/genproto v0.0.0-20240227224415-6ceb2ff114de // indirect google.golang.org/genproto/googleapis/rpc v0.0.0-20241202173237-19429a94021a // indirect - google.golang.org/protobuf v1.36.1 // indirect + google.golang.org/protobuf v1.36.2 // indirect gopkg.in/ini.v1 v1.67.0 // indirect gopkg.in/yaml.v3 v3.0.1 // indirect gotest.tools/v3 v3.5.1 // indirect diff --git a/x/nft/go.sum b/x/nft/go.sum index dfb1123332a4..794ae8aee2bf 100644 --- a/x/nft/go.sum +++ b/x/nft/go.sum @@ -614,8 +614,8 @@ google.golang.org/protobuf v1.23.1-0.20200526195155-81db48ad09cc/go.mod h1:EGpAD google.golang.org/protobuf v1.25.0/go.mod h1:9JNX74DMeImyA3h4bdi1ymwjUzf21/xIlbajtzgsN7c= google.golang.org/protobuf v1.26.0-rc.1/go.mod h1:jlhhOSvTdKEhbULTjvd4ARK9grFBp09yW+WbY/TyQbw= google.golang.org/protobuf v1.26.0/go.mod h1:9q0QmTI4eRPtz6boOQmLYwt+qCgq0jsYwAQnmE0givc= -google.golang.org/protobuf v1.36.1 h1:yBPeRvTftaleIgM3PZ/WBIZ7XM/eEYAaEyCwvyjq/gk= -google.golang.org/protobuf v1.36.1/go.mod h1:9fA7Ob0pmnwhb644+1+CVWFRbNajQ6iRojtC/QF5bRE= +google.golang.org/protobuf v1.36.2 h1:R8FeyR1/eLmkutZOM5CWghmo5itiG9z0ktFlTVLuTmU= +google.golang.org/protobuf v1.36.2/go.mod h1:9fA7Ob0pmnwhb644+1+CVWFRbNajQ6iRojtC/QF5bRE= gopkg.in/alecthomas/kingpin.v2 v2.2.6/go.mod h1:FMv+mEhP44yOT+4EoQTLFTRgOQ1FBLkstjWtayDeSgw= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= diff --git a/x/protocolpool/go.mod b/x/protocolpool/go.mod index 47d4b310a220..50ffc4b7fee2 100644 --- a/x/protocolpool/go.mod +++ b/x/protocolpool/go.mod @@ -20,7 +20,7 @@ require ( go.uber.org/mock v0.5.0 google.golang.org/genproto/googleapis/api v0.0.0-20240903143218-8af14fe29dc1 google.golang.org/grpc v1.68.1 - google.golang.org/protobuf v1.36.1 + google.golang.org/protobuf v1.36.2 ) require ( diff --git a/x/protocolpool/go.sum b/x/protocolpool/go.sum index dfb1123332a4..794ae8aee2bf 100644 --- a/x/protocolpool/go.sum +++ b/x/protocolpool/go.sum @@ -614,8 +614,8 @@ google.golang.org/protobuf v1.23.1-0.20200526195155-81db48ad09cc/go.mod h1:EGpAD google.golang.org/protobuf v1.25.0/go.mod h1:9JNX74DMeImyA3h4bdi1ymwjUzf21/xIlbajtzgsN7c= google.golang.org/protobuf v1.26.0-rc.1/go.mod h1:jlhhOSvTdKEhbULTjvd4ARK9grFBp09yW+WbY/TyQbw= google.golang.org/protobuf v1.26.0/go.mod h1:9q0QmTI4eRPtz6boOQmLYwt+qCgq0jsYwAQnmE0givc= -google.golang.org/protobuf v1.36.1 h1:yBPeRvTftaleIgM3PZ/WBIZ7XM/eEYAaEyCwvyjq/gk= -google.golang.org/protobuf v1.36.1/go.mod h1:9fA7Ob0pmnwhb644+1+CVWFRbNajQ6iRojtC/QF5bRE= +google.golang.org/protobuf v1.36.2 h1:R8FeyR1/eLmkutZOM5CWghmo5itiG9z0ktFlTVLuTmU= +google.golang.org/protobuf v1.36.2/go.mod h1:9fA7Ob0pmnwhb644+1+CVWFRbNajQ6iRojtC/QF5bRE= gopkg.in/alecthomas/kingpin.v2 v2.2.6/go.mod h1:FMv+mEhP44yOT+4EoQTLFTRgOQ1FBLkstjWtayDeSgw= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= diff --git a/x/slashing/go.mod b/x/slashing/go.mod index cf1369f60692..d60e787dbe70 100644 --- a/x/slashing/go.mod +++ b/x/slashing/go.mod @@ -22,7 +22,7 @@ require ( go.uber.org/mock v0.5.0 google.golang.org/genproto/googleapis/api v0.0.0-20240903143218-8af14fe29dc1 google.golang.org/grpc v1.68.1 - google.golang.org/protobuf v1.36.1 + google.golang.org/protobuf v1.36.2 gotest.tools/v3 v3.5.1 ) diff --git a/x/slashing/go.sum b/x/slashing/go.sum index 0c0018fd862e..1772b3d6cd4a 100644 --- a/x/slashing/go.sum +++ b/x/slashing/go.sum @@ -616,8 +616,8 @@ google.golang.org/protobuf v1.23.1-0.20200526195155-81db48ad09cc/go.mod h1:EGpAD google.golang.org/protobuf v1.25.0/go.mod h1:9JNX74DMeImyA3h4bdi1ymwjUzf21/xIlbajtzgsN7c= google.golang.org/protobuf v1.26.0-rc.1/go.mod h1:jlhhOSvTdKEhbULTjvd4ARK9grFBp09yW+WbY/TyQbw= google.golang.org/protobuf v1.26.0/go.mod h1:9q0QmTI4eRPtz6boOQmLYwt+qCgq0jsYwAQnmE0givc= -google.golang.org/protobuf v1.36.1 h1:yBPeRvTftaleIgM3PZ/WBIZ7XM/eEYAaEyCwvyjq/gk= -google.golang.org/protobuf v1.36.1/go.mod h1:9fA7Ob0pmnwhb644+1+CVWFRbNajQ6iRojtC/QF5bRE= +google.golang.org/protobuf v1.36.2 h1:R8FeyR1/eLmkutZOM5CWghmo5itiG9z0ktFlTVLuTmU= +google.golang.org/protobuf v1.36.2/go.mod h1:9fA7Ob0pmnwhb644+1+CVWFRbNajQ6iRojtC/QF5bRE= gopkg.in/alecthomas/kingpin.v2 v2.2.6/go.mod h1:FMv+mEhP44yOT+4EoQTLFTRgOQ1FBLkstjWtayDeSgw= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= diff --git a/x/staking/go.mod b/x/staking/go.mod index d5e3d3d92ece..477c2a5fd6b2 100644 --- a/x/staking/go.mod +++ b/x/staking/go.mod @@ -25,7 +25,7 @@ require ( go.uber.org/mock v0.5.0 google.golang.org/genproto/googleapis/api v0.0.0-20240903143218-8af14fe29dc1 google.golang.org/grpc v1.68.1 - google.golang.org/protobuf v1.36.1 + google.golang.org/protobuf v1.36.2 ) require ( diff --git a/x/staking/go.sum b/x/staking/go.sum index dfb1123332a4..794ae8aee2bf 100644 --- a/x/staking/go.sum +++ b/x/staking/go.sum @@ -614,8 +614,8 @@ google.golang.org/protobuf v1.23.1-0.20200526195155-81db48ad09cc/go.mod h1:EGpAD google.golang.org/protobuf v1.25.0/go.mod h1:9JNX74DMeImyA3h4bdi1ymwjUzf21/xIlbajtzgsN7c= google.golang.org/protobuf v1.26.0-rc.1/go.mod h1:jlhhOSvTdKEhbULTjvd4ARK9grFBp09yW+WbY/TyQbw= google.golang.org/protobuf v1.26.0/go.mod h1:9q0QmTI4eRPtz6boOQmLYwt+qCgq0jsYwAQnmE0givc= -google.golang.org/protobuf v1.36.1 h1:yBPeRvTftaleIgM3PZ/WBIZ7XM/eEYAaEyCwvyjq/gk= -google.golang.org/protobuf v1.36.1/go.mod h1:9fA7Ob0pmnwhb644+1+CVWFRbNajQ6iRojtC/QF5bRE= +google.golang.org/protobuf v1.36.2 h1:R8FeyR1/eLmkutZOM5CWghmo5itiG9z0ktFlTVLuTmU= +google.golang.org/protobuf v1.36.2/go.mod h1:9fA7Ob0pmnwhb644+1+CVWFRbNajQ6iRojtC/QF5bRE= gopkg.in/alecthomas/kingpin.v2 v2.2.6/go.mod h1:FMv+mEhP44yOT+4EoQTLFTRgOQ1FBLkstjWtayDeSgw= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= diff --git a/x/tx/go.mod b/x/tx/go.mod index 8ff588e6a199..b8f21df8ea98 100644 --- a/x/tx/go.mod +++ b/x/tx/go.mod @@ -14,7 +14,7 @@ require ( github.com/pkg/errors v0.9.1 github.com/stretchr/testify v1.10.0 github.com/tendermint/go-amino v0.16.0 - google.golang.org/protobuf v1.36.1 + google.golang.org/protobuf v1.36.2 gotest.tools/v3 v3.5.1 pgregory.net/rapid v1.1.0 ) diff --git a/x/tx/go.sum b/x/tx/go.sum index 06603dc45c05..6bfcead915e8 100644 --- a/x/tx/go.sum +++ b/x/tx/go.sum @@ -61,8 +61,8 @@ google.golang.org/genproto/googleapis/rpc v0.0.0-20241202173237-19429a94021a h1: google.golang.org/genproto/googleapis/rpc v0.0.0-20241202173237-19429a94021a/go.mod h1:5uTbfoYQed2U9p3KIj2/Zzm02PYhndfdmML0qC3q3FU= google.golang.org/grpc v1.68.1 h1:oI5oTa11+ng8r8XMMN7jAOmWfPZWbYpCFaMUTACxkM0= google.golang.org/grpc v1.68.1/go.mod h1:+q1XYFJjShcqn0QZHvCyeR4CXPA+llXIeUIfIe00waw= -google.golang.org/protobuf v1.36.1 h1:yBPeRvTftaleIgM3PZ/WBIZ7XM/eEYAaEyCwvyjq/gk= -google.golang.org/protobuf v1.36.1/go.mod h1:9fA7Ob0pmnwhb644+1+CVWFRbNajQ6iRojtC/QF5bRE= +google.golang.org/protobuf v1.36.2 h1:R8FeyR1/eLmkutZOM5CWghmo5itiG9z0ktFlTVLuTmU= +google.golang.org/protobuf v1.36.2/go.mod h1:9fA7Ob0pmnwhb644+1+CVWFRbNajQ6iRojtC/QF5bRE= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c h1:Hei/4ADfdWqJk1ZMxUNpqntNwaWcugrBjAiHlqqRiVk= gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c/go.mod h1:JHkPIbrfpd72SG/EVd6muEfDQjcINNoR0C8j2r3qZ4Q= diff --git a/x/upgrade/go.mod b/x/upgrade/go.mod index fb4bd23731d7..231e2e997006 100644 --- a/x/upgrade/go.mod +++ b/x/upgrade/go.mod @@ -28,7 +28,7 @@ require ( go.uber.org/mock v0.5.0 google.golang.org/genproto/googleapis/api v0.0.0-20240903143218-8af14fe29dc1 google.golang.org/grpc v1.68.1 - google.golang.org/protobuf v1.36.1 + google.golang.org/protobuf v1.36.2 ) require ( diff --git a/x/upgrade/go.sum b/x/upgrade/go.sum index 99fd4ad8ff54..e06c359eccb8 100644 --- a/x/upgrade/go.sum +++ b/x/upgrade/go.sum @@ -1358,8 +1358,8 @@ google.golang.org/protobuf v1.26.0/go.mod h1:9q0QmTI4eRPtz6boOQmLYwt+qCgq0jsYwAQ google.golang.org/protobuf v1.27.1/go.mod h1:9q0QmTI4eRPtz6boOQmLYwt+qCgq0jsYwAQnmE0givc= google.golang.org/protobuf v1.28.0/go.mod h1:HV8QOd/L58Z+nl8r43ehVNZIU/HEI6OcFqwMG9pJV4I= google.golang.org/protobuf v1.28.1/go.mod h1:HV8QOd/L58Z+nl8r43ehVNZIU/HEI6OcFqwMG9pJV4I= -google.golang.org/protobuf v1.36.1 h1:yBPeRvTftaleIgM3PZ/WBIZ7XM/eEYAaEyCwvyjq/gk= -google.golang.org/protobuf v1.36.1/go.mod h1:9fA7Ob0pmnwhb644+1+CVWFRbNajQ6iRojtC/QF5bRE= +google.golang.org/protobuf v1.36.2 h1:R8FeyR1/eLmkutZOM5CWghmo5itiG9z0ktFlTVLuTmU= +google.golang.org/protobuf v1.36.2/go.mod h1:9fA7Ob0pmnwhb644+1+CVWFRbNajQ6iRojtC/QF5bRE= gopkg.in/alecthomas/kingpin.v2 v2.2.6/go.mod h1:FMv+mEhP44yOT+4EoQTLFTRgOQ1FBLkstjWtayDeSgw= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= From 39a55ed045ee9531c77d92755a055028d075a200 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 8 Jan 2025 23:32:40 +0100 Subject: [PATCH 4/8] build(deps): Bump cosmossdk.io/core from 1.0.0-alpha.6 to 1.0.0 in standalone packages (no sdk deps) (#23241) Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Julien Robert Co-authored-by: Alex | Interchain Labs --- collections/protocodec/CHANGELOG.md | 36 +++++++++++++++++++++++++++++ collections/protocodec/go.mod | 2 +- collections/protocodec/go.sum | 4 ++-- core/testing/go.mod | 2 +- core/testing/go.sum | 4 ++-- orm/go.mod | 2 +- orm/go.sum | 4 ++-- runtime/v2/go.mod | 2 +- runtime/v2/go.sum | 4 ++-- server/v2/appmanager/go.mod | 2 +- server/v2/appmanager/go.sum | 4 ++-- server/v2/go.mod | 2 +- server/v2/go.sum | 4 ++-- server/v2/stf/go.mod | 2 +- server/v2/stf/go.sum | 4 ++-- store/go.mod | 2 +- store/go.sum | 4 ++-- store/v2/go.mod | 2 +- store/v2/go.sum | 4 ++-- 19 files changed, 63 insertions(+), 27 deletions(-) create mode 100644 collections/protocodec/CHANGELOG.md diff --git a/collections/protocodec/CHANGELOG.md b/collections/protocodec/CHANGELOG.md new file mode 100644 index 000000000000..4db1637cdf14 --- /dev/null +++ b/collections/protocodec/CHANGELOG.md @@ -0,0 +1,36 @@ + + +# Changelog + +## [Unreleased] + +## [v0.0.1](https://github.com/cosmos/cosmos-sdk/releases/tag/collections/protocodec/v0.0.1) + +Initial tag. diff --git a/collections/protocodec/go.mod b/collections/protocodec/go.mod index 0b8163296619..52c064fd8d05 100644 --- a/collections/protocodec/go.mod +++ b/collections/protocodec/go.mod @@ -4,7 +4,7 @@ go 1.23.2 require ( cosmossdk.io/collections v0.4.0 - cosmossdk.io/core v1.0.0-alpha.6 + cosmossdk.io/core v1.0.0 github.com/cosmos/gogoproto v1.7.0 github.com/google/go-cmp v0.6.0 github.com/stretchr/testify v1.10.0 diff --git a/collections/protocodec/go.sum b/collections/protocodec/go.sum index e1b13f471e23..9b70f2e2ef1d 100644 --- a/collections/protocodec/go.sum +++ b/collections/protocodec/go.sum @@ -1,7 +1,7 @@ cosmossdk.io/collections v0.4.0 h1:PFmwj2W8szgpD5nOd8GWH6AbYNi1f2J6akWXJ7P5t9s= cosmossdk.io/collections v0.4.0/go.mod h1:oa5lUING2dP+gdDquow+QjlF45eL1t4TJDypgGd+tv0= -cosmossdk.io/core v1.0.0-alpha.6 h1:5ukC4JcQKmemLQXcAgu/QoOvJI50hpBkIIg4ZT2EN8E= -cosmossdk.io/core v1.0.0-alpha.6/go.mod h1:3u9cWq1FAVtiiCrDPpo4LhR+9V6k/ycSG4/Y/tREWCY= +cosmossdk.io/core v1.0.0 h1:e7XBbISOytLBOXMVwpRPixThXqEkeLGlg8no/qpgS8U= +cosmossdk.io/core v1.0.0/go.mod h1:mKIp3RkoEmtqdEdFHxHwWAULRe+79gfdOvmArrLDbDc= cosmossdk.io/schema v1.0.0 h1:/diH4XJjpV1JQwuIozwr+A4uFuuwanFdnw2kKeiXwwQ= cosmossdk.io/schema v1.0.0/go.mod h1:RDAhxIeNB4bYqAlF4NBJwRrgtnciMcyyg0DOKnhNZQQ= github.com/DataDog/zstd v1.5.6 h1:LbEglqepa/ipmmQJUDnSsfvA8e8IStVcGaFWDuxvGOY= diff --git a/core/testing/go.mod b/core/testing/go.mod index 43b8f19a34a1..bf1a75ff6c40 100644 --- a/core/testing/go.mod +++ b/core/testing/go.mod @@ -3,7 +3,7 @@ module cosmossdk.io/core/testing go 1.23 require ( - cosmossdk.io/core v1.0.0-alpha.6 + cosmossdk.io/core v1.0.0 github.com/tidwall/btree v1.7.0 go.uber.org/mock v0.5.0 ) diff --git a/core/testing/go.sum b/core/testing/go.sum index 10769294ceb1..fc93e3af390e 100644 --- a/core/testing/go.sum +++ b/core/testing/go.sum @@ -1,5 +1,5 @@ -cosmossdk.io/core v1.0.0-alpha.6 h1:5ukC4JcQKmemLQXcAgu/QoOvJI50hpBkIIg4ZT2EN8E= -cosmossdk.io/core v1.0.0-alpha.6/go.mod h1:3u9cWq1FAVtiiCrDPpo4LhR+9V6k/ycSG4/Y/tREWCY= +cosmossdk.io/core v1.0.0 h1:e7XBbISOytLBOXMVwpRPixThXqEkeLGlg8no/qpgS8U= +cosmossdk.io/core v1.0.0/go.mod h1:mKIp3RkoEmtqdEdFHxHwWAULRe+79gfdOvmArrLDbDc= cosmossdk.io/schema v1.0.0 h1:/diH4XJjpV1JQwuIozwr+A4uFuuwanFdnw2kKeiXwwQ= cosmossdk.io/schema v1.0.0/go.mod h1:RDAhxIeNB4bYqAlF4NBJwRrgtnciMcyyg0DOKnhNZQQ= github.com/tidwall/btree v1.7.0 h1:L1fkJH/AuEh5zBnnBbmTwQ5Lt+bRJ5A8EWecslvo9iI= diff --git a/orm/go.mod b/orm/go.mod index 8d387b30adba..3e0195b66b4e 100644 --- a/orm/go.mod +++ b/orm/go.mod @@ -4,7 +4,7 @@ go 1.23 require ( cosmossdk.io/api v0.8.0 - cosmossdk.io/core v1.0.0-alpha.6 + cosmossdk.io/core v1.0.0 cosmossdk.io/core/testing v0.0.1 cosmossdk.io/depinject v1.1.0 cosmossdk.io/errors v1.0.1 diff --git a/orm/go.sum b/orm/go.sum index ce785f99fc33..35ca176e0cdb 100644 --- a/orm/go.sum +++ b/orm/go.sum @@ -4,8 +4,8 @@ buf.build/gen/go/cosmos/gogo-proto/protocolbuffers/go v1.36.1-20240130113600-88e buf.build/gen/go/cosmos/gogo-proto/protocolbuffers/go v1.36.1-20240130113600-88ef6483f90f.1/go.mod h1:GB5hdNJd6cahKmHcLArJo5wnV9TeZGMSz7ysK4YLvag= cosmossdk.io/api v0.8.0 h1:E5Xifxu/3mPTLF79si9fyq4rR0wagubeVNmOz5duTUo= cosmossdk.io/api v0.8.0/go.mod h1:hgJ83P0ZUu0rS1SZoVM6abk6ADOkiM259BVVlYtAPP0= -cosmossdk.io/core v1.0.0-alpha.6 h1:5ukC4JcQKmemLQXcAgu/QoOvJI50hpBkIIg4ZT2EN8E= -cosmossdk.io/core v1.0.0-alpha.6/go.mod h1:3u9cWq1FAVtiiCrDPpo4LhR+9V6k/ycSG4/Y/tREWCY= +cosmossdk.io/core v1.0.0 h1:e7XBbISOytLBOXMVwpRPixThXqEkeLGlg8no/qpgS8U= +cosmossdk.io/core v1.0.0/go.mod h1:mKIp3RkoEmtqdEdFHxHwWAULRe+79gfdOvmArrLDbDc= cosmossdk.io/core/testing v0.0.1 h1:gYCTaftcRrz+HoNXmK7r9KgbG1jgBJ8pNzm/Pa/erFQ= cosmossdk.io/core/testing v0.0.1/go.mod h1:2VDNz/25qtxgPa0+j8LW5e8Ev/xObqoJA7QuJS9/wIQ= cosmossdk.io/depinject v1.1.0 h1:wLan7LG35VM7Yo6ov0jId3RHWCGRhe8E8bsuARorl5E= diff --git a/runtime/v2/go.mod b/runtime/v2/go.mod index 021bf120fe02..f0c6cd2b0d8a 100644 --- a/runtime/v2/go.mod +++ b/runtime/v2/go.mod @@ -11,7 +11,7 @@ go 1.23 require ( cosmossdk.io/api v0.8.0 - cosmossdk.io/core v1.0.0-alpha.6 + cosmossdk.io/core v1.0.0 cosmossdk.io/depinject v1.1.0 cosmossdk.io/log v1.5.0 cosmossdk.io/schema v1.0.0 diff --git a/runtime/v2/go.sum b/runtime/v2/go.sum index 48d451d57446..0ab7509bfa46 100644 --- a/runtime/v2/go.sum +++ b/runtime/v2/go.sum @@ -4,8 +4,8 @@ buf.build/gen/go/cosmos/gogo-proto/protocolbuffers/go v1.36.1-20240130113600-88e buf.build/gen/go/cosmos/gogo-proto/protocolbuffers/go v1.36.1-20240130113600-88ef6483f90f.1/go.mod h1:GB5hdNJd6cahKmHcLArJo5wnV9TeZGMSz7ysK4YLvag= cosmossdk.io/api v0.8.0 h1:E5Xifxu/3mPTLF79si9fyq4rR0wagubeVNmOz5duTUo= cosmossdk.io/api v0.8.0/go.mod h1:hgJ83P0ZUu0rS1SZoVM6abk6ADOkiM259BVVlYtAPP0= -cosmossdk.io/core v1.0.0-alpha.6 h1:5ukC4JcQKmemLQXcAgu/QoOvJI50hpBkIIg4ZT2EN8E= -cosmossdk.io/core v1.0.0-alpha.6/go.mod h1:3u9cWq1FAVtiiCrDPpo4LhR+9V6k/ycSG4/Y/tREWCY= +cosmossdk.io/core v1.0.0 h1:e7XBbISOytLBOXMVwpRPixThXqEkeLGlg8no/qpgS8U= +cosmossdk.io/core v1.0.0/go.mod h1:mKIp3RkoEmtqdEdFHxHwWAULRe+79gfdOvmArrLDbDc= cosmossdk.io/core/testing v0.0.1 h1:gYCTaftcRrz+HoNXmK7r9KgbG1jgBJ8pNzm/Pa/erFQ= cosmossdk.io/core/testing v0.0.1/go.mod h1:2VDNz/25qtxgPa0+j8LW5e8Ev/xObqoJA7QuJS9/wIQ= cosmossdk.io/depinject v1.1.0 h1:wLan7LG35VM7Yo6ov0jId3RHWCGRhe8E8bsuARorl5E= diff --git a/server/v2/appmanager/go.mod b/server/v2/appmanager/go.mod index ee985395185f..eca1e58d380b 100644 --- a/server/v2/appmanager/go.mod +++ b/server/v2/appmanager/go.mod @@ -2,6 +2,6 @@ module cosmossdk.io/server/v2/appmanager go 1.23 -require cosmossdk.io/core v1.0.0-alpha.6 +require cosmossdk.io/core v1.0.0 require cosmossdk.io/schema v1.0.0 // indirect diff --git a/server/v2/appmanager/go.sum b/server/v2/appmanager/go.sum index e590a20d164b..3b85bd4b4d98 100644 --- a/server/v2/appmanager/go.sum +++ b/server/v2/appmanager/go.sum @@ -1,4 +1,4 @@ -cosmossdk.io/core v1.0.0-alpha.6 h1:5ukC4JcQKmemLQXcAgu/QoOvJI50hpBkIIg4ZT2EN8E= -cosmossdk.io/core v1.0.0-alpha.6/go.mod h1:3u9cWq1FAVtiiCrDPpo4LhR+9V6k/ycSG4/Y/tREWCY= +cosmossdk.io/core v1.0.0 h1:e7XBbISOytLBOXMVwpRPixThXqEkeLGlg8no/qpgS8U= +cosmossdk.io/core v1.0.0/go.mod h1:mKIp3RkoEmtqdEdFHxHwWAULRe+79gfdOvmArrLDbDc= cosmossdk.io/schema v1.0.0 h1:/diH4XJjpV1JQwuIozwr+A4uFuuwanFdnw2kKeiXwwQ= cosmossdk.io/schema v1.0.0/go.mod h1:RDAhxIeNB4bYqAlF4NBJwRrgtnciMcyyg0DOKnhNZQQ= diff --git a/server/v2/go.mod b/server/v2/go.mod index c11d3912ef44..79986a0346c3 100644 --- a/server/v2/go.mod +++ b/server/v2/go.mod @@ -10,7 +10,7 @@ go 1.23 require ( cosmossdk.io/api v0.8.0 - cosmossdk.io/core v1.0.0-alpha.6 + cosmossdk.io/core v1.0.0 cosmossdk.io/core/testing v0.0.1 cosmossdk.io/log v1.5.0 cosmossdk.io/server/v2/appmanager v1.0.0-beta.1 diff --git a/server/v2/go.sum b/server/v2/go.sum index baa8608301df..7369e355beb8 100644 --- a/server/v2/go.sum +++ b/server/v2/go.sum @@ -2,8 +2,8 @@ cloud.google.com/go v0.26.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMT cloud.google.com/go v0.34.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw= cosmossdk.io/api v0.8.0 h1:E5Xifxu/3mPTLF79si9fyq4rR0wagubeVNmOz5duTUo= cosmossdk.io/api v0.8.0/go.mod h1:hgJ83P0ZUu0rS1SZoVM6abk6ADOkiM259BVVlYtAPP0= -cosmossdk.io/core v1.0.0-alpha.6 h1:5ukC4JcQKmemLQXcAgu/QoOvJI50hpBkIIg4ZT2EN8E= -cosmossdk.io/core v1.0.0-alpha.6/go.mod h1:3u9cWq1FAVtiiCrDPpo4LhR+9V6k/ycSG4/Y/tREWCY= +cosmossdk.io/core v1.0.0 h1:e7XBbISOytLBOXMVwpRPixThXqEkeLGlg8no/qpgS8U= +cosmossdk.io/core v1.0.0/go.mod h1:mKIp3RkoEmtqdEdFHxHwWAULRe+79gfdOvmArrLDbDc= cosmossdk.io/core/testing v0.0.1 h1:gYCTaftcRrz+HoNXmK7r9KgbG1jgBJ8pNzm/Pa/erFQ= cosmossdk.io/core/testing v0.0.1/go.mod h1:2VDNz/25qtxgPa0+j8LW5e8Ev/xObqoJA7QuJS9/wIQ= cosmossdk.io/errors/v2 v2.0.0 h1:DOd65PGc4N6Mba4ov1inC1DeJeZw3GlwkM6EVfkvRMk= diff --git a/server/v2/stf/go.mod b/server/v2/stf/go.mod index e56b1fac543e..110d37877b06 100644 --- a/server/v2/stf/go.mod +++ b/server/v2/stf/go.mod @@ -3,7 +3,7 @@ module cosmossdk.io/server/v2/stf go 1.23 require ( - cosmossdk.io/core v1.0.0-alpha.6 + cosmossdk.io/core v1.0.0 cosmossdk.io/core/testing v0.0.1 cosmossdk.io/schema v1.0.0 github.com/cosmos/gogoproto v1.7.0 diff --git a/server/v2/stf/go.sum b/server/v2/stf/go.sum index 76dc0a279c32..84f654c0d2ba 100644 --- a/server/v2/stf/go.sum +++ b/server/v2/stf/go.sum @@ -1,5 +1,5 @@ -cosmossdk.io/core v1.0.0-alpha.6 h1:5ukC4JcQKmemLQXcAgu/QoOvJI50hpBkIIg4ZT2EN8E= -cosmossdk.io/core v1.0.0-alpha.6/go.mod h1:3u9cWq1FAVtiiCrDPpo4LhR+9V6k/ycSG4/Y/tREWCY= +cosmossdk.io/core v1.0.0 h1:e7XBbISOytLBOXMVwpRPixThXqEkeLGlg8no/qpgS8U= +cosmossdk.io/core v1.0.0/go.mod h1:mKIp3RkoEmtqdEdFHxHwWAULRe+79gfdOvmArrLDbDc= cosmossdk.io/core/testing v0.0.1 h1:gYCTaftcRrz+HoNXmK7r9KgbG1jgBJ8pNzm/Pa/erFQ= cosmossdk.io/core/testing v0.0.1/go.mod h1:2VDNz/25qtxgPa0+j8LW5e8Ev/xObqoJA7QuJS9/wIQ= cosmossdk.io/schema v1.0.0 h1:/diH4XJjpV1JQwuIozwr+A4uFuuwanFdnw2kKeiXwwQ= diff --git a/store/go.mod b/store/go.mod index b939973b37dc..476933024ea8 100644 --- a/store/go.mod +++ b/store/go.mod @@ -3,7 +3,7 @@ module cosmossdk.io/store go 1.23.4 require ( - cosmossdk.io/core v1.0.0-alpha.6 + cosmossdk.io/core v1.0.0 cosmossdk.io/core/testing v0.0.1 cosmossdk.io/errors v1.0.1 cosmossdk.io/log v1.5.0 diff --git a/store/go.sum b/store/go.sum index cffe26868218..574d822bc0ea 100644 --- a/store/go.sum +++ b/store/go.sum @@ -1,5 +1,5 @@ -cosmossdk.io/core v1.0.0-alpha.6 h1:5ukC4JcQKmemLQXcAgu/QoOvJI50hpBkIIg4ZT2EN8E= -cosmossdk.io/core v1.0.0-alpha.6/go.mod h1:3u9cWq1FAVtiiCrDPpo4LhR+9V6k/ycSG4/Y/tREWCY= +cosmossdk.io/core v1.0.0 h1:e7XBbISOytLBOXMVwpRPixThXqEkeLGlg8no/qpgS8U= +cosmossdk.io/core v1.0.0/go.mod h1:mKIp3RkoEmtqdEdFHxHwWAULRe+79gfdOvmArrLDbDc= cosmossdk.io/core/testing v0.0.1 h1:gYCTaftcRrz+HoNXmK7r9KgbG1jgBJ8pNzm/Pa/erFQ= cosmossdk.io/core/testing v0.0.1/go.mod h1:2VDNz/25qtxgPa0+j8LW5e8Ev/xObqoJA7QuJS9/wIQ= cosmossdk.io/errors v1.0.1 h1:bzu+Kcr0kS/1DuPBtUFdWjzLqyUuCiyHjyJB6srBV/0= diff --git a/store/v2/go.mod b/store/v2/go.mod index d5f44f70d1b5..ef431d043af3 100644 --- a/store/v2/go.mod +++ b/store/v2/go.mod @@ -3,7 +3,7 @@ module cosmossdk.io/store/v2 go 1.23 require ( - cosmossdk.io/core v1.0.0-alpha.6 + cosmossdk.io/core v1.0.0 cosmossdk.io/core/testing v0.0.1 cosmossdk.io/errors/v2 v2.0.0 cosmossdk.io/log v1.5.0 diff --git a/store/v2/go.sum b/store/v2/go.sum index ee8e17ab3f5c..4075f83998fe 100644 --- a/store/v2/go.sum +++ b/store/v2/go.sum @@ -1,5 +1,5 @@ -cosmossdk.io/core v1.0.0-alpha.6 h1:5ukC4JcQKmemLQXcAgu/QoOvJI50hpBkIIg4ZT2EN8E= -cosmossdk.io/core v1.0.0-alpha.6/go.mod h1:3u9cWq1FAVtiiCrDPpo4LhR+9V6k/ycSG4/Y/tREWCY= +cosmossdk.io/core v1.0.0 h1:e7XBbISOytLBOXMVwpRPixThXqEkeLGlg8no/qpgS8U= +cosmossdk.io/core v1.0.0/go.mod h1:mKIp3RkoEmtqdEdFHxHwWAULRe+79gfdOvmArrLDbDc= cosmossdk.io/core/testing v0.0.1 h1:gYCTaftcRrz+HoNXmK7r9KgbG1jgBJ8pNzm/Pa/erFQ= cosmossdk.io/core/testing v0.0.1/go.mod h1:2VDNz/25qtxgPa0+j8LW5e8Ev/xObqoJA7QuJS9/wIQ= cosmossdk.io/errors/v2 v2.0.0 h1:DOd65PGc4N6Mba4ov1inC1DeJeZw3GlwkM6EVfkvRMk= From cf721a6540900e15b4553019a4819480a7bb760b Mon Sep 17 00:00:00 2001 From: Alexander Peters Date: Thu, 9 Jan 2025 09:19:35 +0100 Subject: [PATCH 5/8] feat(sims): Integration with app v2 (#23013) Co-authored-by: Alex | Interchain Labs --- CHANGELOG.md | 2 +- runtime/v2/app.go | 5 + scripts/build/simulations.mk | 10 +- server/v2/appmanager/appmanager.go | 37 ++ server/v2/appmanager/stf.go | 9 + server/v2/stf/sims_entry.go | 34 ++ server/v2/stf/stf.go | 58 ++- server/v2/streaming/examples/file/file.go | 3 +- simapp/v2/go.mod | 7 +- simapp/v2/sim_runner.go | 492 ++++++++++++++++++++++ simapp/v2/sim_test.go | 7 + simsx/msg_factory.go | 14 +- simsx/registry.go | 36 +- simsx/registry_test.go | 7 + simsx/v2/msg_factory.go | 31 ++ simsx/v2/registry.go | 65 +++ simsx/v2/txutils.go | 198 +++++++++ simsx/v2/valset.go | 108 +++++ simsx/v2/valset_history.go | 78 ++++ store/v2/db/db.go | 4 + tests/systemtests/tx_test.go | 12 +- testutil/sims/state_helpers.go | 3 + testutil/sims/tx_helpers.go | 11 +- testutil/testdata/tx.go | 3 +- x/gov/simulation/msg_factory.go | 3 +- x/nft/simulation/msg_factory.go | 4 +- x/staking/simulation/msg_factory.go | 24 +- 27 files changed, 1217 insertions(+), 48 deletions(-) create mode 100644 server/v2/stf/sims_entry.go create mode 100644 simapp/v2/sim_runner.go create mode 100644 simapp/v2/sim_test.go create mode 100644 simsx/v2/msg_factory.go create mode 100644 simsx/v2/registry.go create mode 100644 simsx/v2/txutils.go create mode 100644 simsx/v2/valset.go create mode 100644 simsx/v2/valset_history.go diff --git a/CHANGELOG.md b/CHANGELOG.md index e8d938e5945e..34813000c836 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -41,7 +41,7 @@ Ref: https://keepachangelog.com/en/1.0.0/ Every module contains its own CHANGELOG.md. Please refer to the module you are interested in. ### Features - +* (sims) [#23013](https://github.com/cosmos/cosmos-sdk/pull/23013) Integration with app v2 * (baseapp) [#20291](https://github.com/cosmos/cosmos-sdk/pull/20291) Simulate nested messages. * (client/keys) [#21829](https://github.com/cosmos/cosmos-sdk/pull/21829) Add support for importing hex key using standard input. * (x/auth/ante) [#23128](https://github.com/cosmos/cosmos-sdk/pull/23128) Allow custom verifyIsOnCurve when validate tx for public key like ethsecp256k1. diff --git a/runtime/v2/app.go b/runtime/v2/app.go index 5c5c78532f33..b89febe8117e 100644 --- a/runtime/v2/app.go +++ b/runtime/v2/app.go @@ -106,3 +106,8 @@ func (a *App[T]) SchemaDecoderResolver() decoding.DecoderResolver { func (a *App[T]) Close() error { return nil } + +// GetApp return self +func (a *App[T]) GetApp() *App[T] { + return a +} diff --git a/scripts/build/simulations.mk b/scripts/build/simulations.mk index 86b96c8c8d61..26b4661aa404 100644 --- a/scripts/build/simulations.mk +++ b/scripts/build/simulations.mk @@ -47,10 +47,16 @@ test-sim-multi-seed-long: # @cd ${CURRENT_DIR}/simapp && go test -failfast -mod=readonly -timeout=2h -tags='sims' -run TestFullAppSimulation \ # -NumBlocks=150 -Period=50 -test-sim-multi-seed-short: +test-sim-multi-seed-short: test-v2-sim # @echo "Running short multi-seed application simulation. This may take awhile!" # @cd ${CURRENT_DIR}/simapp && go test -failfast -mod=readonly -timeout 30m -tags='sims' -run TestFullAppSimulation \ - # -NumBlocks=50 -Period=10 -FauxMerkle=true + # -NumBlocks=50 -Period=10 -FauxMerkle=true + +.Phony: test-v2-sim +test-v2-sim: + @echo "Running short multi-seed application simulation. This may take awhile!" + @cd ${CURRENT_DIR}/simapp/v2 && go test -failfast -mod=readonly -timeout 30m -tags='sims' -run TestSimsAppV2 \ +# -NumBlocks=50 -Period=10 -FauxMerkle=true test-sim-benchmark-invariants: # @echo "Running simulation invariant benchmarks..." diff --git a/server/v2/appmanager/appmanager.go b/server/v2/appmanager/appmanager.go index 19f7eaae545c..eefae7667a7b 100644 --- a/server/v2/appmanager/appmanager.go +++ b/server/v2/appmanager/appmanager.go @@ -6,6 +6,7 @@ import ( "encoding/json" "errors" "fmt" + "iter" "cosmossdk.io/core/server" corestore "cosmossdk.io/core/store" @@ -16,6 +17,8 @@ import ( // It is responsible for interacting with stf and store. // Runtime/v2 is an extension of this interface. type AppManager[T transaction.Tx] interface { + TransactionFuzzer[T] + // InitGenesis initializes the genesis state of the application. InitGenesis( ctx context.Context, @@ -55,6 +58,17 @@ type AppManager[T transaction.Tx] interface { QueryWithState(ctx context.Context, state corestore.ReaderMap, request transaction.Msg) (transaction.Msg, error) } +// TransactionFuzzer defines an interface for processing simulated transactions and generating responses with state changes. +type TransactionFuzzer[T transaction.Tx] interface { + // DeliverSims processes simulated transactions for a block and generates a response with potential state changes. + // The simsBuilder generates simulated transactions. + DeliverSims( + ctx context.Context, + block *server.BlockRequest[T], + simsBuilder func(ctx context.Context) iter.Seq[T], + ) (*server.BlockResponse, corestore.WriterMap, error) +} + // Store defines the underlying storage behavior needed by AppManager. type Store interface { // StateLatest returns a readonly view over the latest @@ -187,6 +201,29 @@ func (a appManager[T]) DeliverBlock( return blockResponse, newState, nil } +// DeliverSims same as DeliverBlock for sims only. +func (a appManager[T]) DeliverSims( + ctx context.Context, + block *server.BlockRequest[T], + simsBuilder func(ctx context.Context) iter.Seq[T], +) (*server.BlockResponse, corestore.WriterMap, error) { + latestVersion, currentState, err := a.db.StateLatest() + if err != nil { + return nil, nil, fmt.Errorf("unable to create new state for height %d: %w", block.Height, err) + } + + if latestVersion+1 != block.Height { + return nil, nil, fmt.Errorf("invalid DeliverSims height wanted %d, got %d", latestVersion+1, block.Height) + } + + blockResponse, newState, err := a.stf.DeliverSims(ctx, block, currentState, simsBuilder) + if err != nil { + return nil, nil, fmt.Errorf("sims delivery failed: %w", err) + } + + return blockResponse, newState, nil +} + // ValidateTx will validate the tx against the latest storage state. This means that // only the stateful validation will be run, not the execution portion of the tx. // If full execution is needed, Simulate must be used. diff --git a/server/v2/appmanager/stf.go b/server/v2/appmanager/stf.go index 1e769c13ff9c..e98ac1084838 100644 --- a/server/v2/appmanager/stf.go +++ b/server/v2/appmanager/stf.go @@ -2,6 +2,7 @@ package appmanager import ( "context" + "iter" "cosmossdk.io/core/server" "cosmossdk.io/core/store" @@ -40,4 +41,12 @@ type StateTransitionFunction[T transaction.Tx] interface { gasLimit uint64, req transaction.Msg, ) (transaction.Msg, error) + + // DeliverSims provides an interface for state transitions by sims. + DeliverSims( + ctx context.Context, + block *server.BlockRequest[T], + state store.ReaderMap, + simsBuilder func(ctx context.Context) iter.Seq[T], + ) (blockResult *server.BlockResponse, newState store.WriterMap, err error) } diff --git a/server/v2/stf/sims_entry.go b/server/v2/stf/sims_entry.go new file mode 100644 index 000000000000..1e5a924bb11e --- /dev/null +++ b/server/v2/stf/sims_entry.go @@ -0,0 +1,34 @@ +package stf + +import ( + "context" + "iter" + + "cosmossdk.io/core/header" + "cosmossdk.io/core/server" + "cosmossdk.io/core/store" + "cosmossdk.io/core/transaction" +) + +// doSimsTXs constructs a function to simulate transactions in a block execution context using the provided simsBuilder. +func (s STF[T]) doSimsTXs(simsBuilder func(ctx context.Context) iter.Seq[T]) doInBlockDeliveryFn[T] { + return func( + exCtx context.Context, + _ []T, + newState store.WriterMap, + headerInfo header.Info, + ) ([]server.TxResult, error) { + const key = "sims.header.time" + simsCtx := context.WithValue(exCtx, key, headerInfo.Time) //nolint: staticcheck // using string key to decouple + var results []server.TxResult + var i int32 + for tx := range simsBuilder(simsCtx) { + if err := isCtxCancelled(simsCtx); err != nil { + return nil, err + } + results = append(results, s.deliverTx(simsCtx, newState, tx, transaction.ExecModeFinalize, headerInfo, i+1)) + i++ + } + return results, nil + } +} diff --git a/server/v2/stf/stf.go b/server/v2/stf/stf.go index 4b85c5ffe499..dc693ffefe9d 100644 --- a/server/v2/stf/stf.go +++ b/server/v2/stf/stf.go @@ -5,6 +5,7 @@ import ( "encoding/json" "errors" "fmt" + "iter" "strings" appmodulev2 "cosmossdk.io/core/appmodule/v2" @@ -84,6 +85,16 @@ func New[T transaction.Tx]( }, nil } +// DeliverSims entrypoint to processes sims transactions similar to DeliverBlock. +func (s STF[T]) DeliverSims( + ctx context.Context, + block *server.BlockRequest[T], + state store.ReaderMap, + simsBuilder func(ctx context.Context) iter.Seq[T], +) (blockResult *server.BlockResponse, newState store.WriterMap, err error) { + return s.deliverBlock(ctx, block, state, s.doSimsTXs(simsBuilder)) +} + // DeliverBlock is our state transition function. // It takes a read only view of the state to apply the block to, // executes the block and returns the block results and the new state. @@ -91,6 +102,23 @@ func (s STF[T]) DeliverBlock( ctx context.Context, block *server.BlockRequest[T], state store.ReaderMap, +) (blockResult *server.BlockResponse, newState store.WriterMap, err error) { + return s.deliverBlock(ctx, block, state, s.doDeliverTXs) +} + +// common code path for DeliverSims and DeliverBlock +type doInBlockDeliveryFn[T transaction.Tx] func( + ctx context.Context, + txs []T, + newState store.WriterMap, + hi header.Info, +) ([]server.TxResult, error) + +func (s STF[T]) deliverBlock( + ctx context.Context, + block *server.BlockRequest[T], + state store.ReaderMap, + doInBlockDelivery doInBlockDeliveryFn[T], ) (blockResult *server.BlockResponse, newState store.WriterMap, err error) { // creates a new branchFn state, from the readonly view of the state // that can be written to. @@ -141,14 +169,9 @@ func (s STF[T]) DeliverBlock( } // execute txs - txResults := make([]server.TxResult, len(block.Txs)) - // TODO: skip first tx if vote extensions are enabled (marko) - for i, txBytes := range block.Txs { - // check if we need to return early or continue delivering txs - if err = isCtxCancelled(ctx); err != nil { - return nil, nil, err - } - txResults[i] = s.deliverTx(exCtx, newState, txBytes, transaction.ExecModeFinalize, hi, int32(i+1)) + txResults, err := doInBlockDelivery(exCtx, block.Txs, newState, hi) + if err != nil { + return nil, nil, err } // reset events exCtx.events = make([]event.Event, 0) @@ -167,6 +190,25 @@ func (s STF[T]) DeliverBlock( }, newState, nil } +func (s STF[T]) doDeliverTXs( + exCtx context.Context, + txs []T, + newState store.WriterMap, + hi header.Info, +) ([]server.TxResult, error) { + // execute txs + txResults := make([]server.TxResult, len(txs)) + // TODO: skip first tx if vote extensions are enabled (marko) + for i, txBytes := range txs { + // check if we need to return early or continue delivering txs + if err := isCtxCancelled(exCtx); err != nil { + return nil, err + } + txResults[i] = s.deliverTx(exCtx, newState, txBytes, transaction.ExecModeFinalize, hi, int32(i+1)) + } + return txResults, nil +} + // deliverTx executes a TX and returns the result. func (s STF[T]) deliverTx( ctx context.Context, diff --git a/server/v2/streaming/examples/file/file.go b/server/v2/streaming/examples/file/file.go index 607cb8ed6293..8f9dac85f81f 100644 --- a/server/v2/streaming/examples/file/file.go +++ b/server/v2/streaming/examples/file/file.go @@ -6,8 +6,9 @@ import ( "os" "path/filepath" - "cosmossdk.io/server/v2/streaming" "github.com/hashicorp/go-plugin" + + "cosmossdk.io/server/v2/streaming" ) // FilePlugin is the implementation of the baseapp.ABCIListener interface diff --git a/simapp/v2/go.mod b/simapp/v2/go.mod index 8da30ffd53c4..b9ac48542821 100644 --- a/simapp/v2/go.mod +++ b/simapp/v2/go.mod @@ -50,6 +50,11 @@ require ( require github.com/cosmos/iavl/v2 v2.0.0-alpha.4 // indirect +require ( + cosmossdk.io/server/v2/appmanager v1.0.0-beta.1 + github.com/cometbft/cometbft/api v1.0.0 +) + require ( buf.build/gen/go/cometbft/cometbft/protocolbuffers/go v1.36.1-20241120201313-68e42a58b301.1 // indirect buf.build/gen/go/cosmos/gogo-proto/protocolbuffers/go v1.36.1-20240130113600-88ef6483f90f.1 // indirect @@ -64,7 +69,6 @@ require ( cosmossdk.io/errors v1.0.1 // indirect cosmossdk.io/errors/v2 v2.0.0 // indirect cosmossdk.io/schema v1.0.0 // indirect - cosmossdk.io/server/v2/appmanager v1.0.0-beta.1 // indirect cosmossdk.io/server/v2/stf v1.0.0-beta.1 // indirect cosmossdk.io/store v1.10.0-rc.1.0.20241218084712-ca559989da43 // indirect cosmossdk.io/x/tx v1.0.0 // indirect @@ -96,7 +100,6 @@ require ( github.com/cockroachdb/redact v1.1.5 // indirect github.com/cockroachdb/tokenbucket v0.0.0-20230807174530-cc333fc44b06 // indirect github.com/cometbft/cometbft-db v1.0.1 // indirect - github.com/cometbft/cometbft/api v1.0.0 // indirect github.com/cosmos/btcutil v1.0.5 // indirect github.com/cosmos/cosmos-db v1.1.1 // indirect github.com/cosmos/cosmos-proto v1.0.0-beta.5 // indirect diff --git a/simapp/v2/sim_runner.go b/simapp/v2/sim_runner.go new file mode 100644 index 000000000000..3ae56ad77878 --- /dev/null +++ b/simapp/v2/sim_runner.go @@ -0,0 +1,492 @@ +package simapp + +import ( + "context" + "encoding/json" + "fmt" + "iter" + "maps" + "math/rand" + "slices" + "testing" + "time" + + cmtproto "github.com/cometbft/cometbft/api/cometbft/types/v1" + cmttypes "github.com/cometbft/cometbft/types" + "github.com/spf13/viper" + "github.com/stretchr/testify/require" + + "cosmossdk.io/core/appmodule" + appmodulev2 "cosmossdk.io/core/appmodule/v2" + "cosmossdk.io/core/comet" + corecontext "cosmossdk.io/core/context" + "cosmossdk.io/core/server" + "cosmossdk.io/core/store" + "cosmossdk.io/core/transaction" + "cosmossdk.io/depinject" + "cosmossdk.io/log" + "cosmossdk.io/runtime/v2" + "cosmossdk.io/server/v2/appmanager" + cometbfttypes "cosmossdk.io/server/v2/cometbft/types" + storev2 "cosmossdk.io/store/v2" + consensustypes "cosmossdk.io/x/consensus/types" + + "github.com/cosmos/cosmos-sdk/client" + "github.com/cosmos/cosmos-sdk/codec" + "github.com/cosmos/cosmos-sdk/simsx" + simsxv2 "github.com/cosmos/cosmos-sdk/simsx/v2" + simtestutil "github.com/cosmos/cosmos-sdk/testutil/sims" + "github.com/cosmos/cosmos-sdk/types/module" + simtypes "github.com/cosmos/cosmos-sdk/types/simulation" + "github.com/cosmos/cosmos-sdk/x/simulation" + "github.com/cosmos/cosmos-sdk/x/simulation/client/cli" +) + +type Tx = transaction.Tx +type ( + HasWeightedOperationsX = simsx.HasWeightedOperationsX + HasWeightedOperationsXWithProposals = simsx.HasWeightedOperationsXWithProposals + HasProposalMsgsX = simsx.HasProposalMsgsX +) + +const SimAppChainID = "simulation-app" + +// this list of seeds was imported from the original simulation runner: https://github.com/cosmos/tools/blob/v1.0.0/cmd/runsim/main.go#L32 +var defaultSeeds = []int64{ + 1, 2, 4, 7, + 32, 123, 124, 582, 1893, 2989, + 3012, 4728, 37827, 981928, 87821, 891823782, + 989182, 89182391, 11, 22, 44, 77, 99, 2020, + 3232, 123123, 124124, 582582, 18931893, + 29892989, 30123012, 47284728, 7601778, 8090485, + 977367484, 491163361, 424254581, 673398983, +} + +const ( + maxTimePerBlock = 10_000 * time.Second + minTimePerBlock = maxTimePerBlock / 2 + timeRangePerBlock = maxTimePerBlock - minTimePerBlock +) + +type ( + AuthKeeper interface { + simsx.ModuleAccountSource + simsx.AccountSource + } + + BankKeeper interface { + simsx.BalanceSource + GetBlockedAddresses() map[string]bool + } + + StakingKeeper interface { + UnbondingTime(ctx context.Context) (time.Duration, error) + } + + ModuleManager interface { + Modules() map[string]appmodulev2.AppModule + } + + // SimulationApp abstract blockchain app + SimulationApp[T Tx] interface { + GetApp() *runtime.App[T] + TxConfig() client.TxConfig + AppCodec() codec.Codec + DefaultGenesis() map[string]json.RawMessage + Store() storev2.RootStore + Close() error + } + + // TestInstance system under test + TestInstance[T Tx] struct { + App SimulationApp[T] + TxDecoder transaction.Codec[T] + BankKeeper BankKeeper + AuthKeeper AuthKeeper + StakingKeeper StakingKeeper + TXBuilder simsxv2.TXBuilder[T] + AppManager appmanager.AppManager[T] + ModuleManager ModuleManager + } + + AppFactory[T Tx, V SimulationApp[T]] func(config depinject.Config, outputs ...any) (V, error) +) + +// SetupTestInstance initializes and returns the system under test. +func SetupTestInstance[T Tx, V SimulationApp[T]](t *testing.T, factory AppFactory[T, V], appConfig depinject.Config) TestInstance[T] { + t.Helper() + vp := viper.New() + vp.Set("store.app-db-backend", "memdb") + vp.Set("home", t.TempDir()) + + depInjCfg := depinject.Configs( + depinject.Supply(log.NewNopLogger(), runtime.GlobalConfig(vp.AllSettings())), + appConfig, + ) + var ( + bankKeeper BankKeeper + authKeeper AuthKeeper + stKeeper StakingKeeper + ) + + err := depinject.Inject(depInjCfg, + &authKeeper, + &bankKeeper, + &stKeeper, + ) + require.NoError(t, err) + + xapp, err := factory(depinject.Configs(depinject.Supply(log.NewNopLogger(), runtime.GlobalConfig(vp.AllSettings())))) + require.NoError(t, err) + return TestInstance[T]{ + App: xapp, + BankKeeper: bankKeeper, + AuthKeeper: authKeeper, + StakingKeeper: stKeeper, + AppManager: xapp.GetApp(), + ModuleManager: xapp.GetApp().ModuleManager(), + TxDecoder: simsxv2.NewGenericTxDecoder[T](xapp.TxConfig()), + TXBuilder: simsxv2.NewSDKTXBuilder[T](xapp.TxConfig(), simsxv2.DefaultGenTxGas), + } +} + +// RunWithSeeds runs a series of subtests using the default set of random seeds for deterministic simulation testing. +func RunWithSeeds[T Tx]( + t *testing.T, + seeds []int64, + postRunActions ...func(t testing.TB, app TestInstance[T], accs []simtypes.Account), +) { + t.Helper() + cfg := cli.NewConfigFromFlags() + cfg.ChainID = SimAppChainID + for i := range seeds { + seed := seeds[i] + t.Run(fmt.Sprintf("seed: %d", seed), func(t *testing.T) { + t.Parallel() + RunWithSeed(t, NewSimApp[T], AppConfig(), cfg, seed, postRunActions...) + }) + } +} + +// RunWithSeed initializes and executes a simulation run with the given seed, generating blocks and transactions. +func RunWithSeed[T Tx, V SimulationApp[T]]( + t *testing.T, + appFactory AppFactory[T, V], + appConfig depinject.Config, + tCfg simtypes.Config, + seed int64, + postRunActions ...func(t testing.TB, app TestInstance[T], accs []simtypes.Account), +) { + t.Helper() + r := rand.New(rand.NewSource(seed)) + testInstance := SetupTestInstance[T, V](t, appFactory, appConfig) + accounts, genesisAppState, chainID, genesisTimestamp := prepareInitialGenesisState(testInstance.App, r, testInstance.BankKeeper, tCfg, testInstance.ModuleManager) + + appManager := testInstance.AppManager + appStore := testInstance.App.Store() + txConfig := testInstance.App.TxConfig() + rootCtx, done := context.WithCancel(context.Background()) + defer done() + initRsp, stateRoot := doChainInitWithGenesis(t, rootCtx, chainID, genesisTimestamp, appManager, testInstance.TxDecoder, genesisAppState, appStore) + activeValidatorSet := simsxv2.NewValSet().Update(initRsp.ValidatorUpdates) + valsetHistory := simsxv2.NewValSetHistory(1) + valsetHistory.Add(genesisTimestamp, activeValidatorSet) + + emptySimParams := make(map[string]json.RawMessage) // todo read sims params from disk as before + + modules := testInstance.ModuleManager.Modules() + msgFactoriesFn := prepareSimsMsgFactories(r, modules, simsx.ParamWeightSource(emptySimParams)) + + cs := chainState[T]{ + chainID: chainID, + blockTime: genesisTimestamp, + activeValidatorSet: activeValidatorSet, + valsetHistory: valsetHistory, + stateRoot: stateRoot, + app: appManager, + appStore: appStore, + txConfig: txConfig, + } + doMainLoop( + t, + rootCtx, + cs, + msgFactoriesFn, + r, + testInstance.AuthKeeper, + testInstance.BankKeeper, + accounts, + testInstance.TXBuilder, + testInstance.StakingKeeper, + ) + require.NoError(t, testInstance.App.Close(), "closing app") + + for _, step := range postRunActions { + step(t, testInstance, accounts) + } +} + +// prepareInitialGenesisState initializes the genesis state for simulation by generating accounts, app state, chain ID, and timestamp. +// It uses a random seed, configuration parameters, and module manager to customize the state. +// Blocked accounts are removed from the simulation accounts list based on the bank keeper's configuration. +func prepareInitialGenesisState[T Tx]( + app SimulationApp[T], + r *rand.Rand, + bankKeeper BankKeeper, + tCfg simtypes.Config, + moduleManager ModuleManager, +) ([]simtypes.Account, json.RawMessage, string, time.Time) { + txConfig := app.TxConfig() + // todo: replace legacy testdata functions ? + appStateFn := simtestutil.AppStateFn( + app.AppCodec(), + txConfig.SigningContext().AddressCodec(), + txConfig.SigningContext().ValidatorAddressCodec(), + toLegacySimsModule(moduleManager.Modules()), + app.DefaultGenesis(), + ) + params := simulation.RandomParams(r) + accounts := slices.DeleteFunc(simtypes.RandomAccounts(r, params.NumKeys()), + func(acc simtypes.Account) bool { // remove blocked accounts + return bankKeeper.GetBlockedAddresses()[acc.AddressBech32] + }) + + appState, accounts, chainID, genesisTimestamp := appStateFn(r, accounts, tCfg) + return accounts, appState, chainID, genesisTimestamp +} + +// doChainInitWithGenesis initializes the blockchain state with the provided genesis data and returns the initial block response and state root. +func doChainInitWithGenesis[T Tx]( + t *testing.T, + ctx context.Context, + chainID string, + genesisTimestamp time.Time, + app appmanager.AppManager[T], + txDecoder transaction.Codec[T], + genesisAppState json.RawMessage, + appStore cometbfttypes.Store, +) (*server.BlockResponse, store.Hash) { + t.Helper() + genesisReq := &server.BlockRequest[T]{ + Height: 0, + Time: genesisTimestamp, + Hash: make([]byte, 32), + ChainId: chainID, + AppHash: make([]byte, 32), + IsGenesis: true, + } + + initialConsensusParams := &consensustypes.MsgUpdateParams{ + Block: &cmtproto.BlockParams{ + MaxBytes: 200000, + MaxGas: 100_000_000, + }, + Evidence: &cmtproto.EvidenceParams{ + MaxAgeNumBlocks: 302400, + MaxAgeDuration: 504 * time.Hour, // 3 weeks is the max duration + MaxBytes: 10000, + }, + Validator: &cmtproto.ValidatorParams{PubKeyTypes: []string{cmttypes.ABCIPubKeyTypeEd25519, cmttypes.ABCIPubKeyTypeSecp256k1}}, + } + genesisCtx := context.WithValue(ctx, corecontext.CometParamsInitInfoKey, initialConsensusParams) + initRsp, genesisStateChanges, err := app.InitGenesis(genesisCtx, genesisReq, genesisAppState, txDecoder) + require.NoError(t, err) + + require.NoError(t, appStore.SetInitialVersion(0)) + changeSet, err := genesisStateChanges.GetStateChanges() + require.NoError(t, err) + + stateRoot, err := appStore.Commit(&store.Changeset{Changes: changeSet}) + require.NoError(t, err) + return initRsp, stateRoot +} + +// chainState represents the state of a blockchain during a simulation run. +type chainState[T Tx] struct { + chainID string + blockTime time.Time + activeValidatorSet simsxv2.WeightedValidators + valsetHistory *simsxv2.ValSetHistory + stateRoot store.Hash + app appmanager.TransactionFuzzer[T] + appStore storev2.RootStore + txConfig client.TxConfig +} + +// doMainLoop executes the main simulation loop after chain setup with genesis block. +// Based on the initial seed and configurations, a deterministic set of messages is generated +// and executed. Events like validators missing votes or double signing are included in this +// process. The runtime tracks the validator's state and history. +func doMainLoop[T Tx]( + t *testing.T, + rootCtx context.Context, + cs chainState[T], + nextMsgFactory func() simsx.SimMsgFactoryX, + r *rand.Rand, + authKeeper AuthKeeper, + bankKeeper simsx.BalanceSource, + accounts []simtypes.Account, + txBuilder simsxv2.TXBuilder[T], + stakingKeeper StakingKeeper, +) { + t.Helper() + blockTime := cs.blockTime + activeValidatorSet := cs.activeValidatorSet + if len(activeValidatorSet) == 0 { + t.Fatal("no active validators in chain setup") + return + } + valsetHistory := cs.valsetHistory + stateRoot := cs.stateRoot + chainID := cs.chainID + app := cs.app + appStore := cs.appStore + + const ( // todo: read from CLI instead + numBlocks = 100 // 500 default + maxTXPerBlock = 200 // 200 default + ) + + var ( + txSkippedCounter int + txTotalCounter int + ) + rootReporter := simsx.NewBasicSimulationReporter() + futureOpsReg := simsxv2.NewFutureOpsRegistry() + + for i := 0; i < numBlocks; i++ { + if len(activeValidatorSet) == 0 { + t.Skipf("run out of validators in block: %d\n", i+1) + return + } + blockTime = blockTime.Add(minTimePerBlock) + blockTime = blockTime.Add(time.Duration(int64(r.Intn(int(timeRangePerBlock/time.Second)))) * time.Second) + valsetHistory.Add(blockTime, activeValidatorSet) + blockReqN := &server.BlockRequest[T]{ + Height: uint64(1 + i), + Time: blockTime, + Hash: stateRoot, + AppHash: stateRoot, + ChainId: chainID, + } + + cometInfo := comet.Info{ + ValidatorsHash: nil, + Evidence: valsetHistory.MissBehaviour(r), + ProposerAddress: activeValidatorSet[0].Address, + LastCommit: activeValidatorSet.NewCommitInfo(r), + } + fOps, pos := futureOpsReg.PopScheduledFor(blockTime), 0 + addressCodec := cs.txConfig.SigningContext().AddressCodec() + simsCtx := context.WithValue(rootCtx, corecontext.CometInfoKey, cometInfo) // required for ContextAwareCometInfoService + resultHandlers := make([]simsx.SimDeliveryResultHandler, 0, maxTXPerBlock) + var txPerBlockCounter int + blockRsp, updates, err := app.DeliverSims(simsCtx, blockReqN, func(ctx context.Context) iter.Seq[T] { + return func(yield func(T) bool) { + unbondingTime, err := stakingKeeper.UnbondingTime(ctx) + require.NoError(t, err) + valsetHistory.SetMaxHistory(minBlocksInUnbondingPeriod(unbondingTime)) + testData := simsx.NewChainDataSource(ctx, r, authKeeper, bankKeeper, addressCodec, accounts...) + + for txPerBlockCounter < maxTXPerBlock { + txPerBlockCounter++ + mergedMsgFactory := func() simsx.SimMsgFactoryX { + if pos < len(fOps) { + pos++ + return fOps[pos-1] + } + return nextMsgFactory() + }() + reporter := rootReporter.WithScope(mergedMsgFactory.MsgType()) + if fx, ok := mergedMsgFactory.(simsx.HasFutureOpsRegistry); ok { + fx.SetFutureOpsRegistry(futureOpsReg) + continue + } + + // the stf context is required to access state via keepers + signers, msg := mergedMsgFactory.Create()(ctx, testData, reporter) + if reporter.IsSkipped() { + txSkippedCounter++ + require.NoError(t, reporter.Close()) + continue + } + resultHandlers = append(resultHandlers, mergedMsgFactory.DeliveryResultHandler()) + reporter.Success(msg) + require.NoError(t, reporter.Close()) + + tx, err := txBuilder.Build(ctx, authKeeper, signers, msg, r, chainID) + require.NoError(t, err) + if !yield(tx) { + return + } + } + } + }) + require.NoError(t, err, "%d, %s", blockReqN.Height, blockReqN.Time) + changeSet, err := updates.GetStateChanges() + require.NoError(t, err) + stateRoot, err = appStore.Commit(&store.Changeset{ + Version: blockReqN.Height, + Changes: changeSet, + }) + + require.NoError(t, err) + require.Equal(t, len(resultHandlers), len(blockRsp.TxResults), "txPerBlockCounter: %d, totalSkipped: %d", txPerBlockCounter, txSkippedCounter) + for i, v := range blockRsp.TxResults { + require.NoError(t, resultHandlers[i](v.Error)) + } + txTotalCounter += txPerBlockCounter + activeValidatorSet = activeValidatorSet.Update(blockRsp.ValidatorUpdates) + } + fmt.Println("+++ reporter:\n" + rootReporter.Summary().String()) + fmt.Printf("Tx total: %d skipped: %d\n", txTotalCounter, txSkippedCounter) +} + +// prepareSimsMsgFactories constructs and returns a function to retrieve simulation message factories for all modules. +// It initializes proposal and factory registries, registers proposals and weighted operations, and sorts deterministically. +func prepareSimsMsgFactories( + r *rand.Rand, + modules map[string]appmodulev2.AppModule, + weights simsx.WeightSource, +) func() simsx.SimMsgFactoryX { + moduleNames := slices.Collect(maps.Keys(modules)) + slices.Sort(moduleNames) // make deterministic + + // get all proposal types + proposalRegistry := simsx.NewUniqueTypeRegistry() + for _, n := range moduleNames { + switch xm := modules[n].(type) { // nolint: gocritic // extended in the future + case HasProposalMsgsX: + xm.ProposalMsgsX(weights, proposalRegistry) + // todo: register legacy and v1 msg proposals + } + } + // register all msg factories + factoryRegistry := simsx.NewUnorderedRegistry() + for _, n := range moduleNames { + switch xm := modules[n].(type) { + case HasWeightedOperationsX: + xm.WeightedOperationsX(weights, factoryRegistry) + case HasWeightedOperationsXWithProposals: + xm.WeightedOperationsX(weights, factoryRegistry, proposalRegistry.Iterator(), nil) + } + } + return simsxv2.NextFactoryFn(factoryRegistry.Elements(), r) +} + +func toLegacySimsModule(modules map[string]appmodule.AppModule) []module.AppModuleSimulation { + r := make([]module.AppModuleSimulation, 0, len(modules)) + names := slices.Collect(maps.Keys(modules)) + slices.Sort(names) // make deterministic + for _, v := range names { + if m, ok := modules[v].(module.AppModuleSimulation); ok { + r = append(r, m) + } + } + return r +} + +func minBlocksInUnbondingPeriod(unbondingTime time.Duration) int { + maxblocks := unbondingTime / maxTimePerBlock + return max(int(maxblocks)-1, 1) +} diff --git a/simapp/v2/sim_test.go b/simapp/v2/sim_test.go new file mode 100644 index 000000000000..c92aeaedefc3 --- /dev/null +++ b/simapp/v2/sim_test.go @@ -0,0 +1,7 @@ +package simapp + +import "testing" + +func TestSimsAppV2(t *testing.T) { + RunWithSeeds[Tx](t, defaultSeeds) +} diff --git a/simsx/msg_factory.go b/simsx/msg_factory.go index 1c6b6e4b9611..c2e751c84f56 100644 --- a/simsx/msg_factory.go +++ b/simsx/msg_factory.go @@ -61,24 +61,20 @@ type ResultHandlingSimMsgFactory[T sdk.Msg] struct { // NewSimMsgFactoryWithDeliveryResultHandler constructor func NewSimMsgFactoryWithDeliveryResultHandler[T sdk.Msg](f FactoryMethodWithDeliveryResultHandler[T]) *ResultHandlingSimMsgFactory[T] { - // the result handler is always called after the factory. so we initialize it lazy for syntactic sugar and simplicity - // in the message factory function that is implemented by the users - var lazyResultHandler SimDeliveryResultHandler r := &ResultHandlingSimMsgFactory[T]{ - resultHandler: func(err error) error { - return lazyResultHandler(err) - }, + resultHandler: expectNoError, } r.SimMsgFactoryFn = func(ctx context.Context, testData *ChainDataSource, reporter SimulationReporter) (signer []SimAccount, msg T) { - signer, msg, lazyResultHandler = f(ctx, testData, reporter) - if lazyResultHandler == nil { - lazyResultHandler = expectNoError + signer, msg, r.resultHandler = f(ctx, testData, reporter) + if r.resultHandler == nil { + r.resultHandler = expectNoError } return } return r } +// DeliveryResultHandler result handler of the last msg factory invocation func (f ResultHandlingSimMsgFactory[T]) DeliveryResultHandler() SimDeliveryResultHandler { return f.resultHandler } diff --git a/simsx/registry.go b/simsx/registry.go index 6aee009f379d..aeb3577ee081 100644 --- a/simsx/registry.go +++ b/simsx/registry.go @@ -160,6 +160,12 @@ func NewUniqueTypeRegistry() UniqueTypeRegistry { } func (s UniqueTypeRegistry) Add(weight uint32, f SimMsgFactoryX) { + if weight == 0 { + return + } + if f == nil { + panic("message factory must not be nil") + } msgType := f.MsgType() msgTypeURL := sdk.MsgTypeURL(msgType) if _, exists := s[msgTypeURL]; exists { @@ -170,8 +176,7 @@ func (s UniqueTypeRegistry) Add(weight uint32, f SimMsgFactoryX) { // Iterator returns an iterator function for a Go for loop sorted by weight desc. func (s UniqueTypeRegistry) Iterator() WeightedProposalMsgIter { - x := maps.Values(s) - sortedWeightedFactory := slices.SortedFunc(x, func(a, b WeightedFactory) int { + sortedWeightedFactory := slices.SortedFunc(maps.Values(s), func(a, b WeightedFactory) int { return a.Compare(b) }) @@ -184,6 +189,33 @@ func (s UniqueTypeRegistry) Iterator() WeightedProposalMsgIter { } } +var _ Registry = &UnorderedRegistry{} + +// UnorderedRegistry represents a collection of WeightedFactory elements without guaranteed order. +// It is used to maintain factories coupled with their associated weights for simulation purposes. +type UnorderedRegistry []WeightedFactory + +func NewUnorderedRegistry() *UnorderedRegistry { + r := make(UnorderedRegistry, 0) + return &r +} + +// Add appends a new WeightedFactory with the provided weight and factory to the UnorderedRegistry. +func (x *UnorderedRegistry) Add(weight uint32, f SimMsgFactoryX) { + if weight == 0 { + return + } + if f == nil { + panic("message factory must not be nil") + } + *x = append(*x, WeightedFactory{Weight: weight, Factory: f}) +} + +// Elements returns all collected elements +func (x *UnorderedRegistry) Elements() []WeightedFactory { + return *x +} + // WeightedFactory is a Weight Factory tuple type WeightedFactory struct { Weight uint32 diff --git a/simsx/registry_test.go b/simsx/registry_test.go index e8aba1239c7a..b9ceb3d96798 100644 --- a/simsx/registry_test.go +++ b/simsx/registry_test.go @@ -119,6 +119,9 @@ func TestUniqueTypeRegistry(t *testing.T) { exampleFactory := SimMsgFactoryFn[*testdata.TestMsg](func(ctx context.Context, testData *ChainDataSource, reporter SimulationReporter) (signer []SimAccount, msg *testdata.TestMsg) { return []SimAccount{}, nil }) + exampleFactory2 := SimMsgFactoryFn[*testdata.MsgCreateDog](func(ctx context.Context, testData *ChainDataSource, reporter SimulationReporter) (signer []SimAccount, msg *testdata.MsgCreateDog) { + return []SimAccount{}, nil + }) specs := map[string]struct { src []WeightedFactory @@ -129,6 +132,10 @@ func TestUniqueTypeRegistry(t *testing.T) { src: []WeightedFactory{{Weight: 1, Factory: exampleFactory}}, exp: []WeightedFactoryMethod{{Weight: 1, Factory: exampleFactory.Create()}}, }, + "sorted": { + src: []WeightedFactory{{Weight: 2, Factory: exampleFactory2}, {Weight: 1, Factory: exampleFactory}}, + exp: []WeightedFactoryMethod{{Weight: 1, Factory: exampleFactory.Create()}, {Weight: 2, Factory: exampleFactory2.Create()}}, + }, "duplicate": { src: []WeightedFactory{{Weight: 1, Factory: exampleFactory}, {Weight: 2, Factory: exampleFactory}}, expErr: true, diff --git a/simsx/v2/msg_factory.go b/simsx/v2/msg_factory.go new file mode 100644 index 000000000000..3ac1c798a5c1 --- /dev/null +++ b/simsx/v2/msg_factory.go @@ -0,0 +1,31 @@ +package v2 + +import ( + "math/rand" + + "github.com/cosmos/cosmos-sdk/simsx" +) + +// NextFactoryFn shuffles and processes a list of weighted factories, returning a selection function for factory objects. +func NextFactoryFn(factories []simsx.WeightedFactory, r *rand.Rand) func() simsx.SimMsgFactoryX { + factCount := len(factories) + r.Shuffle(factCount, func(i, j int) { + factories[i], factories[j] = factories[j], factories[i] + }) + var totalWeight int + for _, f := range factories { + totalWeight += int(f.Weight) + } + return func() simsx.SimMsgFactoryX { + // this is copied from old sims WeightedOperations.getSelectOpFn + x := r.Intn(totalWeight) + for i := 0; i < factCount; i++ { + if x <= int(factories[i].Weight) { + return factories[i].Factory + } + x -= int(factories[i].Weight) + } + // shouldn't happen + return factories[0].Factory + } +} diff --git a/simsx/v2/registry.go b/simsx/v2/registry.go new file mode 100644 index 000000000000..8811fa3702fb --- /dev/null +++ b/simsx/v2/registry.go @@ -0,0 +1,65 @@ +package v2 + +import ( + "math/rand" + "time" + + "github.com/huandu/skiplist" + + "github.com/cosmos/cosmos-sdk/simsx" +) + +// FutureOpsRegistry is a registry for scheduling and retrieving operations mapped to future block times. +type FutureOpsRegistry struct { + list *skiplist.SkipList +} + +// NewFutureOpsRegistry constructor +func NewFutureOpsRegistry() *FutureOpsRegistry { + list := skiplist.New(timeComparator{}) + list.SetRandSource(rand.NewSource(1)) + return &FutureOpsRegistry{list: list} +} + +// Add schedules a new operation for the given block time +func (l *FutureOpsRegistry) Add(blockTime time.Time, fx simsx.SimMsgFactoryX) { + if fx == nil { + panic("message factory must not be nil") + } + if blockTime.IsZero() { + return + } + var scheduledOps []simsx.SimMsgFactoryX + if e := l.list.Get(blockTime); e != nil { + scheduledOps = e.Value.([]simsx.SimMsgFactoryX) + } + scheduledOps = append(scheduledOps, fx) + l.list.Set(blockTime, scheduledOps) +} + +// PopScheduledFor retrieves and removes all scheduled operations up to the specified block time from the registry. +func (l *FutureOpsRegistry) PopScheduledFor(blockTime time.Time) []simsx.SimMsgFactoryX { + var r []simsx.SimMsgFactoryX + for { + e := l.list.Front() + if e == nil || e.Key().(time.Time).After(blockTime) { + break + } + r = append(r, e.Value.([]simsx.SimMsgFactoryX)...) + l.list.RemoveFront() + } + return r +} + +var _ skiplist.Comparable = timeComparator{} + +// used for SkipList +type timeComparator struct{} + +func (t timeComparator) Compare(lhs, rhs interface{}) int { + return lhs.(time.Time).Compare(rhs.(time.Time)) +} + +func (t timeComparator) CalcScore(key interface{}) float64 { + return float64(key.(time.Time).UnixNano()) +} diff --git a/simsx/v2/txutils.go b/simsx/v2/txutils.go new file mode 100644 index 000000000000..640d09a114b4 --- /dev/null +++ b/simsx/v2/txutils.go @@ -0,0 +1,198 @@ +package v2 + +import ( + "context" + "errors" + "fmt" + "math/rand" + + "cosmossdk.io/core/transaction" + + "github.com/cosmos/cosmos-sdk/client" + cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" + "github.com/cosmos/cosmos-sdk/simsx" + sdk "github.com/cosmos/cosmos-sdk/types" + "github.com/cosmos/cosmos-sdk/types/simulation" + "github.com/cosmos/cosmos-sdk/types/tx/signing" + authsign "github.com/cosmos/cosmos-sdk/x/auth/signing" +) + +const DefaultGenTxGas = 10_000_000 + +type Tx = transaction.Tx + +// TXBuilder abstract transaction builder +type TXBuilder[T Tx] interface { + // Build creates a signed transaction + Build(ctx context.Context, + ak simsx.AccountSource, + senders []simsx.SimAccount, + msg sdk.Msg, + r *rand.Rand, + chainID string, + ) (T, error) +} + +var _ TXBuilder[Tx] = TXBuilderFn[Tx](nil) + +// TXBuilderFn adapter that implements the TXBuilder interface +type TXBuilderFn[T Tx] func(ctx context.Context, ak simsx.AccountSource, senders []simsx.SimAccount, msg sdk.Msg, r *rand.Rand, chainID string) (T, error) + +func (b TXBuilderFn[T]) Build(ctx context.Context, ak simsx.AccountSource, senders []simsx.SimAccount, msg sdk.Msg, r *rand.Rand, chainID string) (T, error) { + return b(ctx, ak, senders, msg, r, chainID) +} + +// NewSDKTXBuilder constructor to create a signed transaction builder for sdk.Tx type. +func NewSDKTXBuilder[T Tx](txConfig client.TxConfig, defaultGas uint64) TXBuilder[T] { + return TXBuilderFn[T](func(ctx context.Context, ak simsx.AccountSource, senders []simsx.SimAccount, msg sdk.Msg, r *rand.Rand, chainID string) (tx T, err error) { + accountNumbers := make([]uint64, len(senders)) + sequenceNumbers := make([]uint64, len(senders)) + for i := 0; i < len(senders); i++ { + acc := ak.GetAccount(ctx, senders[i].Address) + accountNumbers[i] = acc.GetAccountNumber() + sequenceNumbers[i] = acc.GetSequence() + } + fees := senders[0].LiquidBalance().RandFees() + sdkTx, err := GenSignedMockTx( + r, + txConfig, + []sdk.Msg{msg}, + fees, + defaultGas, + chainID, + accountNumbers, + sequenceNumbers, + simsx.Collect(senders, func(a simsx.SimAccount) cryptotypes.PrivKey { return a.PrivKey })..., + ) + if err != nil { + return tx, err + } + out, ok := sdkTx.(T) + if !ok { + return out, errors.New("unexpected Tx type") + } + return out, nil + }) +} + +// GenSignedMockTx generates a signed mock transaction. +func GenSignedMockTx( + r *rand.Rand, + txConfig client.TxConfig, + msgs []sdk.Msg, + feeAmt sdk.Coins, + gas uint64, + chainID string, + accNums, accSeqs []uint64, + priv ...cryptotypes.PrivKey, +) (sdk.Tx, error) { + sigs := make([]signing.SignatureV2, len(priv)) + + // create a random length memo + memo := simulation.RandStringOfLength(r, simulation.RandIntBetween(r, 0, 100)) + + signMode, err := authsign.APISignModeToInternal(txConfig.SignModeHandler().DefaultMode()) + if err != nil { + return nil, err + } + + // 1st round: set SignatureV2 with empty signatures, to set correct + // signer infos. + for i, p := range priv { + sigs[i] = signing.SignatureV2{ + PubKey: p.PubKey(), + Data: &signing.SingleSignatureData{ + SignMode: signMode, + }, + Sequence: accSeqs[i], + } + } + + tx := txConfig.NewTxBuilder() + err = tx.SetMsgs(msgs...) + if err != nil { + return nil, err + } + err = tx.SetSignatures(sigs...) + if err != nil { + return nil, err + } + tx.SetMemo(memo) + tx.SetFeeAmount(feeAmt) + tx.SetGasLimit(gas) + + // 2nd round: once all signer infos are set, every signer can sign. + for i, p := range priv { + signerData := authsign.SignerData{ + Address: sdk.AccAddress(p.PubKey().Address()).String(), + ChainID: chainID, + AccountNumber: accNums[i], + Sequence: accSeqs[i], + PubKey: p.PubKey(), + } + + signBytes, err := authsign.GetSignBytesAdapter( + context.Background(), txConfig.SignModeHandler(), signMode, signerData, + tx.GetTx()) + if err != nil { + return nil, fmt.Errorf("sign bytes: %w", err) + } + sig, err := p.Sign(signBytes) + if err != nil { + return nil, fmt.Errorf("sign: %w", err) + } + sigs[i].Data.(*signing.SingleSignatureData).Signature = sig + } + + if err = tx.SetSignatures(sigs...); err != nil { + return nil, fmt.Errorf("signature: %w", err) + } + + return tx.GetTx(), nil +} + +var _ transaction.Codec[Tx] = &GenericTxDecoder[Tx]{} + +// GenericTxDecoder Encoder type that implements transaction.Codec +type GenericTxDecoder[T Tx] struct { + txConfig client.TxConfig +} + +// NewGenericTxDecoder constructor +func NewGenericTxDecoder[T Tx](txConfig client.TxConfig) *GenericTxDecoder[T] { + return &GenericTxDecoder[T]{txConfig: txConfig} +} + +// Decode implements transaction.Codec. +func (t *GenericTxDecoder[T]) Decode(bz []byte) (T, error) { + var out T + tx, err := t.txConfig.TxDecoder()(bz) + if err != nil { + return out, err + } + + var ok bool + out, ok = tx.(T) + if !ok { + return out, errors.New("unexpected Tx type") + } + + return out, nil +} + +// DecodeJSON implements transaction.Codec. +func (t *GenericTxDecoder[T]) DecodeJSON(bz []byte) (T, error) { + var out T + tx, err := t.txConfig.TxJSONDecoder()(bz) + if err != nil { + return out, err + } + + var ok bool + out, ok = tx.(T) + if !ok { + return out, errors.New("unexpected Tx type") + } + + return out, nil +} diff --git a/simsx/v2/valset.go b/simsx/v2/valset.go new file mode 100644 index 000000000000..dfc57523cead --- /dev/null +++ b/simsx/v2/valset.go @@ -0,0 +1,108 @@ +package v2 + +import ( + "bytes" + "crypto/sha256" + "math/rand" + "slices" + + appmodulev2 "cosmossdk.io/core/appmodule/v2" + "cosmossdk.io/core/comet" + + "github.com/cosmos/cosmos-sdk/simsx" +) + +// WeightedValidator represents a validator for usage in the sims runner. +type WeightedValidator struct { + Power int64 + Address []byte + Offline bool +} + +// Compare determines the order between two WeightedValidator instances. +// Returns -1 if the caller has higher Power, 1 if it has lower Power, and defaults to comparing their Address bytes. +func (a WeightedValidator) Compare(b WeightedValidator) int { + switch { + case a.Power < b.Power: + return 1 + case a.Power > b.Power: + return -1 + default: + return bytes.Compare(a.Address, b.Address) + } +} + +// NewValSet constructor +func NewValSet() WeightedValidators { + return make(WeightedValidators, 0) +} + +// WeightedValidators represents a slice of WeightedValidator, used for managing and processing validator sets. +type WeightedValidators []WeightedValidator + +func (v WeightedValidators) Update(updates []appmodulev2.ValidatorUpdate) WeightedValidators { + if len(updates) == 0 { + return v + } + const truncatedSize = 20 + valUpdates := simsx.Collect(updates, func(u appmodulev2.ValidatorUpdate) WeightedValidator { + hash := sha256.Sum256(u.PubKey) + return WeightedValidator{Power: u.Power, Address: hash[:truncatedSize]} + }) + newValset := slices.Clone(v) + for _, u := range valUpdates { + pos := slices.IndexFunc(newValset, func(val WeightedValidator) bool { + return bytes.Equal(u.Address, val.Address) + }) + if pos == -1 { // new address + if u.Power > 0 { + newValset = append(newValset, u) + } + continue + } + if u.Power == 0 { + newValset = append(newValset[0:pos], newValset[pos+1:]...) + continue + } + newValset[pos].Power = u.Power + } + + newValset = slices.DeleteFunc(newValset, func(validator WeightedValidator) bool { + return validator.Power == 0 + }) + + // sort vals by Power + slices.SortFunc(newValset, func(a, b WeightedValidator) int { + return a.Compare(b) + }) + return newValset +} + +// NewCommitInfo build Comet commit info for the validator set +func (v WeightedValidators) NewCommitInfo(r *rand.Rand) comet.CommitInfo { + if len(v) == 0 { + return comet.CommitInfo{Votes: make([]comet.VoteInfo, 0)} + } + if r.Intn(10) == 0 { + v[r.Intn(len(v))].Offline = r.Intn(2) == 0 + } + votes := make([]comet.VoteInfo, 0, len(v)) + for i := range v { + if v[i].Offline { + continue + } + votes = append(votes, comet.VoteInfo{ + Validator: comet.Validator{Address: v[i].Address, Power: v[i].Power}, + BlockIDFlag: comet.BlockIDFlagCommit, + }) + } + return comet.CommitInfo{Round: int32(r.Uint32()), Votes: votes} +} + +func (v WeightedValidators) TotalPower() int64 { + var r int64 + for _, val := range v { + r += val.Power + } + return r +} diff --git a/simsx/v2/valset_history.go b/simsx/v2/valset_history.go new file mode 100644 index 000000000000..9c05978ef900 --- /dev/null +++ b/simsx/v2/valset_history.go @@ -0,0 +1,78 @@ +package v2 + +import ( + "math/rand" + "slices" + "time" + + "cosmossdk.io/core/comet" + + "github.com/cosmos/cosmos-sdk/simsx" +) + +type historicValSet struct { + blockTime time.Time + vals WeightedValidators +} +type ValSetHistory struct { + maxElements int + blockOffset int + vals []historicValSet +} + +func NewValSetHistory(maxElements int) *ValSetHistory { + return &ValSetHistory{ + maxElements: maxElements, + blockOffset: 1, // start at height 1 + vals: make([]historicValSet, 0, maxElements), + } +} + +func (h *ValSetHistory) Add(blockTime time.Time, vals WeightedValidators) { + vals = slices.DeleteFunc(vals, func(validator WeightedValidator) bool { + return validator.Power == 0 + }) + slices.SortFunc(vals, func(a, b WeightedValidator) int { + return b.Compare(a) + }) + newEntry := historicValSet{blockTime: blockTime, vals: vals} + if len(h.vals) >= h.maxElements { + h.vals = append(h.vals[1:], newEntry) + h.blockOffset++ + return + } + h.vals = append(h.vals, newEntry) +} + +// MissBehaviour determines if a random validator misbehaves, creating and returning evidence for duplicate voting. +// Returns a slice of comet.Evidence if misbehavior is detected; otherwise, returns nil. +// Has a 1% chance of generating evidence for a validator's misbehavior. +// Recursively checks for other misbehavior instances and combines their evidence if any. +// Utilizes a random generator to select a validator and evidence-related attributes. +func (h *ValSetHistory) MissBehaviour(r *rand.Rand) []comet.Evidence { + if r.Intn(100) != 0 { // 1% chance + return nil + } + n := r.Intn(len(h.vals)) + badVal := simsx.OneOf(r, h.vals[n].vals) + evidence := comet.Evidence{ + Type: comet.DuplicateVote, + Validator: comet.Validator{Address: badVal.Address, Power: badVal.Power}, + Height: int64(h.blockOffset + n), + Time: h.vals[n].blockTime, + TotalVotingPower: h.vals[n].vals.TotalPower(), + } + if otherEvidence := h.MissBehaviour(r); otherEvidence != nil { + return append([]comet.Evidence{evidence}, otherEvidence...) + } + return []comet.Evidence{evidence} +} + +func (h *ValSetHistory) SetMaxHistory(v int) { + h.maxElements = v + if len(h.vals) > h.maxElements { + diff := len(h.vals) - h.maxElements + h.vals = h.vals[diff:] + h.blockOffset += diff + } +} diff --git a/store/v2/db/db.go b/store/v2/db/db.go index dbe67e59792c..4b63766c22a5 100644 --- a/store/v2/db/db.go +++ b/store/v2/db/db.go @@ -14,6 +14,8 @@ const ( DBTypePebbleDB DBType = "pebbledb" DBTypePrefixDB DBType = "prefixdb" + DBTypeMemDB DBType = "memdb" // used for sims + DBFileSuffix string = ".db" ) @@ -24,6 +26,8 @@ func NewDB(dbType DBType, name, dataDir string, opts coreserver.DynamicConfig) ( case DBTypePebbleDB: return NewPebbleDB(name, dataDir) + case DBTypeMemDB: + return NewMemDB(), nil } return nil, fmt.Errorf("unsupported db type: %s", dbType) diff --git a/tests/systemtests/tx_test.go b/tests/systemtests/tx_test.go index abc17b86b76b..3759fbdb01a5 100644 --- a/tests/systemtests/tx_test.go +++ b/tests/systemtests/tx_test.go @@ -1118,7 +1118,7 @@ func TestSimulateTx_GasImprovements(t *testing.T) { testCases := []struct { name string simulateArgs []string - txArgs []string + txArgs []string }{ { "simulate without fees", @@ -1152,17 +1152,17 @@ func TestSimulateTx_GasImprovements(t *testing.T) { // create unsign tx res := cli.RunCommandWithArgs(tc.simulateArgs...) txFile := systest.StoreTempFile(t, []byte(res)) - + res = cli.RunCommandWithArgs("tx", "sign", txFile.Name(), "--from="+valAddr, "--chain-id="+cli.ChainID(), "--keyring-backend=test", "--home="+systest.Sut.NodeDir(0)) signedTxFile := systest.StoreTempFile(t, []byte(res)) - + res = cli.RunCommandWithArgs("tx", "encode", signedTxFile.Name()) txBz, err := base64.StdEncoding.DecodeString(res) require.NoError(t, err) - + reqBz, err := json.Marshal(&tx.SimulateRequest{TxBytes: txBz}) require.NoError(t, err) - + resBz, err := testutil.PostRequest(fmt.Sprintf("%s/cosmos/tx/v1beta1/simulate", baseURL), "application/json", reqBz) require.NoError(t, err) gasUsed := gjson.Get(string(resBz), "gas_info.gas_used").Int() @@ -1184,7 +1184,7 @@ func TestSimulateTx_GasImprovements(t *testing.T) { fmt.Println("gasAdjustment", i, gasAdjustment[i]) } } - + // Calculate average adjustments total := 0.0 for i := 0; i < txlen; i++ { diff --git a/testutil/sims/state_helpers.go b/testutil/sims/state_helpers.go index 76d06b8959d6..8e229891c7e7 100644 --- a/testutil/sims/state_helpers.go +++ b/testutil/sims/state_helpers.go @@ -212,6 +212,7 @@ func AppStateRandomizedFn( // AppStateFromGenesisFileFn util function to generate the genesis AppState // from a genesis.json file. +// Deprecated: the private keys are not matching the accounts read from app state func AppStateFromGenesisFileFn(_ io.Reader, cdc codec.JSONCodec, genesisFile string) (genutiltypes.AppGenesis, []simtypes.Account, error) { file, err := os.Open(filepath.Clean(genesisFile)) if err != nil { @@ -233,6 +234,8 @@ func AppStateFromGenesisFileFn(_ io.Reader, cdc codec.JSONCodec, genesisFile str return *genesis, newAccs, nil } +// AccountsFromAppState +// Deprecated: the private keys are not matching the accounts read from app state func AccountsFromAppState(cdc codec.JSONCodec, appStateJSON json.RawMessage) ([]simtypes.Account, error) { var appState map[string]json.RawMessage if err := json.Unmarshal(appStateJSON, &appState); err != nil { diff --git a/testutil/sims/tx_helpers.go b/testutil/sims/tx_helpers.go index 9f71f8aadb20..ac5685de2cff 100644 --- a/testutil/sims/tx_helpers.go +++ b/testutil/sims/tx_helpers.go @@ -22,7 +22,16 @@ import ( ) // GenSignedMockTx generates a signed mock transaction. -func GenSignedMockTx(r *rand.Rand, txConfig client.TxConfig, msgs []sdk.Msg, feeAmt sdk.Coins, gas uint64, chainID string, accNums, accSeqs []uint64, priv ...cryptotypes.PrivKey) (sdk.Tx, error) { +func GenSignedMockTx( + r *rand.Rand, + txConfig client.TxConfig, + msgs []sdk.Msg, + feeAmt sdk.Coins, + gas uint64, + chainID string, + accNums, accSeqs []uint64, + priv ...cryptotypes.PrivKey, +) (sdk.Tx, error) { sigs := make([]signing.SignatureV2, len(priv)) // create a random length memo diff --git a/testutil/testdata/tx.go b/testutil/testdata/tx.go index 6de23c818b42..cf2a93c06318 100644 --- a/testutil/testdata/tx.go +++ b/testutil/testdata/tx.go @@ -1,12 +1,13 @@ package testdata import ( - "cosmossdk.io/math" "testing" "gotest.tools/v3/assert" "pgregory.net/rapid" + "cosmossdk.io/math" + "github.com/cosmos/cosmos-sdk/crypto/keys/ed25519" "github.com/cosmos/cosmos-sdk/crypto/keys/secp256k1" "github.com/cosmos/cosmos-sdk/crypto/keys/secp256r1" diff --git a/x/gov/simulation/msg_factory.go b/x/gov/simulation/msg_factory.go index b1267a9ea262..efe1b39790df 100644 --- a/x/gov/simulation/msg_factory.go +++ b/x/gov/simulation/msg_factory.go @@ -131,8 +131,7 @@ func submitProposalWithVotesScheduled( proposalMsgs ...sdk.Msg, ) ([]simsx.SimAccount, *v1.MsgSubmitProposal) { r := testData.Rand() - expedited := true - // expedited := r.Bool() + expedited := r.Bool() params := must(k.Params.Get(ctx)) minDeposits := params.MinDeposit if expedited { diff --git a/x/nft/simulation/msg_factory.go b/x/nft/simulation/msg_factory.go index 14db2666dee9..8ec1c63ce6c2 100644 --- a/x/nft/simulation/msg_factory.go +++ b/x/nft/simulation/msg_factory.go @@ -14,7 +14,9 @@ func MsgSendFactory(k keeper.Keeper) simsx.SimMsgFactoryFn[*nft.MsgSend] { return func(ctx context.Context, testData *simsx.ChainDataSource, reporter simsx.SimulationReporter) ([]simsx.SimAccount, *nft.MsgSend) { from := testData.AnyAccount(reporter, simsx.WithSpendableBalance()) to := testData.AnyAccount(reporter, simsx.ExcludeAccounts(from)) - + if reporter.IsSkipped() { + return nil, nil + } n, err := randNFT(ctx, testData.Rand(), k, from.Address) if err != nil { reporter.Skip(err.Error()) diff --git a/x/staking/simulation/msg_factory.go b/x/staking/simulation/msg_factory.go index a0a8c4a9df24..d2ebce042db3 100644 --- a/x/staking/simulation/msg_factory.go +++ b/x/staking/simulation/msg_factory.go @@ -321,21 +321,11 @@ func MsgRotateConsPubKeyFactory(k *keeper.Keeper) simsx.SimMsgFactoryFn[*types.M return nil, nil } // check whether the new cons key associated with another validator - newConsAddr := sdk.ConsAddress(otherAccount.ConsKey.PubKey().Address()) - - if _, err := k.GetValidatorByConsAddr(ctx, newConsAddr); err == nil { - reporter.Skip("cons key already used") + assertKeyUnused(ctx, reporter, k, otherAccount.ConsKey.PubKey()) + if reporter.IsSkipped() { return nil, nil } msg := must(types.NewMsgRotateConsPubKey(val.GetOperator(), otherAccount.ConsKey.PubKey())) - - // check if there's another key rotation for this same key in the same block - for _, r := range must(k.GetBlockConsPubKeyRotationHistory(ctx)) { - if r.NewConsPubkey.Compare(msg.NewPubkey) == 0 { - reporter.Skip("cons key already used in this block") - return nil, nil - } - } return []simsx.SimAccount{valOper}, msg } } @@ -371,6 +361,16 @@ func randomValidator(ctx context.Context, reporter simsx.SimulationReporter, k * // skips execution if there's another key rotation for the same key in the same block func assertKeyUnused(ctx context.Context, reporter simsx.SimulationReporter, k *keeper.Keeper, newPubKey cryptotypes.PubKey) { + newConsAddr := sdk.ConsAddress(newPubKey.Address()) + if rotatedTo, _ := k.ConsAddrToValidatorIdentifierMap.Get(ctx, newConsAddr); rotatedTo != nil { + reporter.Skip("consensus key already used") + return + } + if _, err := k.GetValidatorByConsAddr(ctx, newConsAddr); err == nil { + reporter.Skip("cons key already used") + return + } + allRotations, err := k.GetBlockConsPubKeyRotationHistory(ctx) if err != nil { reporter.Skipf("cannot get block cons key rotation history: %s", err.Error()) From cf2216968a1fda7254a5cd0eec9e73a397afe3a0 Mon Sep 17 00:00:00 2001 From: Marko Date: Thu, 9 Jan 2025 09:43:01 +0100 Subject: [PATCH 6/8] refactor(systemtests): remove v2 checks (#23098) Co-authored-by: aljo242 --- tests/systemtests/README.md | 2 +- tests/systemtests/bankv2_test.go | 4 ---- tests/systemtests/cometbft_client_test.go | 7 +------ tests/systemtests/go.mod | 8 +++----- tests/systemtests/go.sum | 10 ++++++---- tests/systemtests/group_test.go | 21 +++++--------------- tests/systemtests/mint_test.go | 4 ---- tests/systemtests/snapshots_test.go | 24 ++++------------------- tests/systemtests/staking_test.go | 7 ++----- tests/systemtests/unordered_tx_test.go | 7 +++---- 10 files changed, 25 insertions(+), 69 deletions(-) diff --git a/tests/systemtests/README.md b/tests/systemtests/README.md index d2aa7112d5be..ee281c1f4815 100644 --- a/tests/systemtests/README.md +++ b/tests/systemtests/README.md @@ -25,7 +25,7 @@ Or via manual steps ```shell make build mkdir -p ./tests/systemtests/binaries -cp ./build/simd ./tests/systemtests/binaries/ +cp ./build/simdv2 ./tests/systemtests/binaries/ ``` ### Manual test run diff --git a/tests/systemtests/bankv2_test.go b/tests/systemtests/bankv2_test.go index 03debeb771fe..cc7145f8741f 100644 --- a/tests/systemtests/bankv2_test.go +++ b/tests/systemtests/bankv2_test.go @@ -13,10 +13,6 @@ import ( ) func TestBankV2SendTxCmd(t *testing.T) { - // Currently only run with app v2 - if !systest.IsV2() { - t.Skip() - } // scenario: test bank send command // given a running chain diff --git a/tests/systemtests/cometbft_client_test.go b/tests/systemtests/cometbft_client_test.go index dbaa3e6d14ee..0eadcdb1ca29 100644 --- a/tests/systemtests/cometbft_client_test.go +++ b/tests/systemtests/cometbft_client_test.go @@ -27,12 +27,7 @@ func TestQueryStatus(t *testing.T) { cli := systest.NewCLIWrapper(t, systest.Sut, systest.Verbose) systest.Sut.StartChain(t) - var resp string - if systest.IsV2() { - resp = cli.CustomQuery("comet", "status") - } else { - resp = cli.CustomQuery("status") - } + resp := cli.CustomQuery("comet", "status") // make sure the output has the validator moniker. assert.Contains(t, resp, "\"moniker\":\"node0\"") diff --git a/tests/systemtests/go.mod b/tests/systemtests/go.mod index 955c08f073a7..66307ba5a8ac 100644 --- a/tests/systemtests/go.mod +++ b/tests/systemtests/go.mod @@ -3,7 +3,7 @@ module github.com/cosmos/cosmos-sdk/tests/systemtests go 1.23 require ( - cosmossdk.io/math v1.4.0 + cosmossdk.io/math v1.5.0 cosmossdk.io/systemtests v1.0.0 github.com/cosmos/cosmos-sdk v0.50.11 ) @@ -11,9 +11,6 @@ require ( require ( buf.build/gen/go/cometbft/cometbft/protocolbuffers/go v1.36.1-20241120201313-68e42a58b301.1 // indirect buf.build/gen/go/cosmos/gogo-proto/protocolbuffers/go v1.36.1-20240130113600-88ef6483f90f.1 // indirect -) - -require ( cosmossdk.io/api v0.8.0 // indirect cosmossdk.io/collections v0.4.0 // indirect cosmossdk.io/core v0.11.0 // indirect @@ -35,6 +32,7 @@ require ( github.com/cespare/xxhash/v2 v2.3.0 // indirect github.com/cloudwego/base64x v0.1.4 // indirect github.com/cloudwego/iasm v0.2.0 // indirect + github.com/cockroachdb/apd/v3 v3.2.1 // indirect github.com/cockroachdb/errors v1.11.3 // indirect github.com/cockroachdb/fifo v0.0.0-20240816210425-c5d0cb0b6fc0 // indirect github.com/cockroachdb/logtags v0.0.0-20241215232642-bb51bb14a506 // indirect @@ -53,7 +51,7 @@ require ( github.com/cosmos/iavl v1.2.2 // indirect github.com/cosmos/ics23/go v0.11.0 // indirect github.com/cosmos/ledger-cosmos-go v0.13.3 // indirect - github.com/creachadair/tomledit v0.0.27 // indirect + github.com/creachadair/tomledit v0.0.26 // indirect github.com/danieljoos/wincred v1.1.2 // indirect github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc // indirect github.com/decred/dcrd/dcrec/secp256k1/v4 v4.3.0 // indirect diff --git a/tests/systemtests/go.sum b/tests/systemtests/go.sum index 0fdedda689cc..461b2ce04143 100644 --- a/tests/systemtests/go.sum +++ b/tests/systemtests/go.sum @@ -16,8 +16,8 @@ cosmossdk.io/errors v1.0.1 h1:bzu+Kcr0kS/1DuPBtUFdWjzLqyUuCiyHjyJB6srBV/0= cosmossdk.io/errors v1.0.1/go.mod h1:MeelVSZThMi4bEakzhhhE/CKqVv3nOJDA25bIqRDu/U= cosmossdk.io/log v1.5.0 h1:dVdzPJW9kMrnAYyMf1duqacoidB9uZIl+7c6z0mnq0g= cosmossdk.io/log v1.5.0/go.mod h1:Tr46PUJjiUthlwQ+hxYtUtPn4D/oCZXAkYevBeh5+FI= -cosmossdk.io/math v1.4.0 h1:XbgExXFnXmF/CccPPEto40gOO7FpWu9yWNAZPN3nkNQ= -cosmossdk.io/math v1.4.0/go.mod h1:O5PkD4apz2jZs4zqFdTr16e1dcaQCc5z6lkEnrrppuk= +cosmossdk.io/math v1.5.0 h1:sbOASxee9Zxdjd6OkzogvBZ25/hP929vdcYcBJQbkLc= +cosmossdk.io/math v1.5.0/go.mod h1:AAwwBmUhqtk2nlku174JwSll+/DepUXW3rWIXN5q+Nw= cosmossdk.io/store v1.1.1 h1:NA3PioJtWDVU7cHHeyvdva5J/ggyLDkyH0hGHl2804Y= cosmossdk.io/store v1.1.1/go.mod h1:8DwVTz83/2PSI366FERGbWSH7hL6sB7HbYp8bqksNwM= cosmossdk.io/systemtests v1.0.0 h1:VuEj4aA//v1icbMoA6UMuWOwO6ejb6uK7PzSBT+Y460= @@ -119,6 +119,8 @@ github.com/cncf/xds/go v0.0.0-20211001041855-01bcc9b48dfe/go.mod h1:eXthEFrGJvWH github.com/cncf/xds/go v0.0.0-20211011173535-cb28da3451f1/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs= github.com/cockroachdb/apd/v2 v2.0.2 h1:weh8u7Cneje73dDh+2tEVLUvyBc89iwepWCD8b8034E= github.com/cockroachdb/apd/v2 v2.0.2/go.mod h1:DDxRlzC2lo3/vSlmSoS7JkqbbrARPuFOGr0B9pvN3Gw= +github.com/cockroachdb/apd/v3 v3.2.1 h1:U+8j7t0axsIgvQUqthuNm82HIrYXodOV2iWLWtEaIwg= +github.com/cockroachdb/apd/v3 v3.2.1/go.mod h1:klXJcjp+FffLTHlhIG69tezTDvdP065naDsHzKhYSqc= github.com/cockroachdb/datadriven v0.0.0-20190809214429-80d97fb3cbaa/go.mod h1:zn76sxSg3SzpJ0PPJaLDCu+Bu0Lg3sKTORVIj19EIF8= github.com/cockroachdb/datadriven v1.0.3-0.20230413201302-be42291fc80f h1:otljaYPt5hWxV3MUfO5dFPFiOXg9CyG5/kCfayTqsJ4= github.com/cockroachdb/datadriven v1.0.3-0.20230413201302-be42291fc80f/go.mod h1:a9RdTaap04u637JoCzcUoIcDmvwSUtcUFtT/C3kJlTU= @@ -170,8 +172,8 @@ github.com/cosmos/ledger-cosmos-go v0.13.3 h1:7ehuBGuyIytsXbd4MP43mLeoN2LTOEnk5n github.com/cosmos/ledger-cosmos-go v0.13.3/go.mod h1:HENcEP+VtahZFw38HZ3+LS3Iv5XV6svsnkk9vdJtLr8= github.com/cpuguy83/go-md2man/v2 v2.0.0-20190314233015-f79a8a8ca69d/go.mod h1:maD7wRr/U5Z6m/iR4s+kqSMx2CaBsrgA7czyZG/E6dU= github.com/cpuguy83/go-md2man/v2 v2.0.4/go.mod h1:tgQtvFlXSQOSOSIRvRPT7W67SCa46tRHOmNcaadrF8o= -github.com/creachadair/tomledit v0.0.27 h1:6xOpEnkKmcpT/gmKhabN0JXrqNX065lyje1/mXTSSIE= -github.com/creachadair/tomledit v0.0.27/go.mod h1:v1EWpgCisD3ct1kO8Gq4o4pdgX5JXD0rBI2PJ4UnPoA= +github.com/creachadair/tomledit v0.0.26 h1:MoDdgHIHZ5PctBVsAZDjxdxreWUEa9ObPKTRkk5PPwA= +github.com/creachadair/tomledit v0.0.26/go.mod h1:SJi1OxKpMyR141tq1lzsbPtIg3j8TeVPM/ZftfieD7o= github.com/creack/pty v1.1.7/go.mod h1:lj5s0c3V2DBrqTV7llrYr5NG6My20zk30Fl46Y7DoTY= github.com/creack/pty v1.1.9/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E= github.com/danieljoos/wincred v1.1.2 h1:QLdCxFs1/Yl4zduvBdcHB8goaYk9RARS2SgLLRuAyr0= diff --git a/tests/systemtests/group_test.go b/tests/systemtests/group_test.go index fd7e6ef448bf..2f7215bc7858 100644 --- a/tests/systemtests/group_test.go +++ b/tests/systemtests/group_test.go @@ -63,15 +63,9 @@ func TestGroupCommands(t *testing.T) { rsp = cli.RunAndWait(policyCmd...) systest.RequireTxSuccess(t, rsp) - // TODO: remove isV2() check once v2 is integrated with grpc gateway - var groupPoliciesResp, policyAddrQuery string - if systest.IsV2() { - groupPoliciesResp = cli.CustomQuery("q", "group", "group-policies-by-group", groupId) - policyAddrQuery = fmt.Sprintf("group_policies.#(decision_policy.value.threshold==%d).address", threshold) - } else { - groupPoliciesResp = string(systest.GetRequest(t, fmt.Sprintf("%s/cosmos/group/v1/group_policies_by_group/%s", baseurl, groupId))) - policyAddrQuery = fmt.Sprintf("group_policies.#(decision_policy.threshold==%d).address", threshold) - } + groupPoliciesResp := string(systest.GetRequest(t, fmt.Sprintf("%s/cosmos/group/v1/group_policies_by_group/%s", baseurl, groupId))) + policyAddrQuery := fmt.Sprintf("group_policies.#(decision_policy.threshold==%d).address", threshold) + require.Equal(t, gjson.Get(groupPoliciesResp, "pagination.total").Int(), int64(threshold)) policyAddr := gjson.Get(groupPoliciesResp, policyAddrQuery).String() require.NotEmpty(t, policyAddr) @@ -122,12 +116,7 @@ func TestGroupCommands(t *testing.T) { systest.RequireTxSuccess(t, rsp) // query votes - // TODO: remove isV2() check once v2 is integrated with grpc gateway - var voteResp string - if systest.IsV2() { - voteResp = cli.CustomQuery("q", "group", "vote", proposalId, valAddr) - } else { - voteResp = string(systest.GetRequest(t, fmt.Sprintf("%s/cosmos/group/v1/vote_by_proposal_voter/%s/%s", baseurl, proposalId, valAddr))) - } + voteResp := string(systest.GetRequest(t, fmt.Sprintf("%s/cosmos/group/v1/vote_by_proposal_voter/%s/%s", baseurl, proposalId, valAddr))) + require.Equal(t, "VOTE_OPTION_YES", gjson.Get(voteResp, "vote.option").String()) } diff --git a/tests/systemtests/mint_test.go b/tests/systemtests/mint_test.go index e6712c4af327..f51cfbab93b4 100644 --- a/tests/systemtests/mint_test.go +++ b/tests/systemtests/mint_test.go @@ -74,10 +74,6 @@ func TestMintQueries(t *testing.T) { for _, tc := range testCases { t.Run(tc.name, func(t *testing.T) { - // TODO: remove below check once grpc gateway is implemented in v2 - if systest.IsV2() { - return - } resp := systest.GetRequestWithHeaders(t, tc.url, tc.headers, http.StatusOK) require.JSONEq(t, tc.expOut, string(resp)) }) diff --git a/tests/systemtests/snapshots_test.go b/tests/systemtests/snapshots_test.go index 6fae39749eb4..70a7b4f59f88 100644 --- a/tests/systemtests/snapshots_test.go +++ b/tests/systemtests/snapshots_test.go @@ -26,18 +26,9 @@ func TestSnapshots(t *testing.T) { // Stop all nodes systest.Sut.StopChain() - var ( - command string - restoreableDirs []string - ) node0Dir := systest.Sut.NodeDir(0) - if systest.IsV2() { - command = "store" - restoreableDirs = []string{fmt.Sprintf("%s/data/application.db", node0Dir), fmt.Sprintf("%s/data/ss", node0Dir)} - } else { - command = "snapshots" - restoreableDirs = []string{fmt.Sprintf("%s/data/application.db", node0Dir)} - } + command := "store" + restoreableDirs := []string{fmt.Sprintf("%s/data/application.db", node0Dir), fmt.Sprintf("%s/data/ss", node0Dir)} // export snapshot at height 5 res := cli.RunCommandWithArgs(command, "export", "--height=5", fmt.Sprintf("--home=%s", node0Dir), disabledLog) @@ -68,9 +59,7 @@ func TestSnapshots(t *testing.T) { // Remove database err := os.RemoveAll(fmt.Sprintf("%s/data/application.db", node0Dir)) require.NoError(t, err) - if systest.IsV2() { - require.NoError(t, os.RemoveAll(fmt.Sprintf("%s/data/ss", node0Dir))) - } + require.NoError(t, os.RemoveAll(fmt.Sprintf("%s/data/ss", node0Dir))) res = cli.RunCommandWithArgs(command, "restore", "5", "3", fmt.Sprintf("--home=%s", node0Dir), disabledLog) for _, dir := range restoreableDirs { @@ -95,12 +84,7 @@ func TestPrune(t *testing.T) { node0Dir := systest.Sut.NodeDir(0) // prune - var command []string - if systest.IsV2() { - command = []string{"store", "prune", "--store.keep-recent=1"} - } else { - command = []string{"prune", "everything"} - } + command := []string{"store", "prune", "--store.keep-recent=1"} res := cli.RunCommandWithArgs(append(command, fmt.Sprintf("--home=%s", node0Dir), disabledLog)...) require.Contains(t, res, "successfully pruned the application root multi stores") } diff --git a/tests/systemtests/staking_test.go b/tests/systemtests/staking_test.go index b1b3829a9d1f..37b8ae8fa315 100644 --- a/tests/systemtests/staking_test.go +++ b/tests/systemtests/staking_test.go @@ -42,11 +42,8 @@ func TestStakeUnstake(t *testing.T) { assert.Equal(t, int64(8999999), cli.QueryBalance(account1Addr, "stake")) // check validator has been updated - if systest.IsV2() { - rsp = cli.CustomQuery("q", "comet", "block-results", gjson.Get(rsp, "height").String()) - } else { - rsp = cli.CustomQuery("q", "block-results", gjson.Get(rsp, "height").String()) - } + rsp = cli.CustomQuery("q", "comet", "block-results", gjson.Get(rsp, "height").String()) + validatorUpdates := gjson.Get(rsp, "validator_updates").Array() assert.NotEmpty(t, validatorUpdates) vpk := gjson.Get(validatorUpdates[0].String(), "pub_key_bytes").String() diff --git a/tests/systemtests/unordered_tx_test.go b/tests/systemtests/unordered_tx_test.go index aec8f914130c..46069326c706 100644 --- a/tests/systemtests/unordered_tx_test.go +++ b/tests/systemtests/unordered_tx_test.go @@ -14,10 +14,9 @@ import ( ) func TestUnorderedTXDuplicate(t *testing.T) { - if systest.IsV2() { - t.Skip("The unordered tx handling is not wired in v2") - return - } + // TODO: remove once unordered tx handling is working in v2 + t.Skip("The unordered tx handling is not wired in v2") + // scenario: test unordered tx duplicate // given a running chain with a tx in the unordered tx pool // when a new tx with the same hash is broadcasted From b8e6107af4fc682b1fcfee979306b6c6f621006f Mon Sep 17 00:00:00 2001 From: Alexander Peters Date: Thu, 9 Jan 2025 10:28:55 +0100 Subject: [PATCH 7/8] chore: Linting only (#23266) --- tests/integration/genutil/cmt_abci.go | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/integration/genutil/cmt_abci.go b/tests/integration/genutil/cmt_abci.go index e0ba7707504f..1cee9e1c2bd0 100644 --- a/tests/integration/genutil/cmt_abci.go +++ b/tests/integration/genutil/cmt_abci.go @@ -4,6 +4,7 @@ import ( "context" abciproto "github.com/cometbft/cometbft/api/cometbft/abci/v1" + "github.com/cosmos/cosmos-sdk/runtime" ) From 60e8c6a2ea2325f3fad560a6159411943d578952 Mon Sep 17 00:00:00 2001 From: Zoro Date: Thu, 9 Jan 2025 17:30:45 +0800 Subject: [PATCH 8/8] docs: fix runtime doc dead link to app-go-di.md (#23264) --- docs/build/building-apps/00-runtime.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/build/building-apps/00-runtime.md b/docs/build/building-apps/00-runtime.md index 838905750574..40818e0604ea 100644 --- a/docs/build/building-apps/00-runtime.md +++ b/docs/build/building-apps/00-runtime.md @@ -134,7 +134,7 @@ An application only needs to call `AppBuilder.Build` to create a fully configure https://github.com/cosmos/cosmos-sdk/blob/v0.52.0-beta.2/runtime/builder.go#L36-L80 ``` -More information on building applications can be found in the [next section](./02-app-go-di.md). +More information on building applications can be found in the [next section](./01-app-go-di.md). ## Best Practices