diff --git a/.github/PULL_REQUEST_TEMPLATE/docs.md b/.github/PULL_REQUEST_TEMPLATE/docs.md index 7bfc64dd..edc41727 100644 --- a/.github/PULL_REQUEST_TEMPLATE/docs.md +++ b/.github/PULL_REQUEST_TEMPLATE/docs.md @@ -16,7 +16,7 @@ please add links to any relevant follow up issues.* I have... - [ ] included the correct `docs:` prefix in the PR title -- [ ] targeted the correct branch (see [PR Targeting](https://github.com/govgen/govgen/blob/main/CONTRIBUTING.md#pr-targeting)) +- [ ] targeted the correct branch (see [PR Targeting](https://github.com/atomone-hub/govgen/blob/main/CONTRIBUTING.md#pr-targeting)) - [ ] provided a link to the relevant issue or specification - [ ] reviewed "Files changed" and left comments if necessary - [ ] confirmed all CI checks have passed diff --git a/.github/PULL_REQUEST_TEMPLATE/others.md b/.github/PULL_REQUEST_TEMPLATE/others.md index 56094a76..ae33b547 100644 --- a/.github/PULL_REQUEST_TEMPLATE/others.md +++ b/.github/PULL_REQUEST_TEMPLATE/others.md @@ -15,7 +15,7 @@ please add links to any relevant follow up issues.* I have... - [ ] Included the correct [type prefix](https://github.com/commitizen/conventional-commit-types/blob/v3.0.0/index.json) in the PR title -- [ ] Targeted the correct branch (see [PR Targeting](https://github.com/govgen/govgen/blob/main/CONTRIBUTING.md#pr-targeting)) +- [ ] Targeted the correct branch (see [PR Targeting](https://github.com/atomone-hub/govgen/blob/main/CONTRIBUTING.md#pr-targeting)) - [ ] Provided a link to the relevant issue or specification - [ ] Reviewed "Files changed" and left comments if necessary - [ ] Confirmed all CI checks have passed diff --git a/.github/PULL_REQUEST_TEMPLATE/production.md b/.github/PULL_REQUEST_TEMPLATE/production.md index e6456039..2e86b7ec 100644 --- a/.github/PULL_REQUEST_TEMPLATE/production.md +++ b/.github/PULL_REQUEST_TEMPLATE/production.md @@ -22,10 +22,10 @@ I have... * [ ] Included the correct [type prefix](https://github.com/commitizen/conventional-commit-types/blob/v3.0.0/index.json) in the PR title * [ ] Added `!` to the type prefix if API, client, or state breaking change (i.e., requires minor or major version bump) -* [ ] Targeted the correct branch (see [PR Targeting](https://github.com/govgen/govgen/blob/main/CONTRIBUTING.md#pr-targeting)) +* [ ] Targeted the correct branch (see [PR Targeting](https://github.com/atomone-hub/govgen/blob/main/CONTRIBUTING.md#pr-targeting)) * [ ] Provided a link to the relevant issue or specification * [ ] Followed the guidelines for [building SDK modules](https://github.com/cosmos/cosmos-sdk/blob/main/docs/docs/building-modules) -* [ ] Included the necessary unit and integration [tests](https://github.com/govgen/govgen/blob/main/CONTRIBUTING.md#testing) +* [ ] Included the necessary unit and integration [tests](https://github.com/atomone-hub/govgen/blob/main/CONTRIBUTING.md#testing) * [ ] Added a changelog entry in `.changelog` (for details, see [contributing guidelines](../../CONTRIBUTING.md#changelog)) * [ ] Included comments for [documenting Go code](https://blog.golang.org/godoc) * [ ] Updated the relevant documentation or specification diff --git a/.github/workflows/nightly-tests.yml b/.github/workflows/nightly-tests.yml index 15ae3868..12ede5cd 100644 --- a/.github/workflows/nightly-tests.yml +++ b/.github/workflows/nightly-tests.yml @@ -9,10 +9,10 @@ on: jobs: run-tests: - uses: govgen/govgen/.github/workflows/test.yml@main + uses: atomone-hub/govgen/.github/workflows/test.yml@main run-simulations: - uses: govgen/govgen/.github/workflows/sims.yml@main + uses: atomone-hub/govgen/.github/workflows/sims.yml@main run-vulncheck: runs-on: ubuntu-latest diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index c730800b..2a4031f8 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -61,12 +61,12 @@ chance of getting changes merged into the codebase. To ensure a smooth workflow for all contributors, a general procedure for contributing has been established. -1. Start by browsing [existing issues](https://github.com/govgen/govgen/issues) and [discussions](https://github.com/govgen/govgen/discussions). If you are looking for something interesting or if you have something in your mind, there is a chance it had been discussed. - * Looking for a good place to start contributing? How about checking out some [good first issues](https://github.com/govgen/govgen/issues?q=is%3Aopen+is%3Aissue+label%3A%22good+first+issue%22) or [bugs](https://github.com/govgen/govgen/issues?q=is%3Aopen+is%3Aissue+label%3Abug)? +1. Start by browsing [existing issues](https://github.com/atomone-hub/govgen/issues) and [discussions](https://github.com/atomone-hub/govgen/discussions). If you are looking for something interesting or if you have something in your mind, there is a chance it had been discussed. + * Looking for a good place to start contributing? How about checking out some [good first issues](https://github.com/atomone-hub/govgen/issues?q=is%3Aopen+is%3Aissue+label%3A%22good+first+issue%22) or [bugs](https://github.com/atomone-hub/govgen/issues?q=is%3Aopen+is%3Aissue+label%3Abug)? 2. Determine whether a GitHub issue or discussion is more appropriate for your needs: - 1. If you want to propose something new that requires specification or an additional design, or you would like to change a process, start with a [new discussion](https://github.com/govgen/govgen/discussions/new/choose). With discussions, we can better handle the design process using discussion threads. A discussion usually leads to one or more issues. - 2. If the issue you want addressed is a specific proposal or a bug, then open a [new issue](https://github.com/govgen/govgen/issues/new/choose). - 3. Review existing [issues](https://github.com/govgen/govgen/issues) to find an issue you'd like to help with. + 1. If you want to propose something new that requires specification or an additional design, or you would like to change a process, start with a [new discussion](https://github.com/atomone-hub/govgen/discussions/new/choose). With discussions, we can better handle the design process using discussion threads. A discussion usually leads to one or more issues. + 2. If the issue you want addressed is a specific proposal or a bug, then open a [new issue](https://github.com/atomone-hub/govgen/issues/new/choose). + 3. Review existing [issues](https://github.com/atomone-hub/govgen/issues) to find an issue you'd like to help with. 3. Participate in thoughtful discussion on that issue. 4. If you would like to contribute: 1. Ensure that the proposal has been accepted. @@ -88,11 +88,11 @@ We use self-organizing principles to coordinate and collaborate across organizat ## Architecture Decision Records (ADR) -When proposing an architecture decision for GovGen, please start by opening an [issue](https://github.com/govgen/govgen/issues/new/choose) or a [discussion](https://github.com/govgen/govgen/discussions/new) with a summary of the proposal. Once the proposal has been discussed and there is rough alignment on a high-level approach to the design, you may either start development, or write an ADR. +When proposing an architecture decision for GovGen, please start by opening an [issue](https://github.com/atomone-hub/govgen/issues/new/choose) or a [discussion](https://github.com/atomone-hub/govgen/discussions/new) with a summary of the proposal. Once the proposal has been discussed and there is rough alignment on a high-level approach to the design, you may either start development, or write an ADR. If your architecture decision is a simple change, you may contribute directly without writing an ADR. However, if you are proposing a significant change, please include a corresponding ADR. -To create an ADR, follow the [template](./docs/architecture/adr-template.md) and [doc](./docs/architecture/README.md). If you would like to see examples of how these are written, please refer to the current [ADRs](https://github.com/govgen/govgen/tree/main/docs/architecture). +To create an ADR, follow the [template](./docs/architecture/adr-template.md) and [doc](./docs/architecture/README.md). If you would like to see examples of how these are written, please refer to the current [ADRs](https://github.com/atomone-hub/govgen/tree/main/docs/architecture). ## Development Procedure diff --git a/ante/ante.go b/ante/ante.go index f2ddbf42..799dbe9f 100644 --- a/ante/ante.go +++ b/ante/ante.go @@ -9,7 +9,7 @@ import ( govkeeper "github.com/cosmos/cosmos-sdk/x/gov/keeper" paramtypes "github.com/cosmos/cosmos-sdk/x/params/types" - "github.com/govgen/govgen/v1/types/errors" + "github.com/atomone-hub/govgen/v1/types/errors" ) // HandlerOptions extend the SDK's AnteHandler options by requiring the IBC diff --git a/ante/fee_test.go b/ante/fee_test.go index 59ad28c3..4cb80761 100644 --- a/ante/fee_test.go +++ b/ante/fee_test.go @@ -17,9 +17,9 @@ import ( "github.com/cosmos/cosmos-sdk/types/tx/signing" xauthsigning "github.com/cosmos/cosmos-sdk/x/auth/signing" - "github.com/govgen/govgen/v1/ante" - govgenapp "github.com/govgen/govgen/v1/app" - govgenhelpers "github.com/govgen/govgen/v1/app/helpers" + "github.com/atomone-hub/govgen/v1/ante" + govgenapp "github.com/atomone-hub/govgen/v1/app" + govgenhelpers "github.com/atomone-hub/govgen/v1/app/helpers" ) type FeeIntegrationTestSuite struct { diff --git a/ante/gov_ante.go b/ante/gov_ante.go index 050809a3..3c55066b 100644 --- a/ante/gov_ante.go +++ b/ante/gov_ante.go @@ -9,7 +9,7 @@ import ( govkeeper "github.com/cosmos/cosmos-sdk/x/gov/keeper" govtypes "github.com/cosmos/cosmos-sdk/x/gov/types" - "github.com/govgen/govgen/v1/types/errors" + "github.com/atomone-hub/govgen/v1/types/errors" ) // initial deposit must be greater than or equal to 1% of the minimum deposit diff --git a/ante/gov_ante_test.go b/ante/gov_ante_test.go index 44423562..ea99c021 100644 --- a/ante/gov_ante_test.go +++ b/ante/gov_ante_test.go @@ -13,9 +13,9 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" govtypes "github.com/cosmos/cosmos-sdk/x/gov/types" - "github.com/govgen/govgen/v1/ante" - govgenapp "github.com/govgen/govgen/v1/app" - govgenhelpers "github.com/govgen/govgen/v1/app/helpers" + "github.com/atomone-hub/govgen/v1/ante" + govgenapp "github.com/atomone-hub/govgen/v1/app" + govgenhelpers "github.com/atomone-hub/govgen/v1/app/helpers" ) var ( diff --git a/app/app.go b/app/app.go index 24eeb483..47bdd9ac 100644 --- a/app/app.go +++ b/app/app.go @@ -42,10 +42,10 @@ import ( stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" upgradetypes "github.com/cosmos/cosmos-sdk/x/upgrade/types" - govgenante "github.com/govgen/govgen/v1/ante" - "github.com/govgen/govgen/v1/app/keepers" - govgenappparams "github.com/govgen/govgen/v1/app/params" - "github.com/govgen/govgen/v1/app/upgrades" + govgenante "github.com/atomone-hub/govgen/v1/ante" + "github.com/atomone-hub/govgen/v1/app/keepers" + govgenappparams "github.com/atomone-hub/govgen/v1/app/params" + "github.com/atomone-hub/govgen/v1/app/upgrades" ) var ( diff --git a/app/app_test.go b/app/app_test.go index ddf969f3..aa4701be 100644 --- a/app/app_test.go +++ b/app/app_test.go @@ -10,8 +10,8 @@ import ( authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" govtypes "github.com/cosmos/cosmos-sdk/x/gov/types" - govgen "github.com/govgen/govgen/v1/app" - govgenhelpers "github.com/govgen/govgen/v1/app/helpers" + govgen "github.com/atomone-hub/govgen/v1/app" + govgenhelpers "github.com/atomone-hub/govgen/v1/app/helpers" ) type EmptyAppOptions struct{} diff --git a/app/encoding.go b/app/encoding.go index a1c896bf..4fa685a3 100644 --- a/app/encoding.go +++ b/app/encoding.go @@ -3,7 +3,7 @@ package govgen import ( "github.com/cosmos/cosmos-sdk/std" - "github.com/govgen/govgen/v1/app/params" + "github.com/atomone-hub/govgen/v1/app/params" ) // MakeTestEncodingConfig creates an EncodingConfig for testing. This function diff --git a/app/helpers/test_helpers.go b/app/helpers/test_helpers.go index f6dbfb71..39294b31 100644 --- a/app/helpers/test_helpers.go +++ b/app/helpers/test_helpers.go @@ -22,7 +22,7 @@ import ( banktypes "github.com/cosmos/cosmos-sdk/x/bank/types" stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" - govgenapp "github.com/govgen/govgen/v1/app" + govgenapp "github.com/atomone-hub/govgen/v1/app" ) // SimAppChainID hardcoded chainID for simulation diff --git a/app/modules.go b/app/modules.go index 43fce488..5218b92d 100644 --- a/app/modules.go +++ b/app/modules.go @@ -39,7 +39,7 @@ import ( upgradeclient "github.com/cosmos/cosmos-sdk/x/upgrade/client" upgradetypes "github.com/cosmos/cosmos-sdk/x/upgrade/types" - govgenappparams "github.com/govgen/govgen/v1/app/params" + govgenappparams "github.com/atomone-hub/govgen/v1/app/params" ) var maccPerms = map[string][]string{ diff --git a/app/sim/sim_state.go b/app/sim/sim_state.go index 0dd4d16b..e2d1dcce 100644 --- a/app/sim/sim_state.go +++ b/app/sim/sim_state.go @@ -21,7 +21,7 @@ import ( banktypes "github.com/cosmos/cosmos-sdk/x/bank/types" stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" - govgen "github.com/govgen/govgen/v1/app" + govgen "github.com/atomone-hub/govgen/v1/app" ) // AppStateFn returns the initial application state using a genesis or the simulation parameters. diff --git a/app/sim/sim_utils.go b/app/sim/sim_utils.go index 7746cd4c..2f7a6441 100644 --- a/app/sim/sim_utils.go +++ b/app/sim/sim_utils.go @@ -15,7 +15,7 @@ import ( "github.com/cosmos/cosmos-sdk/types/module" simtypes "github.com/cosmos/cosmos-sdk/types/simulation" - govgen "github.com/govgen/govgen/v1/app" + govgen "github.com/atomone-hub/govgen/v1/app" ) // SetupSimulation creates the config, db (levelDB), temporary directory and logger for diff --git a/app/sim_test.go b/app/sim_test.go index 7a702f3c..35fb6ac1 100644 --- a/app/sim_test.go +++ b/app/sim_test.go @@ -17,10 +17,10 @@ import ( simulation2 "github.com/cosmos/cosmos-sdk/types/simulation" "github.com/cosmos/cosmos-sdk/x/simulation" - govgen "github.com/govgen/govgen/v1/app" - "github.com/govgen/govgen/v1/app/helpers" - "github.com/govgen/govgen/v1/app/params" - "github.com/govgen/govgen/v1/app/sim" + govgen "github.com/atomone-hub/govgen/v1/app" + "github.com/atomone-hub/govgen/v1/app/helpers" + "github.com/atomone-hub/govgen/v1/app/params" + "github.com/atomone-hub/govgen/v1/app/sim" ) func init() { diff --git a/app/upgrades/types.go b/app/upgrades/types.go index 8ed2c8cd..aeb5acaa 100644 --- a/app/upgrades/types.go +++ b/app/upgrades/types.go @@ -6,7 +6,7 @@ import ( "github.com/cosmos/cosmos-sdk/types/module" upgradetypes "github.com/cosmos/cosmos-sdk/x/upgrade/types" - "github.com/govgen/govgen/v1/app/keepers" + "github.com/atomone-hub/govgen/v1/app/keepers" ) // Upgrade defines a struct containing necessary fields that a SoftwareUpgradeProposal diff --git a/cmd/govgend/cmd/bech32_convert.go b/cmd/govgend/cmd/bech32_convert.go index 94d49350..ddec2ea8 100644 --- a/cmd/govgend/cmd/bech32_convert.go +++ b/cmd/govgend/cmd/bech32_convert.go @@ -5,7 +5,7 @@ import ( "github.com/spf13/cobra" - addressutil "github.com/govgen/govgen/v1/pkg/address" + addressutil "github.com/atomone-hub/govgen/v1/pkg/address" ) var flagBech32Prefix = "prefix" diff --git a/cmd/govgend/cmd/root.go b/cmd/govgend/cmd/root.go index 1257824e..092f9f05 100644 --- a/cmd/govgend/cmd/root.go +++ b/cmd/govgend/cmd/root.go @@ -31,8 +31,8 @@ import ( "github.com/cosmos/cosmos-sdk/x/crisis" genutilcli "github.com/cosmos/cosmos-sdk/x/genutil/client/cli" - govgen "github.com/govgen/govgen/v1/app" - "github.com/govgen/govgen/v1/app/params" + govgen "github.com/atomone-hub/govgen/v1/app" + "github.com/atomone-hub/govgen/v1/app/params" ) // NewRootCmd creates a new root command for simd. It is called once in the diff --git a/cmd/govgend/cmd/root_test.go b/cmd/govgend/cmd/root_test.go index d8c91ec1..2a94bd4c 100644 --- a/cmd/govgend/cmd/root_test.go +++ b/cmd/govgend/cmd/root_test.go @@ -7,8 +7,8 @@ import ( svrcmd "github.com/cosmos/cosmos-sdk/server/cmd" - app "github.com/govgen/govgen/v1/app" - "github.com/govgen/govgen/v1/cmd/govgend/cmd" + app "github.com/atomone-hub/govgen/v1/app" + "github.com/atomone-hub/govgen/v1/cmd/govgend/cmd" ) func TestRootCmdConfig(t *testing.T) { diff --git a/cmd/govgend/main.go b/cmd/govgend/main.go index 48b1d487..9aecf0e3 100644 --- a/cmd/govgend/main.go +++ b/cmd/govgend/main.go @@ -6,8 +6,8 @@ import ( "github.com/cosmos/cosmos-sdk/server" svrcmd "github.com/cosmos/cosmos-sdk/server/cmd" - app "github.com/govgen/govgen/v1/app" - "github.com/govgen/govgen/v1/cmd/govgend/cmd" + app "github.com/atomone-hub/govgen/v1/app" + "github.com/atomone-hub/govgen/v1/cmd/govgend/cmd" ) func main() { diff --git a/contrib/Dockerfile.test b/contrib/Dockerfile.test index cc836eb4..93ed8116 100644 --- a/contrib/Dockerfile.test +++ b/contrib/Dockerfile.test @@ -8,7 +8,7 @@ FROM golang:1.20-alpine AS build-env ENV PACKAGES curl make git libc-dev bash gcc linux-headers eudev-dev python3 # Set working directory for the build -WORKDIR /go/src/github.com/govgen/govgen +WORKDIR /go/src/github.com/atomone-hub/govgen # Add source files COPY . . diff --git a/contrib/githooks/pre-commit b/contrib/githooks/pre-commit index 23888358..c031e575 100755 --- a/contrib/githooks/pre-commit +++ b/contrib/githooks/pre-commit @@ -31,7 +31,7 @@ if [[ $STAGED_GO_FILES != "" ]]; then gofmt -w -s $file misspell -w $file - goimports -w -local github.com/govgen/govgen $file + goimports -w -local github.com/atomone-hub/govgen $file git add $file done diff --git a/contrib/githooks/precommit b/contrib/githooks/precommit index 23888358..c031e575 100644 --- a/contrib/githooks/precommit +++ b/contrib/githooks/precommit @@ -31,7 +31,7 @@ if [[ $STAGED_GO_FILES != "" ]]; then gofmt -w -s $file misspell -w $file - goimports -w -local github.com/govgen/govgen $file + goimports -w -local github.com/atomone-hub/govgen $file git add $file done diff --git a/go.mod b/go.mod index f04fc698..2a89adfb 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module github.com/govgen/govgen/v1 +module github.com/atomone-hub/govgen/v1 go 1.20 diff --git a/proto/scripts/protocgen.sh b/proto/scripts/protocgen.sh index 881f2295..1e65487d 100755 --- a/proto/scripts/protocgen.sh +++ b/proto/scripts/protocgen.sh @@ -26,5 +26,5 @@ Mgoogle/protobuf/any.proto=github.com/cosmos/cosmos-sdk/codec/types:. \ done # move proto files to the right places -cp -r github.com/govgen/govgen/x/* x/ +cp -r github.com/atomone-hub/govgen/x/* x/ rm -rf github.com