From 0afcd1fbfa6276e5c61fc5ed79597a16c820f7ac Mon Sep 17 00:00:00 2001 From: Julien Robert Date: Wed, 18 Sep 2024 10:11:18 +0200 Subject: [PATCH 1/2] chore: add simsx labels & more (#21776) (cherry picked from commit 355f66f7ffdbf457b48e503a259f3569aab97390) # Conflicts: # .github/CODEOWNERS # core/CHANGELOG.md # core/go.mod # core/go.sum # indexer/postgres/go.mod # indexer/postgres/tests/go.mod # store/go.mod # tools/hubl/go.mod --- .github/CODEOWNERS | 77 +++++++++++++++ .github/ISSUE_TEMPLATE/qa.md | 4 +- .github/pr_labeler.yml | 2 + core/CHANGELOG.md | 172 ++++++++++++++++++++++++++++++++++ core/go.mod | 11 +++ core/go.sum | 2 + go.work.example | 1 + indexer/postgres/go.mod | 13 +++ indexer/postgres/tests/go.mod | 41 ++++++++ store/go.mod | 58 ++++++++++++ tools/hubl/go.mod | 158 +++++++++++++++++++++++++++++++ 11 files changed, 538 insertions(+), 1 deletion(-) create mode 100644 core/CHANGELOG.md create mode 100644 core/go.mod create mode 100644 core/go.sum create mode 100644 indexer/postgres/go.mod create mode 100644 indexer/postgres/tests/go.mod create mode 100644 store/go.mod create mode 100644 tools/hubl/go.mod diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 59a1be47b7f9..46a0c26e2036 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -8,6 +8,83 @@ # CODEOWNERS for docs configuration +<<<<<<< HEAD +======= +# Components + +/baseapp/ @facundomedica @aaronc @testinginprod @kocubinski @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 +/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 +/server/ @cosmos/sdk-core-dev +/server/v2/ @julienrbrt @hieuvubk @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 +/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 + +# x modules + +/x/accounts/ @testinginprod @sontrinh16 @cosmos/sdk-core-dev +/x/auth/ @facundomedica @testinginprod @aaronc @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/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/nft/ @alpe @lucaslopezf @cosmos/sdk-core-dev +/x/params/ @cosmos/sdk-core-dev # deprecated so whole team +/x/protocolpool/ @facundomedica @hieuvubk @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 + +# go mods + +**/go.mod @cosmos/sdk-core-dev +**/go.sum @cosmos/sdk-core-dev + +# ci & build + +.github/ @auricom @julienrbrt @tac0turtle +scripts/ @auricom @julienrbrt @tac0turtle +contrib/ @auricom @julienrbrt @tac0turtle +*.mk @auricom @julienrbrt @tac0turtle +Makefile @auricom @julienrbrt @tac0turtle + +# docs configuration + +/docs/ @cosmos/sdk-core-dev +>>>>>>> 355f66f7f (chore: add simsx labels & more (#21776)) /docs/docusaurus.config.js @julienrbrt @tac0turtle /docs/sidebars.js @julienrbrt @tac0turtle /docs/pre.sh @julienrbrt @tac0turtle diff --git a/.github/ISSUE_TEMPLATE/qa.md b/.github/ISSUE_TEMPLATE/qa.md index 6b0ef14807fe..c45a80ddb757 100644 --- a/.github/ISSUE_TEMPLATE/qa.md +++ b/.github/ISSUE_TEMPLATE/qa.md @@ -25,18 +25,20 @@ v without deliberation * [ ] Audit x/auth * [ ] Audit x/authz * [ ] Audit x/bank + * [ ] Audit x/bank/v2 * [ ] Audit x/circuit * [ ] Audit x/consensus * [ ] Audit x/crisis * [ ] Audit x/distribution * [ ] Audit x/evidence + * [ ] Audit x/epochs * [ ] Audit x/feegrant * [ ] Audit x/genutil * [ ] Audit x/gov * [ ] Audit x/group * [ ] Audit x/mint * [ ] Audit x/nft - * [ ] Audit x/simulation + * [ ] Audit x/protocolpool * [ ] Audit x/slashing * [ ] Audit x/staking * [ ] Audit x/tx diff --git a/.github/pr_labeler.yml b/.github/pr_labeler.yml index 3dfdeab4983d..c861d7bc736b 100644 --- a/.github/pr_labeler.yml +++ b/.github/pr_labeler.yml @@ -10,8 +10,10 @@ "C:Keys": - client/keys/**/* "C:Simulations": + - types/simulation/**/* - x/simulation/**/* - x/*/simulation/**/* + - simsx/**/* "C:Store": - store/**/* "C:collections": diff --git a/core/CHANGELOG.md b/core/CHANGELOG.md new file mode 100644 index 000000000000..c234cc971948 --- /dev/null +++ b/core/CHANGELOG.md @@ -0,0 +1,172 @@ + + +# Changelog + +## [Unreleased] + +## [v1.0.0-alpha.3](https://github.com/cosmos/cosmos-sdk/releases/tag/core%2Fv1.0.0-alpha.3) + +### Features + +* [#21719](https://github.com/cosmos/cosmos-sdk/pull/21719) Make `core/event` as a type alias of `schema/appdata`. + +## [v1.0.0-alpha.2](https://github.com/cosmos/cosmos-sdk/releases/tag/core%2Fv1.0.0-alpha.2) + +### Features + +* [#21635](https://github.com/cosmos/cosmos-sdk/pull/21635) Add `server.DynamicConfig` to abstract config providers (f.e Viper) + +## [v1.0.0-alpha.1](https://github.com/cosmos/cosmos-sdk/releases/tag/core%2Fv1.0.0-alpha.1) + +### Features + +* [#21531](https://github.com/cosmos/cosmos-sdk/pull/21531) Add `registry.AminoRegistrar` to register types on the amino codec from modules. +* [#21222](https://github.com/cosmos/cosmos-sdk/pull/21222) Make `Iterator` a type alias so that `KVStore` is structurally typed. +* [#21166](https://github.com/cosmos/cosmos-sdk/pull/21166) Comment out `appmodule.HasServices` to simplify dependencies. This interface is however still supported. +* [#19953](https://github.com/cosmos/cosmos-sdk/pull/19953) Add transaction service. +* [#18379](https://github.com/cosmos/cosmos-sdk/pull/18379) Add branch service. +* [#18457](https://github.com/cosmos/cosmos-sdk/pull/18457) Add branch.ExecuteWithGasLimit. +* [#19041](https://github.com/cosmos/cosmos-sdk/pull/19041) Add `appmodule.Environment` interface to fetch different services +* [#19370](https://github.com/cosmos/cosmos-sdk/pull/19370) Add `appmodule.Migrations` interface to handle migrations +* [#19571](https://github.com/cosmos/cosmos-sdk/pull/19571) Add `router.Service` and add it in `appmodule.Environment` +* [#19617](https://github.com/cosmos/cosmos-sdk/pull/19617) Server/v2 compatible interface: + * Add DataBaseService to store non-consensus data in a database + * Create V2 appmodule with v2 api for runtime/v2 + * Introduce `Transaction.Tx` for use in runtime/v2 + * Introduce `HasUpdateValidators` interface and `ValidatorUpdate` struct for validator updates + * Introduce `HasTxValidation` interface for modules to register tx validation handlers + * `HasGenesis` interface for modules to register import, export, validation and default genesis handlers. The new api works with `proto.Message` + * Add `PreMsghandler`and `PostMsgHandler` for pre and post message hooks + * Add `MsgHandler` as an alternative to grpc handlers + * Provide separate `MigrationRegistrar` instead of grouping with `RegisterServices` +* [#19758](https://github.com/cosmos/cosmos-sdk/pull/19758) Add `registry.InterfaceRegistrar` to interact with the interface registry in modules. + +### API Breaking Changes + +* [#19672](https://github.com/cosmos/cosmos-sdk/pull/19672) `PreBlock` now returns only an error for consistency with server/v2. The SDK has upgraded x/upgrade accordingly. +* [#18857](https://github.com/cosmos/cosmos-sdk/pull/18857) Moved `FormatCoins` to `x/tx`. +* [#18861](https://github.com/cosmos/cosmos-sdk/pull/18861) Moved `coin.ParseCoin` to `client/v2/internal`. +* [#18866](https://github.com/cosmos/cosmos-sdk/pull/18866) All items related to depinject have been moved to `cosmossdk.io/depinject` (`Provide`, `Invoke`, `Register`) +* [#19041](https://github.com/cosmos/cosmos-sdk/pull/19041) `HasEventListeners` was removed from appmodule due to the fact that it was not used anywhere in the SDK nor implemented +* [#17689](https://github.com/cosmos/cosmos-sdk/pull/17689) Move Comet service to return structs instead of interfaces. + * `BlockInfo` was renamed to `Info` and `BlockInfoService` was renamed to `CometInfoService` +* [#17693](https://github.com/cosmos/cosmos-sdk/pull/17693) Remove `appmodule.UpgradeModule` interface in favor of preblock + +## [v0.11.1](https://github.com/cosmos/cosmos-sdk/releases/tag/core%2Fv0.11.1) + +* [#21022](https://github.com/cosmos/cosmos-sdk/pull/21022) Upgrade depinject to v1.0.0. + +## [v0.11.0](https://github.com/cosmos/cosmos-sdk/releases/tag/core%2Fv0.11.0) + +* [#17468](https://github.com/cosmos/cosmos-sdk/pull/17468) Add `appmodule.HasPreBlocker` interface. + +## [v0.10.0](https://github.com/cosmos/cosmos-sdk/releases/tag/core%2Fv0.10.0) + +* [#17383](https://github.com/cosmos/cosmos-sdk/pull/17383) Add `appmodule.UpgradeModule` interface. + +## [v0.9.0](https://github.com/cosmos/cosmos-sdk/releases/tag/core%2Fv0.9.0) + +* [#16739](https://github.com/cosmos/cosmos-sdk/pull/16739) Add `AppHash` to header.Info. + +## [v0.8.0](https://github.com/cosmos/cosmos-sdk/releases/tag/core%2Fv0.8.0) + +* [#15519](https://github.com/cosmos/cosmos-sdk/pull/15519) Update `comet.VoteInfo` for CometBFT v0.38. +* [#16310](https://github.com/cosmos/cosmos-sdk/pull/16310) Add `gas.Service` and `gas.GasMeter` interfaces. + +## [v0.7.0](https://github.com/cosmos/cosmos-sdk/releases/tag/core%2Fv0.7.0) + +* [#15850](https://github.com/cosmos/cosmos-sdk/pull/15850) Add `comet` and `header` packages. +* [#15923](https://github.com/cosmos/cosmos-sdk/pull/15923) Add `appmodule.HasPrepareCheckState` `appmodule.HasPrecommit` extension interfaces. +* [#15434](https://github.com/cosmos/cosmos-sdk/pull/15434) Add `coin.ParseCoin` for parsing a coin from a string. +* [#15999](https://github.com/cosmos/cosmos-sdk/pull/15999) Add `genesis.GenesisTxHandler` interface. + +## [v0.6.1](https://github.com/cosmos/cosmos-sdk/releases/tag/core%2Fv0.6.1) + +* [#15364](https://github.com/cosmos/cosmos-sdk/pull/15364) Add address codec to core. + +## [v0.6.0](https://github.com/cosmos/cosmos-sdk/releases/tag/core%2Fv0.6.0) + +* [#15045](https://github.com/cosmos/cosmos-sdk/pull/15045) Add error return parameter to `RegisterServices` method from `appmodule.HasServices` interface. +* [#14859](https://github.com/cosmos/cosmos-sdk/pull/14859) Simplify event service interface. + +## [v0.5.1](https://github.com/cosmos/cosmos-sdk/releases/tag/core%2Fv0.5.1) + +* [#14686](https://github.com/cosmos/cosmos-sdk/pull/14686) Add event service. +* [#14735](https://github.com/cosmos/cosmos-sdk/pull/14735) Specify event listener API. + +## [v0.5.0](https://github.com/cosmos/cosmos-sdk/releases/tag/core%2Fv0.5.0) + +* [#14604](https://github.com/cosmos/cosmos-sdk/pull/14604) Add begin/end block extension interfaces. +* [#14605](https://github.com/cosmos/cosmos-sdk/pull/14605) Add register services extension interface. + +## [v0.4.1](https://github.com/cosmos/cosmos-sdk/releases/tag/core%2Fv0.4.1) + +* [#14329](https://github.com/cosmos/cosmos-sdk/pull/14329) Implement basic core API genesis source and target. + +## [v0.4.0](https://github.com/cosmos/cosmos-sdk/releases/tag/core%2Fv0.4.0) + +* [#14416](https://github.com/cosmos/cosmos-sdk/pull/14416) Update core to use cosmos-db instead of tm-db. +* [#14326](https://github.com/cosmos/cosmos-sdk/pull/14326) Remove `appmodule.Service` from core. + +## [v0.3.4](https://github.com/cosmos/cosmos-sdk/releases/tag/core%2Fv0.3.4) + +* [#14223](https://github.com/cosmos/cosmos-sdk/pull/14223) Add genesis API. + +## [v0.3.3](https://github.com/cosmos/cosmos-sdk/releases/tag/core%2Fv0.3.3) + +* [#14227](https://github.com/cosmos/cosmos-sdk/pull/14227) Add store API. +* [#13696](https://github.com/cosmos/cosmos-sdk/pull/13696) Update `FormatCoins` where empty coins are rendered as "zero". + +## [v0.3.2](https://github.com/cosmos/cosmos-sdk/releases/tag/core%2Fv0.3.2) + +* [#13631](https://github.com/cosmos/cosmos-sdk/pull/13631) Add ADR 033 (inter-module communication) Client interface. + +## [v0.3.1](https://github.com/cosmos/cosmos-sdk/releases/tag/core%2Fv0.3.1) + +* [#13306](https://github.com/cosmos/cosmos-sdk/pull/13306) Move `FormatCoins` to core. +* [#13607](https://github.com/cosmos/cosmos-sdk/pull/13115) Add `AppModule` tag interface. + +## [v0.3.0](https://github.com/cosmos/cosmos-sdk/releases/tag/core%2Fv0.3.0) + +* [#13115](https://github.com/cosmos/cosmos-sdk/pull/13115) Update core module to depinject changes. + +## [v0.2.0](https://github.com/cosmos/cosmos-sdk/releases/tag/core%2Fv0.2.0) + +* [#12020](https://github.com/cosmos/cosmos-sdk/pull/12020) Use cosmossdk.io/depinject instead of container. +* [#12367](https://github.com/cosmos/cosmos-sdk/pull/12367) Add support for golang_bindings in app.yaml. + +## [v0.1.0](https://github.com/cosmos/cosmos-sdk/releases/tag/core%2Fv0.1.0) + +* [#11914](https://github.com/cosmos/cosmos-sdk/pull/11914) Add core module with app config support. diff --git a/core/go.mod b/core/go.mod new file mode 100644 index 000000000000..61b97a200010 --- /dev/null +++ b/core/go.mod @@ -0,0 +1,11 @@ +module cosmossdk.io/core + +// Core is meant to have only a dependency on cosmossdk.io/schema, so we can use it as a dependency +// in other modules without having to worry about circular dependencies. + +go 1.23 + +require cosmossdk.io/schema v0.3.0 + +// Version tagged too early and incompatible with v0.50 (latest at the time of tagging) +retract v0.12.0 diff --git a/core/go.sum b/core/go.sum new file mode 100644 index 000000000000..18e538dae2df --- /dev/null +++ b/core/go.sum @@ -0,0 +1,2 @@ +cosmossdk.io/schema v0.3.0 h1:01lcaM4trhzZ1HQTfTV8z6Ma1GziOZ/YmdzBN3F720c= +cosmossdk.io/schema v0.3.0/go.mod h1:RDAhxIeNB4bYqAlF4NBJwRrgtnciMcyyg0DOKnhNZQQ= diff --git a/go.work.example b/go.work.example index e0f1add07407..9fe5d98ced22 100644 --- a/go.work.example +++ b/go.work.example @@ -10,6 +10,7 @@ use ( ./x/accounts ./x/accounts/defaults/base ./x/accounts/defaults/lockup + ./x/accounts/defaults/multisig ./x/auth ./x/authz ./x/bank diff --git a/indexer/postgres/go.mod b/indexer/postgres/go.mod new file mode 100644 index 000000000000..c13699a1677a --- /dev/null +++ b/indexer/postgres/go.mod @@ -0,0 +1,13 @@ +module cosmossdk.io/indexer/postgres + +// NOTE: we are staying on an earlier version of golang to avoid problems building +// with older codebases. +go 1.12 + +// NOTE: cosmossdk.io/schema should be the only dependency here +// so there are no problems building this with any version of the SDK. +// This module should only use the golang standard library (database/sql) +// and cosmossdk.io/indexer/base. +require cosmossdk.io/schema v0.3.0 + +replace cosmossdk.io/schema => ../../schema diff --git a/indexer/postgres/tests/go.mod b/indexer/postgres/tests/go.mod new file mode 100644 index 000000000000..b02fb01dd8aa --- /dev/null +++ b/indexer/postgres/tests/go.mod @@ -0,0 +1,41 @@ +module cosmossdk.io/indexer/postgres/testing + +go 1.23 + +require ( + cosmossdk.io/indexer/postgres v0.0.0-00010101000000-000000000000 + cosmossdk.io/schema v0.3.0 + cosmossdk.io/schema/testing v0.0.0 + github.com/fergusstrange/embedded-postgres v1.29.0 + github.com/hashicorp/consul/sdk v0.16.1 + github.com/jackc/pgx/v5 v5.7.1 + github.com/stretchr/testify v1.9.0 + gotest.tools/v3 v3.5.1 +) + +require ( + github.com/cockroachdb/apd/v3 v3.2.1 // indirect + github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc // indirect + github.com/google/go-cmp v0.6.0 // indirect + github.com/jackc/pgpassfile v1.0.0 // indirect + github.com/jackc/pgservicefile v0.0.0-20240606120523-5a60cdf6a761 // indirect + github.com/jackc/puddle/v2 v2.2.2 // indirect + github.com/kr/text v0.2.0 // indirect + github.com/lib/pq v1.10.9 // indirect + github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 // indirect + github.com/rogpeppe/go-internal v1.12.0 // indirect + github.com/tidwall/btree v1.7.0 // indirect + github.com/xi2/xz v0.0.0-20171230120015-48954b6210f8 // indirect + golang.org/x/crypto v0.27.0 // indirect + golang.org/x/sync v0.8.0 // indirect + golang.org/x/sys v0.25.0 // indirect + golang.org/x/text v0.18.0 // indirect + gopkg.in/yaml.v3 v3.0.1 // indirect + pgregory.net/rapid v1.1.0 // indirect +) + +replace cosmossdk.io/indexer/postgres => ../. + +replace cosmossdk.io/schema => ../../../schema + +replace cosmossdk.io/schema/testing => ../../../schema/testing diff --git a/store/go.mod b/store/go.mod new file mode 100644 index 000000000000..e7b025f89ce1 --- /dev/null +++ b/store/go.mod @@ -0,0 +1,58 @@ +module cosmossdk.io/store + +go 1.23 + +require ( + cosmossdk.io/core v1.0.0-alpha.2 + cosmossdk.io/core/testing v0.0.0-00010101000000-000000000000 + cosmossdk.io/errors v1.0.1 + cosmossdk.io/log v1.4.1 + cosmossdk.io/math v1.3.0 + github.com/cometbft/cometbft v1.0.0-rc1 + github.com/cometbft/cometbft/api v1.0.0-rc.1 + github.com/cosmos/cosmos-proto v1.0.0-beta.5 + github.com/cosmos/gogoproto v1.7.0 + github.com/cosmos/iavl v1.0.0-beta.1.0.20240813194616-eb5078efcf9e + github.com/cosmos/ics23/go v0.11.0 + github.com/hashicorp/go-hclog v1.6.3 + github.com/hashicorp/go-metrics v0.5.3 + github.com/hashicorp/go-plugin v1.6.1 + github.com/hashicorp/golang-lru v1.0.2 + github.com/stretchr/testify v1.9.0 + github.com/tidwall/btree v1.7.0 + go.uber.org/mock v0.4.0 + golang.org/x/exp v0.0.0-20240506185415-9bf2ced13842 + google.golang.org/grpc v1.66.2 + google.golang.org/protobuf v1.34.2 + gotest.tools/v3 v3.5.1 +) + +require ( + github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc // indirect + github.com/emicklei/dot v1.6.2 // indirect + github.com/fatih/color v1.17.0 // indirect + github.com/gogo/protobuf v1.3.2 // indirect + github.com/golang/protobuf v1.5.4 // indirect + github.com/google/go-cmp v0.6.0 // indirect + github.com/hashicorp/go-immutable-radix v1.3.1 // indirect + github.com/hashicorp/go-uuid v1.0.1 // indirect + github.com/hashicorp/yamux v0.1.1 // indirect + github.com/jhump/protoreflect v1.17.0 // indirect + github.com/mattn/go-colorable v0.1.13 // indirect + github.com/mattn/go-isatty v0.0.20 // indirect + github.com/mitchellh/go-testing-interface v1.14.1 // indirect + github.com/oklog/run v1.1.0 // indirect + github.com/petermattis/goid v0.0.0-20221215004737-a150e88a970d // indirect + github.com/pkg/errors v0.9.1 // indirect + github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 // indirect + github.com/rogpeppe/go-internal v1.12.0 // indirect + github.com/rs/zerolog v1.33.0 // indirect + golang.org/x/crypto v0.27.0 // indirect + golang.org/x/net v0.29.0 // indirect + golang.org/x/sys v0.25.0 // indirect + golang.org/x/text v0.18.0 // indirect + google.golang.org/genproto/googleapis/rpc v0.0.0-20240903143218-8af14fe29dc1 // indirect + gopkg.in/yaml.v3 v3.0.1 // indirect +) + +replace cosmossdk.io/core/testing => ../core/testing diff --git a/tools/hubl/go.mod b/tools/hubl/go.mod new file mode 100644 index 000000000000..497a0aceb49f --- /dev/null +++ b/tools/hubl/go.mod @@ -0,0 +1,158 @@ +module cosmossdk.io/tools/hubl + +go 1.23.0 + +require ( + cosmossdk.io/api v0.7.5 + cosmossdk.io/client/v2 v2.0.0-beta.1.0.20240118210941-3897926e722e + cosmossdk.io/core v0.11.1 + cosmossdk.io/errors v1.0.1 + github.com/cosmos/cosmos-sdk v0.50.9 + github.com/manifoldco/promptui v0.9.0 + github.com/pelletier/go-toml/v2 v2.2.3 + github.com/spf13/cobra v1.8.1 + google.golang.org/grpc v1.66.2 + google.golang.org/protobuf v1.34.2 +) + +require ( + cosmossdk.io/collections v0.4.0 // indirect + cosmossdk.io/depinject v1.0.0 // indirect + cosmossdk.io/log v1.4.1 // indirect + cosmossdk.io/math v1.3.0 // indirect + cosmossdk.io/store v1.1.0 // indirect + cosmossdk.io/x/tx v0.13.4 // indirect + filippo.io/edwards25519 v1.1.0 // indirect + github.com/99designs/go-keychain v0.0.0-20191008050251-8e49817e8af4 // indirect + github.com/99designs/keyring v1.2.2 // indirect + github.com/DataDog/datadog-go v3.2.0+incompatible // indirect + github.com/DataDog/zstd v1.5.5 // indirect + github.com/beorn7/perks v1.0.1 // indirect + github.com/bgentry/speakeasy v0.2.0 // indirect + github.com/btcsuite/btcd/btcec/v2 v2.3.3 // indirect + github.com/cenkalti/backoff/v4 v4.2.1 // indirect + github.com/cespare/xxhash v1.1.0 // indirect + github.com/cespare/xxhash/v2 v2.3.0 // indirect + github.com/chzyer/readline v1.5.1 // indirect + github.com/cockroachdb/errors v1.11.1 // indirect + github.com/cockroachdb/logtags v0.0.0-20230118201751-21c54148d20b // indirect + github.com/cockroachdb/pebble v1.1.0 // indirect + github.com/cockroachdb/redact v1.1.5 // indirect + github.com/cockroachdb/tokenbucket v0.0.0-20230807174530-cc333fc44b06 // indirect + github.com/cometbft/cometbft v0.38.10 // indirect + github.com/cometbft/cometbft-db v0.9.1 // indirect + github.com/cosmos/btcutil v1.0.5 // indirect + github.com/cosmos/cosmos-db v1.0.3-0.20240829004618-717cba019b33 // indirect + github.com/cosmos/cosmos-proto v1.0.0-beta.5 // indirect + github.com/cosmos/go-bip39 v1.0.0 // indirect + github.com/cosmos/gogogateway v1.2.0 // indirect + github.com/cosmos/gogoproto v1.7.0 // indirect + github.com/cosmos/iavl v1.1.4 // indirect + github.com/cosmos/ics23/go v0.11.0 // indirect + github.com/cosmos/ledger-cosmos-go v0.13.3 // indirect + github.com/danieljoos/wincred v1.2.0 // indirect + github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc // indirect + github.com/decred/dcrd/dcrec/secp256k1/v4 v4.3.0 // indirect + github.com/desertbit/timer v0.0.0-20180107155436-c41aec40b27f // indirect + github.com/dgraph-io/badger/v2 v2.2007.4 // indirect + github.com/dgraph-io/ristretto v0.1.1 // indirect + github.com/dgryski/go-farm v0.0.0-20200201041132-a6ae2369ad13 // indirect + github.com/dustin/go-humanize v1.0.1 // indirect + github.com/dvsekhvalnov/jose2go v1.6.0 // indirect + github.com/emicklei/dot v1.6.2 // indirect + github.com/fatih/color v1.17.0 // indirect + github.com/felixge/httpsnoop v1.0.4 // indirect + github.com/fsnotify/fsnotify v1.7.0 // indirect + github.com/getsentry/sentry-go v0.27.0 // indirect + github.com/go-kit/kit v0.13.0 // indirect + github.com/go-kit/log v0.2.1 // indirect + github.com/go-logfmt/logfmt v0.6.0 // indirect + github.com/godbus/dbus v0.0.0-20190726142602-4481cbc300e2 // indirect + github.com/gogo/googleapis v1.4.1 // indirect + github.com/gogo/protobuf v1.3.2 // indirect + github.com/golang/glog v1.2.1 // indirect + github.com/golang/protobuf v1.5.4 // indirect + github.com/golang/snappy v0.0.4 // indirect + github.com/google/btree v1.1.2 // indirect + github.com/google/go-cmp v0.6.0 // indirect + github.com/google/orderedcode v0.0.1 // indirect + github.com/gorilla/handlers v1.5.2 // indirect + github.com/gorilla/mux v1.8.1 // indirect + github.com/gorilla/websocket v1.5.0 // indirect + github.com/grpc-ecosystem/go-grpc-middleware v1.4.0 // indirect + github.com/grpc-ecosystem/grpc-gateway v1.16.0 // indirect + github.com/gsterjov/go-libsecret v0.0.0-20161001094733-a6f4afe4910c // indirect + github.com/hashicorp/go-hclog v1.6.3 // indirect + github.com/hashicorp/go-immutable-radix v1.3.1 // indirect + github.com/hashicorp/go-metrics v0.5.3 // indirect + github.com/hashicorp/go-plugin v1.6.1 // indirect + github.com/hashicorp/golang-lru v1.0.2 // indirect + github.com/hashicorp/golang-lru/v2 v2.0.7 // indirect + github.com/hashicorp/hcl v1.0.0 // indirect + github.com/hashicorp/yamux v0.1.1 // indirect + github.com/hdevalence/ed25519consensus v0.2.0 // indirect + github.com/huandu/skiplist v1.2.0 // indirect + github.com/iancoleman/strcase v0.3.0 // indirect + github.com/improbable-eng/grpc-web v0.15.0 // indirect + github.com/inconshreveable/mousetrap v1.1.0 // indirect + github.com/jmhodges/levigo v1.0.0 // indirect + github.com/klauspost/compress v1.17.9 // indirect + github.com/kr/pretty v0.3.1 // indirect + github.com/kr/text v0.2.0 // indirect + github.com/lib/pq v1.10.7 // indirect + github.com/linxGnu/grocksdb v1.9.3 // indirect + github.com/magiconair/properties v1.8.7 // indirect + github.com/mattn/go-colorable v0.1.13 // indirect + github.com/mattn/go-isatty v0.0.20 // indirect + github.com/minio/highwayhash v1.0.2 // indirect + github.com/mitchellh/go-testing-interface v1.14.1 // indirect + github.com/mitchellh/mapstructure v1.5.0 // indirect + github.com/mtibben/percent v0.2.1 // indirect + github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 // indirect + github.com/oasisprotocol/curve25519-voi v0.0.0-20230904125328-1f23a7beb09a // indirect + github.com/oklog/run v1.1.0 // indirect + github.com/petermattis/goid v0.0.0-20240327183114-c42a807a84ba // indirect + github.com/pkg/errors v0.9.1 // indirect + github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 // indirect + github.com/prometheus/client_golang v1.20.3 // indirect + github.com/prometheus/client_model v0.6.1 // indirect + github.com/prometheus/common v0.59.1 // indirect + github.com/prometheus/procfs v0.15.1 // indirect + github.com/rcrowley/go-metrics v0.0.0-20201227073835-cf1acfcdf475 // indirect + github.com/rogpeppe/go-internal v1.12.0 // indirect + github.com/rs/cors v1.11.0 // indirect + github.com/rs/zerolog v1.33.0 // indirect + github.com/sagikazarmark/locafero v0.4.0 // indirect + github.com/sagikazarmark/slog-shim v0.1.0 // indirect + github.com/sasha-s/go-deadlock v0.3.1 // indirect + github.com/sourcegraph/conc v0.3.0 // indirect + github.com/spf13/afero v1.11.0 // indirect + github.com/spf13/cast v1.7.0 // indirect + github.com/spf13/pflag v1.0.5 // indirect + github.com/spf13/viper v1.19.0 // indirect + github.com/stretchr/testify v1.9.0 // indirect + github.com/subosito/gotenv v1.6.0 // indirect + github.com/syndtr/goleveldb v1.0.1-0.20220721030215-126854af5e6d // indirect + github.com/tendermint/go-amino v0.16.0 // indirect + github.com/tidwall/btree v1.7.0 // indirect + github.com/zondax/hid v0.9.2 // indirect + github.com/zondax/ledger-go v0.14.3 // indirect + go.etcd.io/bbolt v1.3.8 // indirect + go.uber.org/multierr v1.11.0 // indirect + golang.org/x/crypto v0.27.0 // indirect + golang.org/x/exp v0.0.0-20240531132922-fd00a4e0eefc // indirect + golang.org/x/net v0.29.0 // indirect + golang.org/x/sync v0.8.0 // indirect + golang.org/x/sys v0.25.0 // indirect + golang.org/x/term v0.24.0 // indirect + golang.org/x/text v0.18.0 // indirect + google.golang.org/genproto v0.0.0-20240227224415-6ceb2ff114de // indirect + google.golang.org/genproto/googleapis/api v0.0.0-20240604185151-ef581f913117 // indirect + google.golang.org/genproto/googleapis/rpc v0.0.0-20240903143218-8af14fe29dc1 // indirect + gopkg.in/ini.v1 v1.67.0 // indirect + gopkg.in/yaml.v3 v3.0.1 // indirect + gotest.tools/v3 v3.5.1 // indirect + nhooyr.io/websocket v1.8.7 // indirect + pgregory.net/rapid v1.1.0 // indirect + sigs.k8s.io/yaml v1.4.0 // indirect +) From 303d471ded71e2394f66c61107c1f2e67bb1f5d4 Mon Sep 17 00:00:00 2001 From: Julien Robert Date: Wed, 18 Sep 2024 10:26:25 +0200 Subject: [PATCH 2/2] delete & revert --- .github/CODEOWNERS | 77 --------------- core/CHANGELOG.md | 172 ---------------------------------- core/go.mod | 11 --- core/go.sum | 2 - indexer/postgres/go.mod | 13 --- indexer/postgres/tests/go.mod | 41 -------- store/go.mod | 58 ------------ tools/hubl/go.mod | 158 ------------------------------- 8 files changed, 532 deletions(-) delete mode 100644 core/CHANGELOG.md delete mode 100644 core/go.mod delete mode 100644 core/go.sum delete mode 100644 indexer/postgres/go.mod delete mode 100644 indexer/postgres/tests/go.mod delete mode 100644 store/go.mod delete mode 100644 tools/hubl/go.mod diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 46a0c26e2036..59a1be47b7f9 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -8,83 +8,6 @@ # CODEOWNERS for docs configuration -<<<<<<< HEAD -======= -# Components - -/baseapp/ @facundomedica @aaronc @testinginprod @kocubinski @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 -/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 -/server/ @cosmos/sdk-core-dev -/server/v2/ @julienrbrt @hieuvubk @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 -/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 - -# x modules - -/x/accounts/ @testinginprod @sontrinh16 @cosmos/sdk-core-dev -/x/auth/ @facundomedica @testinginprod @aaronc @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/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/nft/ @alpe @lucaslopezf @cosmos/sdk-core-dev -/x/params/ @cosmos/sdk-core-dev # deprecated so whole team -/x/protocolpool/ @facundomedica @hieuvubk @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 - -# go mods - -**/go.mod @cosmos/sdk-core-dev -**/go.sum @cosmos/sdk-core-dev - -# ci & build - -.github/ @auricom @julienrbrt @tac0turtle -scripts/ @auricom @julienrbrt @tac0turtle -contrib/ @auricom @julienrbrt @tac0turtle -*.mk @auricom @julienrbrt @tac0turtle -Makefile @auricom @julienrbrt @tac0turtle - -# docs configuration - -/docs/ @cosmos/sdk-core-dev ->>>>>>> 355f66f7f (chore: add simsx labels & more (#21776)) /docs/docusaurus.config.js @julienrbrt @tac0turtle /docs/sidebars.js @julienrbrt @tac0turtle /docs/pre.sh @julienrbrt @tac0turtle diff --git a/core/CHANGELOG.md b/core/CHANGELOG.md deleted file mode 100644 index c234cc971948..000000000000 --- a/core/CHANGELOG.md +++ /dev/null @@ -1,172 +0,0 @@ - - -# Changelog - -## [Unreleased] - -## [v1.0.0-alpha.3](https://github.com/cosmos/cosmos-sdk/releases/tag/core%2Fv1.0.0-alpha.3) - -### Features - -* [#21719](https://github.com/cosmos/cosmos-sdk/pull/21719) Make `core/event` as a type alias of `schema/appdata`. - -## [v1.0.0-alpha.2](https://github.com/cosmos/cosmos-sdk/releases/tag/core%2Fv1.0.0-alpha.2) - -### Features - -* [#21635](https://github.com/cosmos/cosmos-sdk/pull/21635) Add `server.DynamicConfig` to abstract config providers (f.e Viper) - -## [v1.0.0-alpha.1](https://github.com/cosmos/cosmos-sdk/releases/tag/core%2Fv1.0.0-alpha.1) - -### Features - -* [#21531](https://github.com/cosmos/cosmos-sdk/pull/21531) Add `registry.AminoRegistrar` to register types on the amino codec from modules. -* [#21222](https://github.com/cosmos/cosmos-sdk/pull/21222) Make `Iterator` a type alias so that `KVStore` is structurally typed. -* [#21166](https://github.com/cosmos/cosmos-sdk/pull/21166) Comment out `appmodule.HasServices` to simplify dependencies. This interface is however still supported. -* [#19953](https://github.com/cosmos/cosmos-sdk/pull/19953) Add transaction service. -* [#18379](https://github.com/cosmos/cosmos-sdk/pull/18379) Add branch service. -* [#18457](https://github.com/cosmos/cosmos-sdk/pull/18457) Add branch.ExecuteWithGasLimit. -* [#19041](https://github.com/cosmos/cosmos-sdk/pull/19041) Add `appmodule.Environment` interface to fetch different services -* [#19370](https://github.com/cosmos/cosmos-sdk/pull/19370) Add `appmodule.Migrations` interface to handle migrations -* [#19571](https://github.com/cosmos/cosmos-sdk/pull/19571) Add `router.Service` and add it in `appmodule.Environment` -* [#19617](https://github.com/cosmos/cosmos-sdk/pull/19617) Server/v2 compatible interface: - * Add DataBaseService to store non-consensus data in a database - * Create V2 appmodule with v2 api for runtime/v2 - * Introduce `Transaction.Tx` for use in runtime/v2 - * Introduce `HasUpdateValidators` interface and `ValidatorUpdate` struct for validator updates - * Introduce `HasTxValidation` interface for modules to register tx validation handlers - * `HasGenesis` interface for modules to register import, export, validation and default genesis handlers. The new api works with `proto.Message` - * Add `PreMsghandler`and `PostMsgHandler` for pre and post message hooks - * Add `MsgHandler` as an alternative to grpc handlers - * Provide separate `MigrationRegistrar` instead of grouping with `RegisterServices` -* [#19758](https://github.com/cosmos/cosmos-sdk/pull/19758) Add `registry.InterfaceRegistrar` to interact with the interface registry in modules. - -### API Breaking Changes - -* [#19672](https://github.com/cosmos/cosmos-sdk/pull/19672) `PreBlock` now returns only an error for consistency with server/v2. The SDK has upgraded x/upgrade accordingly. -* [#18857](https://github.com/cosmos/cosmos-sdk/pull/18857) Moved `FormatCoins` to `x/tx`. -* [#18861](https://github.com/cosmos/cosmos-sdk/pull/18861) Moved `coin.ParseCoin` to `client/v2/internal`. -* [#18866](https://github.com/cosmos/cosmos-sdk/pull/18866) All items related to depinject have been moved to `cosmossdk.io/depinject` (`Provide`, `Invoke`, `Register`) -* [#19041](https://github.com/cosmos/cosmos-sdk/pull/19041) `HasEventListeners` was removed from appmodule due to the fact that it was not used anywhere in the SDK nor implemented -* [#17689](https://github.com/cosmos/cosmos-sdk/pull/17689) Move Comet service to return structs instead of interfaces. - * `BlockInfo` was renamed to `Info` and `BlockInfoService` was renamed to `CometInfoService` -* [#17693](https://github.com/cosmos/cosmos-sdk/pull/17693) Remove `appmodule.UpgradeModule` interface in favor of preblock - -## [v0.11.1](https://github.com/cosmos/cosmos-sdk/releases/tag/core%2Fv0.11.1) - -* [#21022](https://github.com/cosmos/cosmos-sdk/pull/21022) Upgrade depinject to v1.0.0. - -## [v0.11.0](https://github.com/cosmos/cosmos-sdk/releases/tag/core%2Fv0.11.0) - -* [#17468](https://github.com/cosmos/cosmos-sdk/pull/17468) Add `appmodule.HasPreBlocker` interface. - -## [v0.10.0](https://github.com/cosmos/cosmos-sdk/releases/tag/core%2Fv0.10.0) - -* [#17383](https://github.com/cosmos/cosmos-sdk/pull/17383) Add `appmodule.UpgradeModule` interface. - -## [v0.9.0](https://github.com/cosmos/cosmos-sdk/releases/tag/core%2Fv0.9.0) - -* [#16739](https://github.com/cosmos/cosmos-sdk/pull/16739) Add `AppHash` to header.Info. - -## [v0.8.0](https://github.com/cosmos/cosmos-sdk/releases/tag/core%2Fv0.8.0) - -* [#15519](https://github.com/cosmos/cosmos-sdk/pull/15519) Update `comet.VoteInfo` for CometBFT v0.38. -* [#16310](https://github.com/cosmos/cosmos-sdk/pull/16310) Add `gas.Service` and `gas.GasMeter` interfaces. - -## [v0.7.0](https://github.com/cosmos/cosmos-sdk/releases/tag/core%2Fv0.7.0) - -* [#15850](https://github.com/cosmos/cosmos-sdk/pull/15850) Add `comet` and `header` packages. -* [#15923](https://github.com/cosmos/cosmos-sdk/pull/15923) Add `appmodule.HasPrepareCheckState` `appmodule.HasPrecommit` extension interfaces. -* [#15434](https://github.com/cosmos/cosmos-sdk/pull/15434) Add `coin.ParseCoin` for parsing a coin from a string. -* [#15999](https://github.com/cosmos/cosmos-sdk/pull/15999) Add `genesis.GenesisTxHandler` interface. - -## [v0.6.1](https://github.com/cosmos/cosmos-sdk/releases/tag/core%2Fv0.6.1) - -* [#15364](https://github.com/cosmos/cosmos-sdk/pull/15364) Add address codec to core. - -## [v0.6.0](https://github.com/cosmos/cosmos-sdk/releases/tag/core%2Fv0.6.0) - -* [#15045](https://github.com/cosmos/cosmos-sdk/pull/15045) Add error return parameter to `RegisterServices` method from `appmodule.HasServices` interface. -* [#14859](https://github.com/cosmos/cosmos-sdk/pull/14859) Simplify event service interface. - -## [v0.5.1](https://github.com/cosmos/cosmos-sdk/releases/tag/core%2Fv0.5.1) - -* [#14686](https://github.com/cosmos/cosmos-sdk/pull/14686) Add event service. -* [#14735](https://github.com/cosmos/cosmos-sdk/pull/14735) Specify event listener API. - -## [v0.5.0](https://github.com/cosmos/cosmos-sdk/releases/tag/core%2Fv0.5.0) - -* [#14604](https://github.com/cosmos/cosmos-sdk/pull/14604) Add begin/end block extension interfaces. -* [#14605](https://github.com/cosmos/cosmos-sdk/pull/14605) Add register services extension interface. - -## [v0.4.1](https://github.com/cosmos/cosmos-sdk/releases/tag/core%2Fv0.4.1) - -* [#14329](https://github.com/cosmos/cosmos-sdk/pull/14329) Implement basic core API genesis source and target. - -## [v0.4.0](https://github.com/cosmos/cosmos-sdk/releases/tag/core%2Fv0.4.0) - -* [#14416](https://github.com/cosmos/cosmos-sdk/pull/14416) Update core to use cosmos-db instead of tm-db. -* [#14326](https://github.com/cosmos/cosmos-sdk/pull/14326) Remove `appmodule.Service` from core. - -## [v0.3.4](https://github.com/cosmos/cosmos-sdk/releases/tag/core%2Fv0.3.4) - -* [#14223](https://github.com/cosmos/cosmos-sdk/pull/14223) Add genesis API. - -## [v0.3.3](https://github.com/cosmos/cosmos-sdk/releases/tag/core%2Fv0.3.3) - -* [#14227](https://github.com/cosmos/cosmos-sdk/pull/14227) Add store API. -* [#13696](https://github.com/cosmos/cosmos-sdk/pull/13696) Update `FormatCoins` where empty coins are rendered as "zero". - -## [v0.3.2](https://github.com/cosmos/cosmos-sdk/releases/tag/core%2Fv0.3.2) - -* [#13631](https://github.com/cosmos/cosmos-sdk/pull/13631) Add ADR 033 (inter-module communication) Client interface. - -## [v0.3.1](https://github.com/cosmos/cosmos-sdk/releases/tag/core%2Fv0.3.1) - -* [#13306](https://github.com/cosmos/cosmos-sdk/pull/13306) Move `FormatCoins` to core. -* [#13607](https://github.com/cosmos/cosmos-sdk/pull/13115) Add `AppModule` tag interface. - -## [v0.3.0](https://github.com/cosmos/cosmos-sdk/releases/tag/core%2Fv0.3.0) - -* [#13115](https://github.com/cosmos/cosmos-sdk/pull/13115) Update core module to depinject changes. - -## [v0.2.0](https://github.com/cosmos/cosmos-sdk/releases/tag/core%2Fv0.2.0) - -* [#12020](https://github.com/cosmos/cosmos-sdk/pull/12020) Use cosmossdk.io/depinject instead of container. -* [#12367](https://github.com/cosmos/cosmos-sdk/pull/12367) Add support for golang_bindings in app.yaml. - -## [v0.1.0](https://github.com/cosmos/cosmos-sdk/releases/tag/core%2Fv0.1.0) - -* [#11914](https://github.com/cosmos/cosmos-sdk/pull/11914) Add core module with app config support. diff --git a/core/go.mod b/core/go.mod deleted file mode 100644 index 61b97a200010..000000000000 --- a/core/go.mod +++ /dev/null @@ -1,11 +0,0 @@ -module cosmossdk.io/core - -// Core is meant to have only a dependency on cosmossdk.io/schema, so we can use it as a dependency -// in other modules without having to worry about circular dependencies. - -go 1.23 - -require cosmossdk.io/schema v0.3.0 - -// Version tagged too early and incompatible with v0.50 (latest at the time of tagging) -retract v0.12.0 diff --git a/core/go.sum b/core/go.sum deleted file mode 100644 index 18e538dae2df..000000000000 --- a/core/go.sum +++ /dev/null @@ -1,2 +0,0 @@ -cosmossdk.io/schema v0.3.0 h1:01lcaM4trhzZ1HQTfTV8z6Ma1GziOZ/YmdzBN3F720c= -cosmossdk.io/schema v0.3.0/go.mod h1:RDAhxIeNB4bYqAlF4NBJwRrgtnciMcyyg0DOKnhNZQQ= diff --git a/indexer/postgres/go.mod b/indexer/postgres/go.mod deleted file mode 100644 index c13699a1677a..000000000000 --- a/indexer/postgres/go.mod +++ /dev/null @@ -1,13 +0,0 @@ -module cosmossdk.io/indexer/postgres - -// NOTE: we are staying on an earlier version of golang to avoid problems building -// with older codebases. -go 1.12 - -// NOTE: cosmossdk.io/schema should be the only dependency here -// so there are no problems building this with any version of the SDK. -// This module should only use the golang standard library (database/sql) -// and cosmossdk.io/indexer/base. -require cosmossdk.io/schema v0.3.0 - -replace cosmossdk.io/schema => ../../schema diff --git a/indexer/postgres/tests/go.mod b/indexer/postgres/tests/go.mod deleted file mode 100644 index b02fb01dd8aa..000000000000 --- a/indexer/postgres/tests/go.mod +++ /dev/null @@ -1,41 +0,0 @@ -module cosmossdk.io/indexer/postgres/testing - -go 1.23 - -require ( - cosmossdk.io/indexer/postgres v0.0.0-00010101000000-000000000000 - cosmossdk.io/schema v0.3.0 - cosmossdk.io/schema/testing v0.0.0 - github.com/fergusstrange/embedded-postgres v1.29.0 - github.com/hashicorp/consul/sdk v0.16.1 - github.com/jackc/pgx/v5 v5.7.1 - github.com/stretchr/testify v1.9.0 - gotest.tools/v3 v3.5.1 -) - -require ( - github.com/cockroachdb/apd/v3 v3.2.1 // indirect - github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc // indirect - github.com/google/go-cmp v0.6.0 // indirect - github.com/jackc/pgpassfile v1.0.0 // indirect - github.com/jackc/pgservicefile v0.0.0-20240606120523-5a60cdf6a761 // indirect - github.com/jackc/puddle/v2 v2.2.2 // indirect - github.com/kr/text v0.2.0 // indirect - github.com/lib/pq v1.10.9 // indirect - github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 // indirect - github.com/rogpeppe/go-internal v1.12.0 // indirect - github.com/tidwall/btree v1.7.0 // indirect - github.com/xi2/xz v0.0.0-20171230120015-48954b6210f8 // indirect - golang.org/x/crypto v0.27.0 // indirect - golang.org/x/sync v0.8.0 // indirect - golang.org/x/sys v0.25.0 // indirect - golang.org/x/text v0.18.0 // indirect - gopkg.in/yaml.v3 v3.0.1 // indirect - pgregory.net/rapid v1.1.0 // indirect -) - -replace cosmossdk.io/indexer/postgres => ../. - -replace cosmossdk.io/schema => ../../../schema - -replace cosmossdk.io/schema/testing => ../../../schema/testing diff --git a/store/go.mod b/store/go.mod deleted file mode 100644 index e7b025f89ce1..000000000000 --- a/store/go.mod +++ /dev/null @@ -1,58 +0,0 @@ -module cosmossdk.io/store - -go 1.23 - -require ( - cosmossdk.io/core v1.0.0-alpha.2 - cosmossdk.io/core/testing v0.0.0-00010101000000-000000000000 - cosmossdk.io/errors v1.0.1 - cosmossdk.io/log v1.4.1 - cosmossdk.io/math v1.3.0 - github.com/cometbft/cometbft v1.0.0-rc1 - github.com/cometbft/cometbft/api v1.0.0-rc.1 - github.com/cosmos/cosmos-proto v1.0.0-beta.5 - github.com/cosmos/gogoproto v1.7.0 - github.com/cosmos/iavl v1.0.0-beta.1.0.20240813194616-eb5078efcf9e - github.com/cosmos/ics23/go v0.11.0 - github.com/hashicorp/go-hclog v1.6.3 - github.com/hashicorp/go-metrics v0.5.3 - github.com/hashicorp/go-plugin v1.6.1 - github.com/hashicorp/golang-lru v1.0.2 - github.com/stretchr/testify v1.9.0 - github.com/tidwall/btree v1.7.0 - go.uber.org/mock v0.4.0 - golang.org/x/exp v0.0.0-20240506185415-9bf2ced13842 - google.golang.org/grpc v1.66.2 - google.golang.org/protobuf v1.34.2 - gotest.tools/v3 v3.5.1 -) - -require ( - github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc // indirect - github.com/emicklei/dot v1.6.2 // indirect - github.com/fatih/color v1.17.0 // indirect - github.com/gogo/protobuf v1.3.2 // indirect - github.com/golang/protobuf v1.5.4 // indirect - github.com/google/go-cmp v0.6.0 // indirect - github.com/hashicorp/go-immutable-radix v1.3.1 // indirect - github.com/hashicorp/go-uuid v1.0.1 // indirect - github.com/hashicorp/yamux v0.1.1 // indirect - github.com/jhump/protoreflect v1.17.0 // indirect - github.com/mattn/go-colorable v0.1.13 // indirect - github.com/mattn/go-isatty v0.0.20 // indirect - github.com/mitchellh/go-testing-interface v1.14.1 // indirect - github.com/oklog/run v1.1.0 // indirect - github.com/petermattis/goid v0.0.0-20221215004737-a150e88a970d // indirect - github.com/pkg/errors v0.9.1 // indirect - github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 // indirect - github.com/rogpeppe/go-internal v1.12.0 // indirect - github.com/rs/zerolog v1.33.0 // indirect - golang.org/x/crypto v0.27.0 // indirect - golang.org/x/net v0.29.0 // indirect - golang.org/x/sys v0.25.0 // indirect - golang.org/x/text v0.18.0 // indirect - google.golang.org/genproto/googleapis/rpc v0.0.0-20240903143218-8af14fe29dc1 // indirect - gopkg.in/yaml.v3 v3.0.1 // indirect -) - -replace cosmossdk.io/core/testing => ../core/testing diff --git a/tools/hubl/go.mod b/tools/hubl/go.mod deleted file mode 100644 index 497a0aceb49f..000000000000 --- a/tools/hubl/go.mod +++ /dev/null @@ -1,158 +0,0 @@ -module cosmossdk.io/tools/hubl - -go 1.23.0 - -require ( - cosmossdk.io/api v0.7.5 - cosmossdk.io/client/v2 v2.0.0-beta.1.0.20240118210941-3897926e722e - cosmossdk.io/core v0.11.1 - cosmossdk.io/errors v1.0.1 - github.com/cosmos/cosmos-sdk v0.50.9 - github.com/manifoldco/promptui v0.9.0 - github.com/pelletier/go-toml/v2 v2.2.3 - github.com/spf13/cobra v1.8.1 - google.golang.org/grpc v1.66.2 - google.golang.org/protobuf v1.34.2 -) - -require ( - cosmossdk.io/collections v0.4.0 // indirect - cosmossdk.io/depinject v1.0.0 // indirect - cosmossdk.io/log v1.4.1 // indirect - cosmossdk.io/math v1.3.0 // indirect - cosmossdk.io/store v1.1.0 // indirect - cosmossdk.io/x/tx v0.13.4 // indirect - filippo.io/edwards25519 v1.1.0 // indirect - github.com/99designs/go-keychain v0.0.0-20191008050251-8e49817e8af4 // indirect - github.com/99designs/keyring v1.2.2 // indirect - github.com/DataDog/datadog-go v3.2.0+incompatible // indirect - github.com/DataDog/zstd v1.5.5 // indirect - github.com/beorn7/perks v1.0.1 // indirect - github.com/bgentry/speakeasy v0.2.0 // indirect - github.com/btcsuite/btcd/btcec/v2 v2.3.3 // indirect - github.com/cenkalti/backoff/v4 v4.2.1 // indirect - github.com/cespare/xxhash v1.1.0 // indirect - github.com/cespare/xxhash/v2 v2.3.0 // indirect - github.com/chzyer/readline v1.5.1 // indirect - github.com/cockroachdb/errors v1.11.1 // indirect - github.com/cockroachdb/logtags v0.0.0-20230118201751-21c54148d20b // indirect - github.com/cockroachdb/pebble v1.1.0 // indirect - github.com/cockroachdb/redact v1.1.5 // indirect - github.com/cockroachdb/tokenbucket v0.0.0-20230807174530-cc333fc44b06 // indirect - github.com/cometbft/cometbft v0.38.10 // indirect - github.com/cometbft/cometbft-db v0.9.1 // indirect - github.com/cosmos/btcutil v1.0.5 // indirect - github.com/cosmos/cosmos-db v1.0.3-0.20240829004618-717cba019b33 // indirect - github.com/cosmos/cosmos-proto v1.0.0-beta.5 // indirect - github.com/cosmos/go-bip39 v1.0.0 // indirect - github.com/cosmos/gogogateway v1.2.0 // indirect - github.com/cosmos/gogoproto v1.7.0 // indirect - github.com/cosmos/iavl v1.1.4 // indirect - github.com/cosmos/ics23/go v0.11.0 // indirect - github.com/cosmos/ledger-cosmos-go v0.13.3 // indirect - github.com/danieljoos/wincred v1.2.0 // indirect - github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc // indirect - github.com/decred/dcrd/dcrec/secp256k1/v4 v4.3.0 // indirect - github.com/desertbit/timer v0.0.0-20180107155436-c41aec40b27f // indirect - github.com/dgraph-io/badger/v2 v2.2007.4 // indirect - github.com/dgraph-io/ristretto v0.1.1 // indirect - github.com/dgryski/go-farm v0.0.0-20200201041132-a6ae2369ad13 // indirect - github.com/dustin/go-humanize v1.0.1 // indirect - github.com/dvsekhvalnov/jose2go v1.6.0 // indirect - github.com/emicklei/dot v1.6.2 // indirect - github.com/fatih/color v1.17.0 // indirect - github.com/felixge/httpsnoop v1.0.4 // indirect - github.com/fsnotify/fsnotify v1.7.0 // indirect - github.com/getsentry/sentry-go v0.27.0 // indirect - github.com/go-kit/kit v0.13.0 // indirect - github.com/go-kit/log v0.2.1 // indirect - github.com/go-logfmt/logfmt v0.6.0 // indirect - github.com/godbus/dbus v0.0.0-20190726142602-4481cbc300e2 // indirect - github.com/gogo/googleapis v1.4.1 // indirect - github.com/gogo/protobuf v1.3.2 // indirect - github.com/golang/glog v1.2.1 // indirect - github.com/golang/protobuf v1.5.4 // indirect - github.com/golang/snappy v0.0.4 // indirect - github.com/google/btree v1.1.2 // indirect - github.com/google/go-cmp v0.6.0 // indirect - github.com/google/orderedcode v0.0.1 // indirect - github.com/gorilla/handlers v1.5.2 // indirect - github.com/gorilla/mux v1.8.1 // indirect - github.com/gorilla/websocket v1.5.0 // indirect - github.com/grpc-ecosystem/go-grpc-middleware v1.4.0 // indirect - github.com/grpc-ecosystem/grpc-gateway v1.16.0 // indirect - github.com/gsterjov/go-libsecret v0.0.0-20161001094733-a6f4afe4910c // indirect - github.com/hashicorp/go-hclog v1.6.3 // indirect - github.com/hashicorp/go-immutable-radix v1.3.1 // indirect - github.com/hashicorp/go-metrics v0.5.3 // indirect - github.com/hashicorp/go-plugin v1.6.1 // indirect - github.com/hashicorp/golang-lru v1.0.2 // indirect - github.com/hashicorp/golang-lru/v2 v2.0.7 // indirect - github.com/hashicorp/hcl v1.0.0 // indirect - github.com/hashicorp/yamux v0.1.1 // indirect - github.com/hdevalence/ed25519consensus v0.2.0 // indirect - github.com/huandu/skiplist v1.2.0 // indirect - github.com/iancoleman/strcase v0.3.0 // indirect - github.com/improbable-eng/grpc-web v0.15.0 // indirect - github.com/inconshreveable/mousetrap v1.1.0 // indirect - github.com/jmhodges/levigo v1.0.0 // indirect - github.com/klauspost/compress v1.17.9 // indirect - github.com/kr/pretty v0.3.1 // indirect - github.com/kr/text v0.2.0 // indirect - github.com/lib/pq v1.10.7 // indirect - github.com/linxGnu/grocksdb v1.9.3 // indirect - github.com/magiconair/properties v1.8.7 // indirect - github.com/mattn/go-colorable v0.1.13 // indirect - github.com/mattn/go-isatty v0.0.20 // indirect - github.com/minio/highwayhash v1.0.2 // indirect - github.com/mitchellh/go-testing-interface v1.14.1 // indirect - github.com/mitchellh/mapstructure v1.5.0 // indirect - github.com/mtibben/percent v0.2.1 // indirect - github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 // indirect - github.com/oasisprotocol/curve25519-voi v0.0.0-20230904125328-1f23a7beb09a // indirect - github.com/oklog/run v1.1.0 // indirect - github.com/petermattis/goid v0.0.0-20240327183114-c42a807a84ba // indirect - github.com/pkg/errors v0.9.1 // indirect - github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 // indirect - github.com/prometheus/client_golang v1.20.3 // indirect - github.com/prometheus/client_model v0.6.1 // indirect - github.com/prometheus/common v0.59.1 // indirect - github.com/prometheus/procfs v0.15.1 // indirect - github.com/rcrowley/go-metrics v0.0.0-20201227073835-cf1acfcdf475 // indirect - github.com/rogpeppe/go-internal v1.12.0 // indirect - github.com/rs/cors v1.11.0 // indirect - github.com/rs/zerolog v1.33.0 // indirect - github.com/sagikazarmark/locafero v0.4.0 // indirect - github.com/sagikazarmark/slog-shim v0.1.0 // indirect - github.com/sasha-s/go-deadlock v0.3.1 // indirect - github.com/sourcegraph/conc v0.3.0 // indirect - github.com/spf13/afero v1.11.0 // indirect - github.com/spf13/cast v1.7.0 // indirect - github.com/spf13/pflag v1.0.5 // indirect - github.com/spf13/viper v1.19.0 // indirect - github.com/stretchr/testify v1.9.0 // indirect - github.com/subosito/gotenv v1.6.0 // indirect - github.com/syndtr/goleveldb v1.0.1-0.20220721030215-126854af5e6d // indirect - github.com/tendermint/go-amino v0.16.0 // indirect - github.com/tidwall/btree v1.7.0 // indirect - github.com/zondax/hid v0.9.2 // indirect - github.com/zondax/ledger-go v0.14.3 // indirect - go.etcd.io/bbolt v1.3.8 // indirect - go.uber.org/multierr v1.11.0 // indirect - golang.org/x/crypto v0.27.0 // indirect - golang.org/x/exp v0.0.0-20240531132922-fd00a4e0eefc // indirect - golang.org/x/net v0.29.0 // indirect - golang.org/x/sync v0.8.0 // indirect - golang.org/x/sys v0.25.0 // indirect - golang.org/x/term v0.24.0 // indirect - golang.org/x/text v0.18.0 // indirect - google.golang.org/genproto v0.0.0-20240227224415-6ceb2ff114de // indirect - google.golang.org/genproto/googleapis/api v0.0.0-20240604185151-ef581f913117 // indirect - google.golang.org/genproto/googleapis/rpc v0.0.0-20240903143218-8af14fe29dc1 // indirect - gopkg.in/ini.v1 v1.67.0 // indirect - gopkg.in/yaml.v3 v3.0.1 // indirect - gotest.tools/v3 v3.5.1 // indirect - nhooyr.io/websocket v1.8.7 // indirect - pgregory.net/rapid v1.1.0 // indirect - sigs.k8s.io/yaml v1.4.0 // indirect -)