diff --git a/.firebaserc b/.firebaserc index 5acfdb1dde..34ac22bd74 100644 --- a/.firebaserc +++ b/.firebaserc @@ -1,9 +1,9 @@ { "projects": { - "default": "ignite-hq" + "default": "ignite" }, "targets": { - "ignite-hq": { + "ignite": { "hosting": { "docs.ignite.com": [ "ignite-go-docs" @@ -11,4 +11,4 @@ } } } -} \ No newline at end of file +} diff --git a/.github/workflows/docs-deploy-preview.yml b/.github/workflows/docs-deploy-preview.yml index a55bfd2861..26d549b628 100644 --- a/.github/workflows/docs-deploy-preview.yml +++ b/.github/workflows/docs-deploy-preview.yml @@ -41,4 +41,4 @@ jobs: firebaseServiceAccount: "${{ secrets.FIREBASE_SERVICE_ACCOUNT_IGNITE_HQ }}" expires: 7d target: docs.ignite.com - projectId: ignite-hq + projectId: ignite diff --git a/.github/workflows/docs-deploy.yml b/.github/workflows/docs-deploy.yml index fbe49117a9..029fee5df7 100644 --- a/.github/workflows/docs-deploy.yml +++ b/.github/workflows/docs-deploy.yml @@ -49,4 +49,4 @@ jobs: firebaseServiceAccount: "${{ secrets.FIREBASE_SERVICE_ACCOUNT_IGNITE_HQ }}" channelId: live target: docs.ignite.com - projectId: ignite-hq + projectId: ignite diff --git a/.github/workflows/release-binary.yml b/.github/workflows/release-binary.yml index deb25aaf86..80e5944dfa 100644 --- a/.github/workflows/release-binary.yml +++ b/.github/workflows/release-binary.yml @@ -8,7 +8,7 @@ jobs: binary: runs-on: ubuntu-latest env: - working-directory: go/src/github.com/ignite-hq/cli + working-directory: go/src/github.com/ignite/cli steps: - name: Set up Go diff --git a/.github/workflows/release-nightly.yml b/.github/workflows/release-nightly.yml index 742bc21da2..1b76bd56d6 100644 --- a/.github/workflows/release-nightly.yml +++ b/.github/workflows/release-nightly.yml @@ -17,7 +17,7 @@ jobs: runs-on: ubuntu-latest needs: [ consecutiveness ] env: - working-directory: go/src/github.com/ignite-hq/cli + working-directory: go/src/github.com/ignite/cli steps: - uses: actions/checkout@v2 diff --git a/.gitpod.yml b/.gitpod.yml index d04a288ff3..215496184b 100644 --- a/.gitpod.yml +++ b/.gitpod.yml @@ -20,16 +20,16 @@ tasks: ## # configure env vars. echo " - export VUE_APP_CUSTOM_URL=$(gp url) + export VITE_CUSTOM_URL=$(gp url) export CHISEL_ADDR=$(gp url 7575) export RPC_ADDRESS=$(gp url 26657):443 export API_ADDRESS=$(gp url 1317) " >> ~/.bashrc && source ~/.bashrc echo " - export VUE_APP_API_COSMOS=${API_ADDRESS} - export VUE_APP_API_TENDERMINT=${RPC_ADDRESS} - export VUE_APP_WS_TENDERMINT=${RPC_ADDRESS/https/wss}/websocket + export VITE_API_COSMOS=${API_ADDRESS} + export VITE_API_TENDERMINT=${RPC_ADDRESS} + export VITE_WS_TENDERMINT=${RPC_ADDRESS/https/wss}/websocket " >> ~/.bashrc && source ~/.bashrc ## diff --git a/.gitpod/readme.md b/.gitpod/readme.md index 7d8bdb6746..ba97a75762 100644 --- a/.gitpod/readme.md +++ b/.gitpod/readme.md @@ -32,7 +32,7 @@ where: 📚 [Cosmos SDK Documentation](https://docs.cosmos.network): Learn about the framework for building application-specific blockchains. -⭐️ [Ignite CLI on Github](https://github.com/ignite-hq/cli): Submit an issue or contribute to the source code. +⭐️ [Ignite CLI on Github](https://github.com/ignite/cli): Submit an issue or contribute to the source code. ## Ignite CLI features diff --git a/.goreleaser.nightly.yml b/.goreleaser.nightly.yml index f7906105dd..81b751fcd5 100644 --- a/.goreleaser.nightly.yml +++ b/.goreleaser.nightly.yml @@ -2,7 +2,7 @@ project_name: ignite builds: - main: ./ignite/cmd/ignite ldflags: - - -s -w -X github.com/ignite-hq/cli/ignite/version.Version={{.Tag}} -X github.com/ignite-hq/cli/ignite/version.Date={{.Date}} -X github.com/ignite-hq/cli/ignite/version.Head={{.FullCommit}} + - -s -w -X github.com/ignite/cli/ignite/version.Version={{.Tag}} -X github.com/ignite/cli/ignite/version.Date={{.Date}} -X github.com/ignite/cli/ignite/version.Head={{.FullCommit}} goos: - linux - darwin diff --git a/.goreleaser.yml b/.goreleaser.yml index 8e3341b5ff..ca8794bef9 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -2,7 +2,7 @@ project_name: ignite builds: - main: ./ignite/cmd/ignite ldflags: - - -s -w -X github.com/ignite-hq/cli/ignite/version.Version={{.Tag}} -X github.com/ignite-hq/cli/ignite/version.Date={{.Date}} -X github.com/ignite-hq/cli/ignite/version.Head={{.FullCommit}} + - -s -w -X github.com/ignite/cli/ignite/version.Version={{.Tag}} -X github.com/ignite/cli/ignite/version.Date={{.Date}} -X github.com/ignite/cli/ignite/version.Head={{.FullCommit}} goos: - linux - darwin diff --git a/Makefile b/Makefile index 600b3d8942..f22ae02287 100644 --- a/Makefile +++ b/Makefile @@ -5,8 +5,8 @@ PROJECT_NAME = ignite DATE := $(shell date '+%Y-%m-%dT%H:%M:%S') FIND_ARGS := -name '*.go' -type f -not -name '*.pb.go' HEAD = $(shell git rev-parse HEAD) -LD_FLAGS = -X github.com/ignite-hq/cli/ignite/version.Head='$(HEAD)' \ - -X github.com/ignite-hq/cli/ignite/version.Date='$(DATE)' +LD_FLAGS = -X github.com/ignite/cli/ignite/version.Head='$(HEAD)' \ + -X github.com/ignite/cli/ignite/version.Date='$(DATE)' BUILD_FLAGS = -mod=readonly -ldflags='$(LD_FLAGS)' BUILD_FOLDER = ./dist @@ -37,7 +37,7 @@ govet: format: @echo Formatting... @find . $(FIND_ARGS) | xargs gofmt -d -s - @find . $(FIND_ARGS) | xargs goimports -w -local github.com/ignite-hq/cli + @find . $(FIND_ARGS) | xargs goimports -w -local github.com/ignite/cli ## lint: Run Golang CI Lint. lint: diff --git a/actions/cli/readme.md b/actions/cli/readme.md index 02b49bd5f0..8319712a1f 100644 --- a/actions/cli/readme.md +++ b/actions/cli/readme.md @@ -16,7 +16,7 @@ jobs: uses: actions/checkout@v2 - name: Print Help - uses: ignite-hq/cli/actions/cli@develop + uses: ignite/cli/actions/cli@develop with: args: -h ``` diff --git a/changelog.md b/changelog.md index 907f6717a7..1dbae99401 100644 --- a/changelog.md +++ b/changelog.md @@ -1,12 +1,23 @@ # Changelog -## [`v0.22.1`](https://github.com/ignite-hq/cli/releases/tag/v0.22.1) +## [`v0.22.2`](https://github.com/ignite/cli/releases/tag/v0.22.2) + +### Features + +- Enable Darwin ARM 64 target for chain binary releases in CI templates + +### Changes + +- Rename `ignite-hq` to `ignite` + + +## [`v0.22.1`](https://github.com/ignite/cli/releases/tag/v0.22.1) ### Fixes - Fix IBC module scaffolding interface in templates -## [`v0.22.0`](https://github.com/ignite-hq/cli/releases/tag/v0.22.0) +## [`v0.22.0`](https://github.com/ignite/cli/releases/tag/v0.22.0) ### Features @@ -17,13 +28,13 @@ - Add a fix in code generation to avoid user's NodeJS configs to break TS client generation routine -## [`v0.21.2`](https://github.com/ignite-hq/cli/releases/tag/v0.21.2) +## [`v0.21.2`](https://github.com/ignite/cli/releases/tag/v0.21.2) ### Fixes - Set min. gas to zero when running `chain` command set -## [`v0.21.1`](https://github.com/ignite-hq/cli/releases/tag/v0.21.1) +## [`v0.21.1`](https://github.com/ignite/cli/releases/tag/v0.21.1) ### Features @@ -35,38 +46,38 @@ - Fixed shell completion generation - Make sure proto package names are valid when using simple app names -## [`v0.21.0`](https://github.com/ignite-hq/cli/releases/tag/v0.21.0) +## [`v0.21.0`](https://github.com/ignite/cli/releases/tag/v0.21.0) ### Features - Support simple app names when scaffolding chains. e.g.: `ignite scaffold chain mars` - Ask confirmation when scaffolding over changes that are not committed yet -## [`v0.20.4`](https://github.com/ignite-hq/cli/releases/tag/v0.20.4) +## [`v0.20.4`](https://github.com/ignite/cli/releases/tag/v0.20.4) ### Fixes - Use `protoc` binary compiled in an older version of macOS AMD64 for backwards compatibility in code generation -## [`v0.20.3`](https://github.com/ignite-hq/cli/releases/tag/v0.20.3) +## [`v0.20.3`](https://github.com/ignite/cli/releases/tag/v0.20.3) ### Fixes - Use latest version of CLI in templates to fix Linux ARM support _(It's now possible to develop chains in Linux ARM machines and since the chain depends on the CLI in its go.mod, it needs to use the latest version that support ARM targets)_ -## [`v0.20.2`](https://github.com/ignite-hq/cli/releases/tag/v0.20.2) +## [`v0.20.2`](https://github.com/ignite/cli/releases/tag/v0.20.2) ### Fixes - Use `unsafe-reset-all` cmd under `tendermint` cmd for chains that use `=> v0.45.3` version of Cosmos SDK -## [`v0.20.1`](https://github.com/ignite-hq/cli/releases/tag/v0.20.1) +## [`v0.20.1`](https://github.com/ignite/cli/releases/tag/v0.20.1) ### Features - Release the CLI with Linux ARM and native M1 binaries -## [`v0.20.0`](https://github.com/ignite-hq/cli/releases/tag/v0.20.0) +## [`v0.20.0`](https://github.com/ignite/cli/releases/tag/v0.20.0) Our new name is **Ignite CLI**! @@ -78,7 +89,7 @@ Our new name is **Ignite CLI**! - Added support for in memory backend in `pkg/cosmosclient` package - Improved our tutorials and documentation -## [`v0.19.5`](https://github.com/ignite-hq/cli/pull/2158/commits) +## [`v0.19.5`](https://github.com/ignite/cli/pull/2158/commits) ### Features @@ -104,7 +115,7 @@ Our new name is **Ignite CLI**! - Upgraded Flutter template to `v2.0.3` -## [`v0.19.2`](https://github.com/ignite-hq/cli/milestone/14) +## [`v0.19.2`](https://github.com/ignite/cli/milestone/14) ### Fixes @@ -118,7 +129,7 @@ Our new name is **Ignite CLI**! ### Breaking Changes -- Deprecated the Starport Modules [tendermint/spm](https://github.com/tendermint/spm) repo and moved the contents to the Ignite CLI repo [`ignite/pkg/`](https://github.com/ignite-hq/cli/tree/develop/ignite/pkg/) in [PR 1971](https://github.com/ignite-hq/cli/pull/1971/files) +- Deprecated the Starport Modules [tendermint/spm](https://github.com/tendermint/spm) repo and moved the contents to the Ignite CLI repo [`ignite/pkg/`](https://github.com/ignite/cli/tree/develop/ignite/pkg/) in [PR 1971](https://github.com/ignite/cli/pull/1971/files) Updates are required if your chain uses these packages: @@ -127,7 +138,7 @@ Our new name is **Ignite CLI**! - `spm/openapiconsole` is now `pkg/openapiconsole` - `testutil/sample` is now `cosmostestutil/sample` -- Updated the faucet HTTP API schema. See API changes in [fix: improve faucet reliability #1974](https://github.com/ignite-hq/cli/pull/1974/files#diff-0e157f4f60d6fbd95e695764df176c8978d85f1df61475fbfa30edef62fe35cd) +- Updated the faucet HTTP API schema. See API changes in [fix: improve faucet reliability #1974](https://github.com/ignite/cli/pull/1974/files#diff-0e157f4f60d6fbd95e695764df176c8978d85f1df61475fbfa30edef62fe35cd) ## `v0.19.1` diff --git a/contributing.md b/contributing.md index af6f3b070e..47d7b6987b 100644 --- a/contributing.md +++ b/contributing.md @@ -12,7 +12,7 @@ Before you create a new PR on Ignite CLI, make sure that you read and comply with this document. -Start a new [Discussion](https://github.com/ignite-hq/cli/discussions/new) if you want to propose changes to this document. +Start a new [Discussion](https://github.com/ignite/cli/discussions/new) if you want to propose changes to this document. To prepare for success, see [Set Up Your Ignite CLI Development Environment](dev-env-setup.md). @@ -22,9 +22,9 @@ Thank you for your contribution! ## Providing Feedback -- Before you open an issue, do a web search, and check for [existing open and closed GitHub Issues](https://github.com/ignite-hq/cli/issues) to see if your question has already been asked and answered. If you find a relevant topic, you can comment on that issue. +- Before you open an issue, do a web search, and check for [existing open and closed GitHub Issues](https://github.com/ignite/cli/issues) to see if your question has already been asked and answered. If you find a relevant topic, you can comment on that issue. -- To provide feedback or ask a question, create a [GitHub issue](https://github.com/ignite-hq/cli/issues/new/choose). Be sure to provide the relevant information, case study, or informative links as suggested by the Pull Request template. +- To provide feedback or ask a question, create a [GitHub issue](https://github.com/ignite/cli/issues/new/choose). Be sure to provide the relevant information, case study, or informative links as suggested by the Pull Request template. - We recommend using GitHub issues for issues and feedback. However, you can ask quick questions on the **#🛠️ build-chains** channel in the official [Ignite Discord](https://discord.gg/ignite). @@ -70,7 +70,7 @@ If you started a PR but couldn't finish it for whatever reason, don't give up. I Ignite CLI follows Git Flow for branch strategy . -- Each Ignite CLI release has a milestone, see . +- Each Ignite CLI release has a milestone, see . - Issues in each milestone have a **priority/high**, **priority/medium**, or **priority/low** label. @@ -82,8 +82,8 @@ Ignite CLI follows Git Flow for branch strategy shows the issues we are currently working on and what issues we plan to work on. +- A single project board shows the issues we are currently working on and what issues we plan to work on. -Contributors, check the **To Do** column on the project board to find an issue to work on. See the [Ignite CLI bounty program](docs/bounty/index.md) to learn how your participation can earn rewards. +Contributors, check the **To Do** column on the project board to find an issue to work on. See the [Ignite CLI bounty program](docs/bounty/index.md) to learn how your participation can earn rewards. We appreciate your contribution! diff --git a/dev-env-setup.md b/dev-env-setup.md index 67adea80cc..4c1a39f519 100644 --- a/dev-env-setup.md +++ b/dev-env-setup.md @@ -43,7 +43,7 @@ See [Install Ignite CLI](docs/install.md). ## Clone the Ignite CLI repo -`git clone --depth=1 git@github.com:ignite-hq/cli.git` +`git clone --depth=1 git@github.com:ignite/cli.git` ## Run make install diff --git a/docs/docs/06-bounty.md b/docs/docs/06-bounty.md index c4ae33944d..9615f6f2a7 100644 --- a/docs/docs/06-bounty.md +++ b/docs/docs/06-bounty.md @@ -7,7 +7,7 @@ description: Ignite CLI bounty program incentives and rewards. Our Ignite CLI bounty program provides incentives for your participation and pays rewards. If you know Golang, follow the bounty issues, write code, close issues, and get rewarded. -Do your bounty hunting in our repo. Track new, in-progress, and completed bounties on the [Bounty board](https://github.com/ignite-hq/cli/projects/5) in GitHub. +Do your bounty hunting in our repo. Track new, in-progress, and completed bounties on the [Bounty board](https://github.com/ignite/cli/projects/5) in GitHub. For details on the Ignite CLI bounty program, join the #bounty channel in [Ignite Discord](https://discord.com/invite/ignite). diff --git a/docs/docs/contributing/01-contributing.md b/docs/docs/contributing/01-contributing.md index 73a5d491ca..6dda69a194 100644 --- a/docs/docs/contributing/01-contributing.md +++ b/docs/docs/contributing/01-contributing.md @@ -11,7 +11,7 @@ To set up your environment for success, follow the [technical setup](02-technica ## Using this repo -Review existing [Ignite CLI issues](https://github.com/ignite-hq/cli/issues) to see if your question has already been asked and answered. +Review existing [Ignite CLI issues](https://github.com/ignite/cli/issues) to see if your question has already been asked and answered. - To provide feedback, file an issue and provide generous details to help us understand how we can make it better. - To provide a fix, make a direct contribution. If you're not a member or maintainer, fork the repo and then submit a pull request (PR) from your forked repo to the `develop` branch. @@ -63,7 +63,7 @@ As always, work-in-progress content might be happening in other locations and re The Ignite product team developers are focused on building Ignite CLI and improving the developer experience. The Ignite Ecosystem Development team owns the technical content and tutorials and manages developer onboarding. -Meet the [people behind Ignite CLI and our contributors](https://github.com/ignite-hq/cli/graphs/contributors). +Meet the [people behind Ignite CLI and our contributors](https://github.com/ignite/cli/graphs/contributors). ## Viewing docs builds diff --git a/docs/docs/contributing/02-technical-setup.md b/docs/docs/contributing/02-technical-setup.md index eb4e52a0ea..c848abf1ca 100644 --- a/docs/docs/contributing/02-technical-setup.md +++ b/docs/docs/contributing/02-technical-setup.md @@ -25,7 +25,7 @@ Click the GitHub icon in the sidebar for GitHub integration and follow the promp ## Clone the repos that you work in -- Fork or clone the repository. +- Fork or clone the repository. Internal Ignite users have different permissions. If you're not sure, fork the repo. diff --git a/docs/docs/contributing/templates/01-concept_template.md b/docs/docs/contributing/templates/01-concept_template.md index 1484756c0f..7176371671 100644 --- a/docs/docs/contributing/templates/01-concept_template.md +++ b/docs/docs/contributing/templates/01-concept_template.md @@ -12,7 +12,7 @@ We admire and respect these resources: - Google developer documentation [style guide](https://developers.google.com/style) - Digital Ocean style guide [do.co/style](https://do.co/style) -[Create an issue](https://github.com/ignite-hq/cli/issues/new/choose) to let us know if you have questions. +[Create an issue](https://github.com/ignite/cli/issues/new/choose) to let us know if you have questions. --> diff --git a/docs/docs/contributing/templates/02-tutorial-template.md b/docs/docs/contributing/templates/02-tutorial-template.md index 40a4ab43df..d7a200330f 100644 --- a/docs/docs/contributing/templates/02-tutorial-template.md +++ b/docs/docs/contributing/templates/02-tutorial-template.md @@ -12,7 +12,7 @@ We admire, respect, and rely on these resources: - Google developer documentation [style guide](https://developers.google.com/style) - Digital Ocean style guide [do.co/style](https://do.co/style) -[Create an issue](https://github.com/ignite-hq/cli/issues/new/choose) to let us know if you have questions. +[Create an issue](https://github.com/ignite/cli/issues/new/choose) to let us know if you have questions. --> diff --git a/docs/docs/guide/01-install.md b/docs/docs/guide/01-install.md index ff92e0ba2d..17a4cf423a 100644 --- a/docs/docs/guide/01-install.md +++ b/docs/docs/guide/01-install.md @@ -5,7 +5,7 @@ description: Steps to install Ignite CLI on your local computer. # Install Ignite CLI -You can run [Ignite CLI](https://github.com/ignite-hq/cli) in a web-based Gitpod IDE or you can install Ignite CLI on your local computer. +You can run [Ignite CLI](https://github.com/ignite/cli) in a web-based Gitpod IDE or you can install Ignite CLI on your local computer. ## Prerequisites @@ -44,7 +44,7 @@ curl https://get.ignite.com/cli! | bash This command invokes `curl` to download the install script and pipes the output to `bash` to perform the installation. The `ignite` binary is installed in `/usr/local/bin`. -To learn more or customize the installation process, see the [installer docs](https://github.com/ignite-hq/installer) on GitHub. +To learn more or customize the installation process, see the [installer docs](https://github.com/ignite/installer) on GitHub. ### Write permission @@ -87,14 +87,14 @@ To remove the current Ignite CLI installation: After all existing Ignite CLI installations are removed, follow the [Installing Ignite CLI](#installing-ignite-cli) instructions. -For details on version features and changes, see the [changelog.md](https://github.com/ignite-hq/cli/blob/develop/changelog.md) in the repo. +For details on version features and changes, see the [changelog.md](https://github.com/ignite/cli/blob/develop/changelog.md) in the repo. ## Build from source To experiment with the source code, you can build from source: ```bash -git clone https://github.com/ignite-hq/cli --depth=1 +git clone https://github.com/ignite/cli --depth=1 cd cli && make install ``` diff --git a/docs/docs/guide/02-hello.md b/docs/docs/guide/02-hello.md index fcc1e93c66..91fd4127bb 100644 --- a/docs/docs/guide/02-hello.md +++ b/docs/docs/guide/02-hello.md @@ -9,7 +9,7 @@ This tutorial is a great place to start your journey into the Cosmos ecosystem. ## Get started -In the previous chapter you've learned how to install [Ignite CLI](https://github.com/ignite-hq/cli), the tool that offers everything you need to build, test, and launch your blockchain with a decentralized worldwide community. +In the previous chapter you've learned how to install [Ignite CLI](https://github.com/ignite/cli), the tool that offers everything you need to build, test, and launch your blockchain with a decentralized worldwide community. This series of tutorials is based on a specific version of Ignite CLI, so be sure to install the correct version. For example, to install Ignite CLI v0.20.0 use the following command: diff --git a/docs/docs/guide/03-blog/00-build-blog.md b/docs/docs/guide/03-blog/00-build-blog.md index 724a8b8c2f..16eda2d38e 100644 --- a/docs/docs/guide/03-blog/00-build-blog.md +++ b/docs/docs/guide/03-blog/00-build-blog.md @@ -25,7 +25,7 @@ By completing this tutorial, you will learn about: This series of blog tutorials is based on a specific version of Ignite CLI, so to install Ignite CLI v0.20.0 use the following command: ```bash -curl https://get.ignite.com/cli@v0.20.0! | bash +curl https://get.ignite.com/cli@v0.22.1! | bash ``` ## Create your blog chain @@ -35,7 +35,7 @@ First, create a new blockchain. Open a terminal and navigate to a directory where you have permissions to create files. To create your Cosmos SDK blockchain, run this command: ```bash -ignite scaffold chain github.com/username/blog +ignite scaffold chain blog ``` The `blog` directory is created with the default directory structure. @@ -162,8 +162,8 @@ Create the `proto/blog/post.proto` file and define the `Post` message: ```go syntax = "proto3"; -package username.blog.blog; -option go_package = "github.com/username/blog/x/blog/types"; +package blog.blog; +option go_package = "blog/x/blog/types"; message Post { string creator = 1; @@ -264,7 +264,7 @@ package keeper import ( "encoding/binary" - "github.com/username/blog/x/blog/types" + "blog/x/blog/types" "github.com/cosmos/cosmos-sdk/store/prefix" sdk "github.com/cosmos/cosmos-sdk/types" ) @@ -294,34 +294,6 @@ By following these steps, you have implemented all of the code required to creat - `x/blog/handler.go` calls `k.CreatePost` which in turn calls `AppendPost` - `AppendPost` gets the number of posts from the store, adds a post using the count as an ID, increments the count, and returns the ID -## Create a post - -Try it out! Start your chain: - -```go -ignite chain serve -``` - -Create a post: - -```bash -blogd tx blog create-post foo bar --from alice -``` - -The command output shows the transaction and asks you to sign the transaction: - -```bash -"body":{"messages":[{"@type":"/username.blog.blog.MsgCreatePost","creator":"cosmos1dad8xvsj3dse928r52yayygghwvsggvzlm730p","title":"foo","body":"bar"}],"memo":"","timeout_height":"0","extension_options":[],"non_critical_extension_options":[]},"auth_info":{"signer_infos":[],"fee":{"amount":[],"gas_limit":"200000","payer":"","granter":""}},"signatures":[]} - -confirm transaction before signing and broadcasting [y/N]: y -``` - -Type `y`. The transaction is output to the terminal: - -```bash -{"height":"6861","txhash":"6086372860704F5F88F4D0A3CF23523CF6DAD2F637E4068B92582E3BB13800DA","codespace":"","code":0,"data":"0A100A0A437265617465506F737412020801","raw_log":"[{\"events\":[{\"type\":\"message\",\"attributes\":[{\"key\":\"action\",\"value\":\"CreatePost\"}]}]}]","logs":[{"msg_index":0,"log":"","events":[{"type":"message","attributes":[{"key":"action","value":"CreatePost"}]}]}],"info":"","gas_wanted":"200000","gas_used":"44674","tx":null,"timestamp":""} -``` - Now that you have added the functionality to create posts and broadcast them to our chain, you can add querying. ## Display posts @@ -375,7 +347,8 @@ package keeper import ( "context" - "github.com/username/blog/x/blog/types" + "blog/x/blog/types" + "github.com/cosmos/cosmos-sdk/store/prefix" sdk "github.com/cosmos/cosmos-sdk/types" "github.com/cosmos/cosmos-sdk/types/query" @@ -451,16 +424,12 @@ blogd tx blog create-post foo bar --from alice The transaction is output to the terminal. You are prompted to confirm the transaction: ```bash -{"body":{"messages":[{"@type":"/username.blog.blog.MsgCreatePost","creator":"cosmos1c9zy9aajk9fs2f8ygtz4pm22r3rxmg597vw2n3","title":"foo","body":"bar"}],"memo":"","timeout_height":"0","extension_options":[],"non_critical_extension_options":[]},"auth_info":{"signer_infos":[],"fee":{"amount":[],"gas_limit":"200000","payer":"","granter":""}},"signatures":[]} +{"body":{"messages":[{"@type":"/blog.blog.MsgCreatePost","creator":"cosmos1ctxp3pfdtr3sw9udz2ptuh59ce9z0eaa2zvv6w","title":"foo","body":"bar"}],"memo":"","timeout_height":"0","extension_options":[],"non_critical_extension_options":[]},"auth_info":{"signer_infos":[],"fee":{"amount":[],"gas_limit":"200000","payer":"","granter":""}},"signatures":[]} confirm transaction before signing and broadcasting [y/N]: y ``` -Type `y` to sign the transaction: - -```bash -{"height":"2828","txhash":"E04A712E65B0F6F30F5DC291A6552B69F6CB3F77761F28AFFF8EAA535EC4C589","codespace":"","code":0,"data":"0A100A0A437265617465506F737412020801","raw_log":"[{\"events\":[{\"type\":\"message\",\"attributes\":[{\"key\":\"action\",\"value\":\"CreatePost\"}]}]}]","logs":[{"msg_index":0,"log":"","events":[{"type":"message","attributes":[{"key":"action","value":"CreatePost"}]}]}],"info":"","gas_wanted":"200000","gas_used":"44674","tx":null,"timestamp":""} -``` +Type `y` to sign and broadcast the transaction. Congratulations, you built a chain binary and used the `blogd` binary CLI to create a blog post. @@ -477,7 +446,7 @@ The result: ```bash Post: - body: bar - creator: cosmos1c9zy9aajk9fs2f8ygtz4pm22r3rxmg597vw2n3 + creator: cosmos1ctxp3pfdtr3sw9udz2ptuh59ce9z0eaa2zvv6w id: "0" title: foo pagination: diff --git a/docs/docs/guide/03-blog/01-comment-blog.md b/docs/docs/guide/03-blog/01-comment-blog.md index ecba0eb69f..ada3e938e2 100644 --- a/docs/docs/guide/03-blog/01-comment-blog.md +++ b/docs/docs/guide/03-blog/01-comment-blog.md @@ -76,7 +76,6 @@ message Comment { } ``` - ## Add a comment to a post To create a new message that adds a comment to the existing post, run: @@ -97,6 +96,8 @@ modify x/blog/client/cli/tx.go create x/blog/client/cli/tx_create_comment.go modify x/blog/handler.go create x/blog/keeper/msg_server_create_comment.go +modify x/blog/module_simulation.go +create x/blog/simulation/create_comment.go modify x/blog/types/codec.go create x/blog/types/message_create_comment.go create x/blog/types/message_create_comment_test.go @@ -125,7 +126,7 @@ message MsgCreateCommentResponse { } ``` - You see in the `proto/blog/tx.proto` file that the `MsgCreateComment` has five fields: creator, title, body, PostID, and id. Since the purpose of the `MsgCreateComment` message is to create new comments in the store, the only thing the message needs to return is an ID of a created comments. The `CreateComment` rpc was already added to the `Msg` service: + You see in the `proto/blog/tx.proto` file that the `MsgCreateComment` has five fields: creator, title, body, postID, and id. Since the purpose of the `MsgCreateComment` message is to create new comments in the store, the only thing the message needs to return is an ID of a created comments. The `CreateComment` rpc was already added to the `Msg` service: ```go rpc CreateComment(MsgCreateComment) returns (MsgCreateCommentResponse); @@ -160,13 +161,11 @@ import ( func (k msgServer) CreateComment(goCtx context.Context, msg *types.MsgCreateComment) (*types.MsgCreateCommentResponse, error) { ctx := sdk.UnwrapSDKContext(goCtx) - - post := k.GetPost(ctx, msg.PostID) - postId := post.Id // Check if the Post Exists for which a comment is being created - if msg.PostID == 0 { - return nil, sdkerrors.Wrapf(types.ErrID, "Post Blog Id does not exist for which comment with Blog Id %d was made", msg.PostID) + post, found := k.GetPost(ctx, msg.PostId) + if !found { + return nil, sdkerrors.Wrap(sdkerrors.ErrKeyNotFound, fmt.Sprintf("key %d doesn't exist", msg.Id)) } // Create variable of type comment @@ -195,7 +194,7 @@ When the Comment validity is checked, it throws 2 error messages - `ErrID` and ` //... var ( ErrCommentOld = sdkerrors.Register(ModuleName, 1300, "") - ErrID = sdkerrors.Register(ModuleName, 1400, "") + ErrID = sdkerrors.Register(ModuleName, 1400, "") ) ``` @@ -255,24 +254,23 @@ In `x/blog/keeper/post.go`, add a new function to get the post: ```go import ( "encoding/binary" - "github.com/username/blog/x/blog/types" + "blog/x/blog/types" "github.com/cosmos/cosmos-sdk/store/prefix" sdk "github.com/cosmos/cosmos-sdk/types" ) //... -func (k Keeper) GetPost(ctx sdk.Context, id uint64) (post types.Post) { - // Get the store using storeKey (which is "blog") and PostKey (which is "Post-") - store := prefix.NewStore(ctx.KVStore(k.storeKey), []byte(types.PostKey)) - // Convert the post ID into bytes - byteKey := make([]byte, 8) - binary.BigEndian.PutUint64(byteKey, id) - // Get the post bytes using post ID as a key - bz := store.Get(byteKey) - // Unmarshal the post bytes into the post object - k.cdc.MustUnmarshal(bz, &post) - return post +func (k Keeper) GetPost(ctx sdk.Context, id uint64) (val types.Post, found bool) { + store := prefix.NewStore(ctx.KVStore(k.storeKey), types.KeyPrefix(types.PostKey)) + bz := make([]byte, 8) + binary.BigEndian.PutUint64(bz, id) + b := store.Get(bz) + if b == nil { + return val, false + } + k.cdc.MustUnmarshal(b, &val) + return val, true } ``` @@ -301,14 +299,16 @@ The `message` commands accepts `commentID` and `postID` as arguments. Here, `commentID` and `postID` are the references to previously created comment and blog post. -```bash The `message` command has created and modified several files: +```bash modify proto/blog/tx.proto modify x/blog/client/cli/tx.go create x/blog/client/cli/tx_delete_comment.go modify x/blog/handler.go create x/blog/keeper/msg_server_delete_comment.go +modify x/blog/module_simulation.go +create x/blog/simulation/delete_comment.go modify x/blog/types/codec.go create x/blog/types/message_delete_comment.go create x/blog/types/message_delete_comment_test.go @@ -350,7 +350,7 @@ package keeper "context" "encoding/binary" - "github.com/username/blog/x/blog/types" + "blog/x/blog/types" "github.com/cosmos/cosmos-sdk/store/prefix" sdk "github.com/cosmos/cosmos-sdk/types" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" @@ -409,11 +409,12 @@ message QueryCommentsResponse { After the types are defined in proto files, you can implement post querying logic in `x/blog/keeper/grpc_query_comments.go` by registering the `Comments` function: ```go +package keeper import ( "context" - "github.com/username/blog/x/blog/types" + "blog/x/blog/types" sdk "github.com/cosmos/cosmos-sdk/types" "google.golang.org/grpc/codes" "google.golang.org/grpc/status" @@ -442,7 +443,7 @@ func (k Keeper) Comments(c context.Context, req *types.QueryCommentsRequest) (*t commentStore := prefix.NewStore(store, []byte(types.CommentKey)) // Get the post by ID - post := k.GetPost(ctx, req.Id) + post, _ := k.GetPost(ctx, req.Id) // Get the post ID postID := post.Id @@ -478,7 +479,7 @@ func (k Keeper) Comments(c context.Context, req *types.QueryCommentsRequest) (*t Try it out! -If the chain is yet not started, run `ignite chain serve`. +If the chain is yet not started, run `ignite chain serve -r`. Create a post: @@ -489,15 +490,7 @@ blogd tx blog create-post Uno "This is the first post" --from alice As before, you are prompted to confirm the transaction: ```bash -"body":{"messages":[{"@type":"/username.blog.blog.MsgCreatePost","creator":"cosmos1dad8xvsj3dse928r52yayygghwvsggvzlm730p","title":"foo","body":"bar"}],"memo":"","timeout_height":"0","extension_options":[],"non_critical_extension_options":[]},"auth_info":{"signer_infos":[],"fee":{"amount":[],"gas_limit":"200000","payer":"","granter":""}},"signatures":[]} - -confirm transaction before signing and broadcasting [y/N]: y -``` - -The transaction output: - -```bash -{"height":"6861","txhash":"6086372860704F5F88F4D0A3CF23523CF6DAD2F637E4068B92582E3BB13800DA","codespace":"","code":0,"data":"0A100A0A437265617465506F737412020801","raw_log":"[{\"events\":[{\"type\":\"message\",\"attributes\":[{\"key\":\"action\",\"value\":\"CreatePost\"}]}]}]","logs":[{"msg_index":0,"log":"","events":[{"type":"message","attributes":[{"key":"action","value":"CreatePost"}]}]}],"info":"","gas_wanted":"200000","gas_used":"44674","tx":null,"timestamp":""} +{"body":{"messages":[{"@type":"/blog.blog.MsgCreatePost","creator":"cosmos1uamq9d6zj5p7lvzyhjugg8drkrcqckxtvj99ac","title":"Uno","body":"This is the first post","id":"0"}],"memo":"","timeout_height":"0","extension_options":[],"non_critical_extension_options":[]},"auth_info":{"signer_infos":[],"fee":{"amount":[],"gas_limit":"200000","payer":"","granter":""}},"signatures":[]} ``` Create a comment: @@ -507,7 +500,7 @@ blogd tx blog create-comment 0 Uno "This is the first comment" --from alice ``` ```bash -{"body":{"messages":[{"@type":"/username.blog.blog.MsgCreateComment","creator":"cosmos17pvwgu36fu37j8y9gc4pasxsj3p26ghmlqvngd","id":"0","title":"Uno","body":"This is the first comment","PostID":"2","createdAt":"0"}],"memo":"","timeout_height":"0","extension_options":[],"non_critical_extension_options":[]},"auth_info":{"signer_infos":[],"fee":{"amount":[],"gas_limit":"200000","payer":"","granter":""}},"signatures":[]} +{"body":{"messages":[{"@type":"/blog.blog.MsgCreateComment","creator":"cosmos1uamq9d6zj5p7lvzyhjugg8drkrcqckxtvj99ac","postID":"0","title":"Uno","body":"This is the first comment","id":"0"}],"memo":"","timeout_height":"0","extension_options":[],"non_critical_extension_options":[]},"auth_info":{"signer_infos":[],"fee":{"amount":[],"gas_limit":"200000","payer":"","granter":""}},"signatures":[]} ``` When prompted, press Enter to confirm the transaction: @@ -516,30 +509,6 @@ When prompted, press Enter to confirm the transaction: confirm transaction before signing and broadcasting [y/N]: y ``` -The command output shows the results of the transaction: - -```bash -code: 0 -codespace: "" -data: 0A270A252F636F736D6F6E6175742E626C6F672E626C6F672E4D7367437265617465436F6D6D656E74 -gas_used: "45891" -gas_wanted: "200000" -height: "118" -info: "" -logs: -- events: - - attributes: - - key: action - value: CreateComment - type: message - log: "" - msg_index: 0 -raw_log: '[{"events":[{"type":"message","attributes":[{"key":"action","value":"CreateComment"}]}]}]' -timestamp: "" -tx: null -txhash: 0CAFC113D1C73BC0210EFEA5964EBD2EB530311169FB442C5CBF0B5E92521C41 -``` - ## Display post and comment ```bash @@ -550,18 +519,21 @@ The results are output: ```bash Comment: -- body: Let us add random comment - createdAt: "14094" - creator: cosmos1g7x9cpj6w0jklshe3se57tlwydx6yfl8ex5g7n +- body: This is the first comment + createdAt: "58" + creator: cosmos1uamq9d6zj5p7lvzyhjugg8drkrcqckxtvj99ac id: "0" postID: "0" - title: comment + title: Uno Post: body: This is the first post - createdAt: "14046" - creator: cosmos1g7x9cpj6w0jklshe3se57tlwydx6yfl8ex5g7n + createdAt: "51" + creator: cosmos1uamq9d6zj5p7lvzyhjugg8drkrcqckxtvj99ac id: "0" title: Uno +pagination: + next_key: null + total: "1" ``` ## Delete comment @@ -570,30 +542,6 @@ Post: blogd tx blog delete-comment 0 0 --from alice -y ``` -The results are output: - -```bash -code: 0 -codespace: "" -data: 0A270A252F636F736D6F6E6175742E626C6F672E626C6F672E4D736744656C657465436F6D6D656E74 -gas_used: "40125" -gas_wanted: "200000" -height: "253" -info: "" -logs: -- events: - - attributes: - - key: action - value: DeleteComment - type: message - log: "" - msg_index: 0 -raw_log: '[{"events":[{"type":"message","attributes":[{"key":"action","value":"DeleteComment"}]}]}]' -timestamp: "" -tx: null -txhash: 0312234CBB9EEA1A59D474496E100AFC5A460A0E60E7D009D3E9417530148A75 -``` - ## Display the post and all associated comments ```bash @@ -603,14 +551,16 @@ blogd q blog comments 0 The results are output: ```bash -Comment: -[] +Comment: [] Post: body: This is the first post - createdAt: "14046" - creator: cosmos1g7x9cpj6w0jklshe3se57tlwydx6yfl8ex5g7n + createdAt: "12" + creator: cosmos12s696u0wutt42kc297td5naxgxtvtxdlsg07n2 id: "0" title: Uno +pagination: + next_key: null + total: "0" ``` ## Edge cases @@ -624,18 +574,34 @@ blogd tx blog create-comment 53 "Edge1" "This is the 53 comment" --from alice - The transaction is not able to be completed because the blog id does not exist: ```bash -code: 1400 -codespace: blog +code: 22 +codespace: sdk data: "" -gas_used: "38151" +events: +- attributes: + - index: false + key: ZmVl + value: "" + type: tx +- attributes: + - index: false + key: YWNjX3NlcQ== + value: Y29zbW9zMXVhbXE5ZDZ6ajVwN2x2enloanVnZzhkcmtyY3Fja3h0dmo5OWFjLzQ= + type: tx +- attributes: + - index: false + key: c2lnbmF0dXJl + value: NEdGejY1WGFjc0cvR1BEOVgxSDh4NmU5NTZEM1hxZ0txdnlWcmVVZ2JSRThTbkRHNjdmN29rNm9uWDhhVjgzb3NFcDh2eWg3RnNIRE1CaU9VL3QwMlE9PQ== + type: tx +gas_used: "41385" gas_wanted: "200000" -height: "1019" +height: "90" info: "" logs: [] -raw_log: 'failed to execute message; message index: 0: Post Blog Id 53 does not exist for which comment was made: ' +raw_log: 'failed to execute message; message index: 0: key 0 doesn''t exist: key not + found' timestamp: "" tx: null -txhash: B99BD295A0B08DF58B9FEC8EB41D467C2F28BD4EC8CDB56FBF30DB728B877ABA ``` 1. Add comment to a blog post that is older than 100 blocks: @@ -650,15 +616,32 @@ The transaction is not executed: code: 1300 codespace: blog data: "" -gas_used: "38101" +events: +- attributes: + - index: false + key: ZmVl + value: "" + type: tx +- attributes: + - index: false + key: YWNjX3NlcQ== + value: Y29zbW9zMXVhbXE5ZDZ6ajVwN2x2enloanVnZzhkcmtyY3Fja3h0dmo5OWFjLzEy + type: tx +- attributes: + - index: false + key: c2lnbmF0dXJl + value: TFR3OXFQbm9KYUVmZ2EyZWlrWWZ5SmFiM0VvZDUwVlU0L3hJUExpbCtUWXN5NFNvQzhKaWJTeW5Eb2RkOExqU3NPaXhsVjlUZmtvNmJMbHArcVZZTWc9PQ== + type: tx +gas_used: "41569" gas_wanted: "200000" -height: "1191" +height: "154" info: "" logs: [] -raw_log: 'failed to execute message; message index: 0: Comment created at 1191 is older than post created at 1047:' +raw_log: 'failed to execute message; message index: 0: Comment created at 154 is older + than post created at 51: ' timestamp: "" tx: null -txhash: A87AAD5E2E6A26F9B80796D013139E9A18DB286D9CF769BC6AA6601DD64C6A35 +txhash: 5BFBEE017952376851D7989E7AF5B60A29B98AD2F7812EC271C154575F386AD6 ``` ## Conclusion diff --git a/docs/docs/guide/03-blog/02-connect-blockchain.md b/docs/docs/guide/03-blog/02-connect-blockchain.md index fddf7edb64..86d084ff6e 100644 --- a/docs/docs/guide/03-blog/02-connect-blockchain.md +++ b/docs/docs/guide/03-blog/02-connect-blockchain.md @@ -48,7 +48,7 @@ go 1.17 require ( github.com/username/blog v0.0.0-00010101000000-000000000000 - github.com/ignite-hq/cli v0.19.2 + github.com/ignite/cli v0.22.2 ) replace github.com/username/blog => ../blog @@ -79,7 +79,7 @@ import ( // importing the types package of your blog blockchain "github.com/username/blog/x/blog/types" // importing the general purpose Cosmos blockchain client - "github.com/ignite-hq/cli/ignite/pkg/cosmosclient" + "github.com/ignite/cli/ignite/pkg/cosmosclient" ) func main() { @@ -136,7 +136,7 @@ func main() { Read the comments in the code carefully to learn details about each line of code. To learn more about the `cosmosclient` package, see the Go -[cosmosclient](https://pkg.go.dev/github.com/ignite-hq/cli/ignite/pkg/cosmosclient) package documentation. Details are provided to learn how to use the `Client` type with `Options` and `KeyringBackend`. +[cosmosclient](https://pkg.go.dev/github.com/ignite/cli/ignite/pkg/cosmosclient) package documentation. Details are provided to learn how to use the `Client` type with `Options` and `KeyringBackend`. ## Run the blockchain and the client diff --git a/docs/docs/index.md b/docs/docs/index.md index 5f5848f7b4..04b310b3f5 100644 --- a/docs/docs/index.md +++ b/docs/docs/index.md @@ -5,7 +5,7 @@ slug: / # Ignite CLI -[Ignite CLI](https://github.com/ignite-hq/cli) offers everything you need to build, test, and launch your blockchain with a decentralized worldwide community. Ignite CLI is built on top of [Cosmos SDK](https://docs.cosmos.network), the world’s most popular blockchain framework. Ignite CLI accelerates chain development by scaffolding everything you need so you can focus on business logic. +[Ignite CLI](https://github.com/ignite/cli) offers everything you need to build, test, and launch your blockchain with a decentralized worldwide community. Ignite CLI is built on top of [Cosmos SDK](https://docs.cosmos.network), the world’s most popular blockchain framework. Ignite CLI accelerates chain development by scaffolding everything you need so you can focus on business logic. ## What is Ignite CLI? diff --git a/docs/docs/kb/01-scaffold-chain.md b/docs/docs/kb/01-scaffold-chain.md index 306d5ecaa4..66695a616d 100644 --- a/docs/docs/kb/01-scaffold-chain.md +++ b/docs/docs/kb/01-scaffold-chain.md @@ -64,7 +64,7 @@ Using the `moonlight` prefix, account addresses on your blockchain look like thi To change the prefix after the blockchain has been scaffolded, modify the `AccountAddressPrefix` in the `app/prefix.go` file. 1. Change the `AccountAddressPrefix` variable in the `/app/prefix.go` file. Be sure to preserve other variables in the file. -2. To recognize the new prefix, change the `VUE_APP_ADDRESS_PREFIX` variable in `/vue/.env`. +2. To recognize the new prefix, change the `VITE_ADDRESS_PREFIX` variable in `/vue/.env`. ## Cosmos SDK version diff --git a/docs/docs/kb/07-frontend.md b/docs/docs/kb/07-frontend.md index 0da2480370..bd2585139c 100644 --- a/docs/docs/kb/07-frontend.md +++ b/docs/docs/kb/07-frontend.md @@ -7,7 +7,7 @@ sidebar_position: 7 A Vue frontend app is created in the `vue` directory when a blockchain is scaffolded. To start the frontend app run `npm i && npm run dev` in the `vue` directory. -The frontend app is built using the `@starport/vue` and `@starport/vuex` packages. For details, see the [monorepo for Ignite CLI front-end development](https://github.com/ignite-hq/web). +The frontend app is built using the `@starport/vue` and `@starport/vuex` packages. For details, see the [monorepo for Ignite CLI front-end development](https://github.com/ignite/web). ## Client code generation diff --git a/docs/docs/kb/09-docker.md b/docs/docs/kb/09-docker.md index f94ed1741d..94d1326a6b 100644 --- a/docs/docs/kb/09-docker.md +++ b/docs/docs/kb/09-docker.md @@ -19,12 +19,12 @@ Docker must be installed. See [Get Started with Docker](https://www.docker.com/g ## Ignite CLI Commands in Docker -After you scaffold and start a chain in your Docker container, all Ignite CLI commands are available. Just type the commands after `docker run -ti ignite/cli`. For example: +After you scaffold and start a chain in your Docker container, all Ignite CLI commands are available. Just type the commands after `docker run -ti ignitehq/cli`. For example: ```bash -docker run -ti ignite/cli -h -docker run -ti ignite/cli scaffold chain github.com/test/planet -docker run -ti ignite/cli chain serve +docker run -ti ignitehq/cli -h +docker run -ti ignitehq/cli scaffold chain github.com/test/planet +docker run -ti ignitehq/cli chain serve ``` ## Scaffolding a chain @@ -34,12 +34,12 @@ When Docker is installed, you can build a blockchain with a single command. To scaffold a blockchain `planet` in the `/apps` directory in the container, run this command in a terminal window: ```bash -docker run -ti -w /app -v $HOME/sdh:/home/tendermint -v $PWD:/app ignite/cli:0.16.0 app github.com/hello/planet +docker run -ti -w /app -v $HOME/sdh:/home/tendermint -v $PWD:/app ignitehq/cli:0.16.0 app github.com/hello/planet ``` Be patient, this command takes a minute or two to run because it does everything for you: -- Creates a container that runs from the `ignite/cli:0.16.0` image. +- Creates a container that runs from the `ignitehq/cli:0.16.0` image. - Executes the Ignite CLI binary inside the image. - `-w /apps` sets the current directory in the container to `/app` - `-v $HOME/sdh:/home/tendermint` maps the `$HOME/sdh` directory in your local computer (the host machine) to the home directory `/home/tendermint` inside the container. Ignite CLI, and the chains you serve with Ignite CLI, persist some files. @@ -54,7 +54,7 @@ Be patient, this command takes a minute or two to run because it does everything To start the blockchain node in the Docker container you just created, run this command: ```bash -docker run -ti -v $HOME/sdh:/home/tendermint -v $PWD:/apps -p 1317:1317 -p 26657:26657 ignite/cli:0.16.0 serve -p planet +docker run -ti -v $HOME/sdh:/home/tendermint -v $PWD:/apps -p 1317:1317 -p 26657:26657 ignitehq/cli:0.16.0 serve -p planet ``` This command does the following: @@ -73,22 +73,22 @@ You can specify which version of Ignite CLI to install and run in your Docker co ### Latest version -- By default, `ignite/cli` resolves to `ignite/cli:latest`. -- The `latest` image tag is always the latest stable [Ignite CLI release](https://github.com/ignite-hq/cli/releases). +- By default, `ignitehq/cli` resolves to `ignitehq/cli:latest`. +- The `latest` image tag is always the latest stable [Ignite CLI release](https://github.com/ignite/cli/releases). -For example, if latest release is [v0.15.1](https://github.com/ignite-hq/cli/releases/tag/v0.19.2), the `latest` tag points to the `0.19.2` tag. +For example, if latest release is [v0.15.1](https://github.com/ignite/cli/releases/tag/v0.19.2), the `latest` tag points to the `0.19.2` tag. ### Specific version -You can specify to use a specific version of Ignite CLI. All available tags are in the [ignite/cli image](https://hub.docker.com/repository/docker/ignite/cli/tags?page=1&ordering=last_updated) on Docker Hub. +You can specify to use a specific version of Ignite CLI. All available tags are in the [ignitehq/cli image](https://hub.docker.com/repository/docker/ignite/cli/tags?page=1&ordering=last_updated) on Docker Hub. For example: -- Use `ignite/cli:0.19.2` (without the `v` prefix) to use version 0.15.1. -- Use `ignite/cli:develop` to use the `develop` branch so you can experiment with the next version. +- Use `ignitehq/cli:0.19.2` (without the `v` prefix) to use version 0.15.1. +- Use `ignitehq/cli:develop` to use the `develop` branch so you can experiment with the next version. To get the latest image, run `docker pull`. ```bash -docker pull ignite/cli:develop +docker pull ignitehq/cli:develop ``` diff --git a/docs/docs/migration/v0.22.0.md b/docs/docs/migration/v0.22.0.md index c6939cd243..db2b738284 100644 --- a/docs/docs/migration/v0.22.0.md +++ b/docs/docs/migration/v0.22.0.md @@ -6,7 +6,7 @@ description: For chains that were scaffolded with Ignite CLI versions lower than # Upgrading a blockchain to use Ignite CLI v0.22.0 -1. Open your `go.mod` and change the Ignite CLI line with `github.com/ignite-hq/cli v0.22.0` +1. Open your `go.mod` and change the Ignite CLI line with `github.com/ignite/cli v0.22.0` 2. Upgrade your IBC version to [v3](https://github.com/cosmos/ibc-go/releases/tag/v3.0.0). diff --git a/docs/docusaurus.config.js b/docs/docusaurus.config.js index 85fdf5a862..a81aa808c6 100644 --- a/docs/docusaurus.config.js +++ b/docs/docusaurus.config.js @@ -72,14 +72,8 @@ const config = { srcDark: "img/header-logo-docs-dark.svg", }, items: [ - // { - // type: "doc", - // docId: "index", - // position: "left", - // label: "Docs", - // }, { - href: "https://github.com/ignite-hq/cli", + href: "https://github.com/ignite/cli", html: ` @@ -204,14 +198,14 @@ const config = { theme: lightCodeTheme, darkTheme: darkCodeTheme, }, - // algolia: { - // appId: "YOUR_APP_ID", - // apiKey: "YOUR_SEARCH_API_KEY", - // indexName: "YOUR_INDEX_NAME", - // }, + algolia: { + appId: "VVETP7QCVE", + apiKey: "a9c466699c13052d35581030138f9fdc", + indexName: "ignite-cli", + contextualSearch: false, + }, }), plugins: [ - require.resolve("@cmfcmf/docusaurus-search-local"), async function myPlugin(context, options) { return { name: "docusaurus-tailwindcss", diff --git a/docs/package-lock.json b/docs/package-lock.json index 262ea3b974..3567cdd7c8 100644 --- a/docs/package-lock.json +++ b/docs/package-lock.json @@ -8,7 +8,6 @@ "name": "my-website", "version": "0.0.0", "dependencies": { - "@cmfcmf/docusaurus-search-local": "^0.10.0", "@docusaurus/core": "2.0.0-beta.20", "@docusaurus/preset-classic": "2.0.0-beta.20", "@mdx-js/react": "^1.6.22", @@ -33,46 +32,6 @@ "@algolia/autocomplete-shared": "1.5.2" } }, - "node_modules/@algolia/autocomplete-js": { - "version": "1.6.3", - "resolved": "https://registry.npmjs.org/@algolia/autocomplete-js/-/autocomplete-js-1.6.3.tgz", - "integrity": "sha512-WgzufbwaAU6owis5NK/02q21zPyUW5lji+KRr1zgJffxW8nX5SGZ8OWmv73J187klwURHymxqsBEV4fdj0LDuw==", - "dependencies": { - "@algolia/autocomplete-core": "1.6.3", - "@algolia/autocomplete-preset-algolia": "1.6.3", - "@algolia/autocomplete-shared": "1.6.3", - "htm": "^3.0.0", - "preact": "^10.0.0" - }, - "peerDependencies": { - "@algolia/client-search": "^4.5.1" - } - }, - "node_modules/@algolia/autocomplete-js/node_modules/@algolia/autocomplete-core": { - "version": "1.6.3", - "resolved": "https://registry.npmjs.org/@algolia/autocomplete-core/-/autocomplete-core-1.6.3.tgz", - "integrity": "sha512-dqQqRt01fX3YuVFrkceHsoCnzX0bLhrrg8itJI1NM68KjrPYQPYsE+kY8EZTCM4y8VDnhqJErR73xe/ZsV+qAA==", - "dependencies": { - "@algolia/autocomplete-shared": "1.6.3" - } - }, - "node_modules/@algolia/autocomplete-js/node_modules/@algolia/autocomplete-preset-algolia": { - "version": "1.6.3", - "resolved": "https://registry.npmjs.org/@algolia/autocomplete-preset-algolia/-/autocomplete-preset-algolia-1.6.3.tgz", - "integrity": "sha512-IJVyknSDZJRheE5sKffRJN7ukJJDAtvuKiHrk0VLZCJHR/o7XQkowu/6axhUIBRZ6Q2JFzV9hzYZ0PbtSJo9gA==", - "dependencies": { - "@algolia/autocomplete-shared": "1.6.3" - }, - "peerDependencies": { - "@algolia/client-search": "^4.9.1", - "algoliasearch": "^4.9.1" - } - }, - "node_modules/@algolia/autocomplete-js/node_modules/@algolia/autocomplete-shared": { - "version": "1.6.3", - "resolved": "https://registry.npmjs.org/@algolia/autocomplete-shared/-/autocomplete-shared-1.6.3.tgz", - "integrity": "sha512-UV46bnkTztyADFaETfzFC5ryIdGVb2zpAoYgu0tfcuYWjhg1KbLXveFffZIrGVoboqmAk1b+jMrl6iCja1i3lg==" - }, "node_modules/@algolia/autocomplete-preset-algolia": { "version": "1.5.2", "resolved": "https://registry.npmjs.org/@algolia/autocomplete-preset-algolia/-/autocomplete-preset-algolia-1.5.2.tgz", @@ -90,11 +49,6 @@ "resolved": "https://registry.npmjs.org/@algolia/autocomplete-shared/-/autocomplete-shared-1.5.2.tgz", "integrity": "sha512-ylQAYv5H0YKMfHgVWX0j0NmL8XBcAeeeVQUmppnnMtzDbDnca6CzhKj3Q8eF9cHCgcdTDdb5K+3aKyGWA0obug==" }, - "node_modules/@algolia/autocomplete-theme-classic": { - "version": "1.6.3", - "resolved": "https://registry.npmjs.org/@algolia/autocomplete-theme-classic/-/autocomplete-theme-classic-1.6.3.tgz", - "integrity": "sha512-TGtErtYlhDa/88jCzmYK2uvPEKEDs073Uj11BAN3W+yrrpDMEjcGXvOFbUGR9Gb+nxlCznM9wK2/j8932DAXXw==" - }, "node_modules/@algolia/cache-browser-local-storage": { "version": "4.13.0", "resolved": "https://registry.npmjs.org/@algolia/cache-browser-local-storage/-/cache-browser-local-storage-4.13.0.tgz", @@ -1920,30 +1874,6 @@ "node": ">=6.9.0" } }, - "node_modules/@cmfcmf/docusaurus-search-local": { - "version": "0.10.0", - "resolved": "https://registry.npmjs.org/@cmfcmf/docusaurus-search-local/-/docusaurus-search-local-0.10.0.tgz", - "integrity": "sha512-X6xabJvvbbgrqgkYUUHSER5kswonKRZatNDJmZTsNiCxFKCephbDL1Kui6QLN6jmorPNWSupj7aMSP3HObHnUg==", - "dependencies": { - "@algolia/autocomplete-js": "^1.5.1", - "@algolia/autocomplete-theme-classic": "^1.5.1", - "@algolia/client-search": "^4.12.0", - "algoliasearch": "^4.12.0", - "cheerio": "^1.0.0-rc.9", - "clsx": "^1.1.1", - "lunr-languages": "^1.4.0", - "mark.js": "^8.11.1" - }, - "peerDependencies": { - "@docusaurus/core": "^v2.0.0-beta.15", - "nodejieba": "^2.5.0" - }, - "peerDependenciesMeta": { - "nodejieba": { - "optional": true - } - } - }, "node_modules/@colors/colors": { "version": "1.5.0", "resolved": "https://registry.npmjs.org/@colors/colors/-/colors-1.5.0.tgz", @@ -6905,11 +6835,6 @@ "safe-buffer": "~5.1.0" } }, - "node_modules/htm": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/htm/-/htm-3.1.1.tgz", - "integrity": "sha512-983Vyg8NwUE7JkZ6NmOqpCZ+sh1bKv2iYTlUkzlWmA5JD2acKoxd4KVxbMmxX/85mtfdnDmTFoNKcg5DGAvxNQ==" - }, "node_modules/html-entities": { "version": "2.3.3", "resolved": "https://registry.npmjs.org/html-entities/-/html-entities-2.3.3.tgz", @@ -7894,11 +7819,6 @@ "node": ">=10" } }, - "node_modules/lunr-languages": { - "version": "1.9.0", - "resolved": "https://registry.npmjs.org/lunr-languages/-/lunr-languages-1.9.0.tgz", - "integrity": "sha512-Be5vFuc8NAheOIjviCRms3ZqFFBlzns3u9DXpPSZvALetgnydAN0poV71pVLFn0keYy/s4VblMMkqewTLe+KPg==" - }, "node_modules/make-dir": { "version": "3.1.0", "resolved": "https://registry.npmjs.org/make-dir/-/make-dir-3.1.0.tgz", @@ -7921,11 +7841,6 @@ "semver": "bin/semver.js" } }, - "node_modules/mark.js": { - "version": "8.11.1", - "resolved": "https://registry.npmjs.org/mark.js/-/mark.js-8.11.1.tgz", - "integrity": "sha512-1I+1qpDt4idfgLQG+BNWmrqku+7/2bi5nLf4YwF8y8zXvmfiTBY3PV3ZibfrjBueCByROpuBjLLFCajqkgYoLQ==" - }, "node_modules/markdown-escapes": { "version": "1.0.4", "resolved": "https://registry.npmjs.org/markdown-escapes/-/markdown-escapes-1.0.4.tgz", @@ -9429,15 +9344,6 @@ "postcss": "^8.2.15" } }, - "node_modules/preact": { - "version": "10.7.3", - "resolved": "https://registry.npmjs.org/preact/-/preact-10.7.3.tgz", - "integrity": "sha512-giqJXP8VbtA1tyGa3f1n9wiN7PrHtONrDyE3T+ifjr/tTkg+2N4d/6sjC9WyJKv8wM7rOYDveqy5ZoFmYlwo4w==", - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/preact" - } - }, "node_modules/prepend-http": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/prepend-http/-/prepend-http-2.0.0.tgz", @@ -13079,41 +12985,6 @@ "@algolia/autocomplete-shared": "1.5.2" } }, - "@algolia/autocomplete-js": { - "version": "1.6.3", - "resolved": "https://registry.npmjs.org/@algolia/autocomplete-js/-/autocomplete-js-1.6.3.tgz", - "integrity": "sha512-WgzufbwaAU6owis5NK/02q21zPyUW5lji+KRr1zgJffxW8nX5SGZ8OWmv73J187klwURHymxqsBEV4fdj0LDuw==", - "requires": { - "@algolia/autocomplete-core": "1.6.3", - "@algolia/autocomplete-preset-algolia": "1.6.3", - "@algolia/autocomplete-shared": "1.6.3", - "htm": "^3.0.0", - "preact": "^10.0.0" - }, - "dependencies": { - "@algolia/autocomplete-core": { - "version": "1.6.3", - "resolved": "https://registry.npmjs.org/@algolia/autocomplete-core/-/autocomplete-core-1.6.3.tgz", - "integrity": "sha512-dqQqRt01fX3YuVFrkceHsoCnzX0bLhrrg8itJI1NM68KjrPYQPYsE+kY8EZTCM4y8VDnhqJErR73xe/ZsV+qAA==", - "requires": { - "@algolia/autocomplete-shared": "1.6.3" - } - }, - "@algolia/autocomplete-preset-algolia": { - "version": "1.6.3", - "resolved": "https://registry.npmjs.org/@algolia/autocomplete-preset-algolia/-/autocomplete-preset-algolia-1.6.3.tgz", - "integrity": "sha512-IJVyknSDZJRheE5sKffRJN7ukJJDAtvuKiHrk0VLZCJHR/o7XQkowu/6axhUIBRZ6Q2JFzV9hzYZ0PbtSJo9gA==", - "requires": { - "@algolia/autocomplete-shared": "1.6.3" - } - }, - "@algolia/autocomplete-shared": { - "version": "1.6.3", - "resolved": "https://registry.npmjs.org/@algolia/autocomplete-shared/-/autocomplete-shared-1.6.3.tgz", - "integrity": "sha512-UV46bnkTztyADFaETfzFC5ryIdGVb2zpAoYgu0tfcuYWjhg1KbLXveFffZIrGVoboqmAk1b+jMrl6iCja1i3lg==" - } - } - }, "@algolia/autocomplete-preset-algolia": { "version": "1.5.2", "resolved": "https://registry.npmjs.org/@algolia/autocomplete-preset-algolia/-/autocomplete-preset-algolia-1.5.2.tgz", @@ -13127,11 +12998,6 @@ "resolved": "https://registry.npmjs.org/@algolia/autocomplete-shared/-/autocomplete-shared-1.5.2.tgz", "integrity": "sha512-ylQAYv5H0YKMfHgVWX0j0NmL8XBcAeeeVQUmppnnMtzDbDnca6CzhKj3Q8eF9cHCgcdTDdb5K+3aKyGWA0obug==" }, - "@algolia/autocomplete-theme-classic": { - "version": "1.6.3", - "resolved": "https://registry.npmjs.org/@algolia/autocomplete-theme-classic/-/autocomplete-theme-classic-1.6.3.tgz", - "integrity": "sha512-TGtErtYlhDa/88jCzmYK2uvPEKEDs073Uj11BAN3W+yrrpDMEjcGXvOFbUGR9Gb+nxlCznM9wK2/j8932DAXXw==" - }, "@algolia/cache-browser-local-storage": { "version": "4.13.0", "resolved": "https://registry.npmjs.org/@algolia/cache-browser-local-storage/-/cache-browser-local-storage-4.13.0.tgz", @@ -14414,21 +14280,6 @@ "to-fast-properties": "^2.0.0" } }, - "@cmfcmf/docusaurus-search-local": { - "version": "0.10.0", - "resolved": "https://registry.npmjs.org/@cmfcmf/docusaurus-search-local/-/docusaurus-search-local-0.10.0.tgz", - "integrity": "sha512-X6xabJvvbbgrqgkYUUHSER5kswonKRZatNDJmZTsNiCxFKCephbDL1Kui6QLN6jmorPNWSupj7aMSP3HObHnUg==", - "requires": { - "@algolia/autocomplete-js": "^1.5.1", - "@algolia/autocomplete-theme-classic": "^1.5.1", - "@algolia/client-search": "^4.12.0", - "algoliasearch": "^4.12.0", - "cheerio": "^1.0.0-rc.9", - "clsx": "^1.1.1", - "lunr-languages": "^1.4.0", - "mark.js": "^8.11.1" - } - }, "@colors/colors": { "version": "1.5.0", "resolved": "https://registry.npmjs.org/@colors/colors/-/colors-1.5.0.tgz", @@ -18160,11 +18011,6 @@ } } }, - "htm": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/htm/-/htm-3.1.1.tgz", - "integrity": "sha512-983Vyg8NwUE7JkZ6NmOqpCZ+sh1bKv2iYTlUkzlWmA5JD2acKoxd4KVxbMmxX/85mtfdnDmTFoNKcg5DGAvxNQ==" - }, "html-entities": { "version": "2.3.3", "resolved": "https://registry.npmjs.org/html-entities/-/html-entities-2.3.3.tgz", @@ -18863,11 +18709,6 @@ "yallist": "^4.0.0" } }, - "lunr-languages": { - "version": "1.9.0", - "resolved": "https://registry.npmjs.org/lunr-languages/-/lunr-languages-1.9.0.tgz", - "integrity": "sha512-Be5vFuc8NAheOIjviCRms3ZqFFBlzns3u9DXpPSZvALetgnydAN0poV71pVLFn0keYy/s4VblMMkqewTLe+KPg==" - }, "make-dir": { "version": "3.1.0", "resolved": "https://registry.npmjs.org/make-dir/-/make-dir-3.1.0.tgz", @@ -18883,11 +18724,6 @@ } } }, - "mark.js": { - "version": "8.11.1", - "resolved": "https://registry.npmjs.org/mark.js/-/mark.js-8.11.1.tgz", - "integrity": "sha512-1I+1qpDt4idfgLQG+BNWmrqku+7/2bi5nLf4YwF8y8zXvmfiTBY3PV3ZibfrjBueCByROpuBjLLFCajqkgYoLQ==" - }, "markdown-escapes": { "version": "1.0.4", "resolved": "https://registry.npmjs.org/markdown-escapes/-/markdown-escapes-1.0.4.tgz", @@ -19864,11 +19700,6 @@ "integrity": "sha512-fgFMf0OtVSBR1va1JNHYgMxYk73yhn/qb4uQDq1DLGYolz8gHCyr/sesEuGUaYs58E3ZJRcpoGuPVoB7Meiq9A==", "requires": {} }, - "preact": { - "version": "10.7.3", - "resolved": "https://registry.npmjs.org/preact/-/preact-10.7.3.tgz", - "integrity": "sha512-giqJXP8VbtA1tyGa3f1n9wiN7PrHtONrDyE3T+ifjr/tTkg+2N4d/6sjC9WyJKv8wM7rOYDveqy5ZoFmYlwo4w==" - }, "prepend-http": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/prepend-http/-/prepend-http-2.0.0.tgz", diff --git a/docs/package.json b/docs/package.json index 983fe14fb4..d69c06a79b 100644 --- a/docs/package.json +++ b/docs/package.json @@ -14,7 +14,6 @@ "write-heading-ids": "docusaurus write-heading-ids" }, "dependencies": { - "@cmfcmf/docusaurus-search-local": "^0.10.0", "@docusaurus/core": "2.0.0-beta.20", "@docusaurus/preset-classic": "2.0.0-beta.20", "@mdx-js/react": "^1.6.22", diff --git a/docs/sidebars.js b/docs/sidebars.js index 49d71667ca..abab5bceac 100644 --- a/docs/sidebars.js +++ b/docs/sidebars.js @@ -25,7 +25,7 @@ const sidebars = { { type: "link", label: "Ignite CLI on Github", - href: "https://github.com/ignite-hq/cli", + href: "https://github.com/ignite/cli", }, { type: "link", diff --git a/docs/src/css/base.css b/docs/src/css/base.css index 1327267612..0e90887009 100644 --- a/docs/src/css/base.css +++ b/docs/src/css/base.css @@ -25,5 +25,4 @@ svg { display: inline; } ::selection{} - } \ No newline at end of file diff --git a/docs/src/css/custom.css b/docs/src/css/custom.css index 9c6016441d..a0844aa4c0 100644 --- a/docs/src/css/custom.css +++ b/docs/src/css/custom.css @@ -6,26 +6,29 @@ /* You can override the default Infima variables here. */ :root { - --ifm-color-primary: #000000; - --ifm-color-primary-dark: #000000; - --ifm-color-primary-darker: #000000; - --ifm-color-primary-darkest: #000000; - --ifm-color-primary-light: #000000; - --ifm-color-primary-lighter: #000000; - --ifm-color-primary-lightest: #000000; + --ifm-color-primary: theme(colors.gray.1000); + --ifm-color-primary-dark: theme(colors.gray.1000); + --ifm-color-primary-darker: theme(colors.gray.1000); + --ifm-color-primary-darkest: theme(colors.gray.1000); + --ifm-color-primary-light: theme(colors.gray.1000); + --ifm-color-primary-lighter: theme(colors.gray.1000); + --ifm-color-primary-lightest: theme(colors.gray.1000); --ifm-code-font-size: 95%; --ifm-breadcrumb-item-background-active: transparent; --ifm-breadcrumb-padding-horizontal:0; --ifm-list-paragraph-margin: 0; - --ifm-spacing-horizontal: 32px; - --ifm-blockquote-border-color: #000000; + --ifm-spacing-horizontal: theme(spacing.7); + --ifm-blockquote-border-color: theme(colors.gray.1000); --ifm-menu-link-padding-vertical: .6rem; - --ifm-background-color: #ffffff; + --ifm-background-color: theme(colors.gray.0); --ifm-footer-link-color: var(--ifm-font-color-base); --ifm-menu-link-sublist-icon: url('~/img/ico-chevron.svg'); --docsearch-searchbox-background: #F7F7F7; + --docsearch-modal-background: theme(colors.card) !important; --ifm-navbar-height: 5.563rem; --ifm-navbar-sidebar-width: 100vw; + --docsearch-highlight-color: theme(colors.fg) !important; + --docsearch-searchbox-shadow: inset 0 0 0 1px var(--docsearch-primary-color); /* temp: local search bar */ --aa-primary-color-rgb: 0,0,0; @@ -40,15 +43,21 @@ /* For readability concerns, you should choose a lighter palette in dark mode. */ html[data-theme='dark'] { - --ifm-color-primary: #ffffff; + --ifm-color-primary: theme(colors.gray.0); --ifm-color-primary-dark: #e6e6e6; --ifm-color-primary-darker: #d9d9d9; --ifm-color-primary-darkest: #b3b3b3; - --ifm-color-primary-light: #ffffff; - --ifm-color-primary-lighter: #ffffff; - --ifm-color-primary-lightest: #ffffff; - --ifm-background-color: #000000; - --docusaurus-highlighted-code-line-bg: rgba(0, 0, 0, 0.3); + --ifm-color-primary-light: theme(colors.gray.0); + --ifm-color-primary-lighter: theme(colors.gray.0); + --ifm-color-primary-lightest: theme(colors.gray.0); + --ifm-background-color: theme(colors.gray.1000); + --docusaurus-highlighted-code-line-bg: theme(colors.inactive); + --docsearch-modal-background: theme(colors.gray.1000) !important; + --docsearch-highlight-color: theme(colors.inactiveLight) !important; + --docsearch-hit-background: theme(colors.lightfg) !important; + --docsearch-searchbox-shadow: inset 0 0 0 1px var(--docsearch-primary-color); + --docsearch-key-gradient: linear-gradient(-26.5deg,#5d5d5d,#3c3c3c) !important; + --docsearch-key-shadow: inset 0 -2px 0 0 #353535,inset 0 0 1px 1px #7a7a7b,0 2px 2px 0 rgba(45, 45, 45, 0.3) !important; } html { @@ -113,64 +122,38 @@ html { .github-icon { @apply hover:opacity-50; } /* SEARCHBAR */ - /* local search */ - .dsla-search-wrapper { @apply m-0; } - .aa-DetachedSearchButton{ - @apply text-inactive rounded-sm h-8 w-8 bg-card border-none; - &:focus { - @apply shadow-[0_0_2px_0_rgba(0,0,0,0.3)] border-link; - } - @media (min-width: 997px){ - @apply w-auto justify-between; - } - } - .aa-DetachedSearchButtonPlaceholder { - @apply hidden; - @media (min-width: 997px){ - @apply block pr-8 pl-3 order-1; - } - } - .aa-DetachedCancelButton:hover { @apply shadow-none text-muted;} - .aa-DetachedSearchButtonIcon {@apply order-2; } - .aa-DetachedOverlay{ @apply max-w-none bg-inactive; } - .aa-Form:focus-within{ - @apply shadow-[0_0_2px_0_rgba(0,0,0,0.3)] border-link; - } - - .aa-DetachedFormContainer {@apply border-0 shadow-none;} - &[data-theme='dark'] .aa-DetachedSearchButtonPlaceholder{@apply text-card;} - &[data-theme='dark'] .aa-DetachedOverlay{ @apply bg-fg; } - &[data-theme='dark'] .aa-DetachedSearchButton{@apply bg-fg;} - &[data-theme='dark'] .aa-DetachedContainer, &[data-theme='dark'] .aa-DetachedContainer .aa-Panel { @apply bg-gray-1000 shadow-inner border border-muted; } - &[data-theme='dark'] .aa-Form{@apply text-gray-0 border-0 bg-fg shadow-none;} - &[data-theme='dark'] .aa-Input {@apply text-gray-0;} - &[data-theme='dark'] .aa-Input::placeholder {@apply text-gray-0;} /* algolia */ - .DocSearch-Button { - @apply text-inactive rounded-sm h-8 w-8 bg-card justify-center mr-3; - @media (min-width: 997px){ - @apply w-auto justify-between; - } - .DocSearch-Search-Icon { + .DocSearch{ + &-Hits mark{ @apply text-docusaurusColorBase; } + &-Button { + @apply text-inactive rounded-sm h-8 w-8 bg-card justify-center mr-3; @media (min-width: 997px){ - @apply hidden; + @apply w-auto justify-between; } - } - .DocSearch-Button-Placeholder { @apply pr-8; } - .DocSearch-Button-Key{ - background: none; - @apply shadow-none bg-transparent border border-inactive text-inactive p-3 text-2 rounded-s h-6 w-6; - } - .DocSearch-Button-Keys, - .DocSearch-Button-Placeholder { - @apply hidden; - @media (min-width: 997px){ - @apply flex; + .DocSearch-Search-Icon { + @media (min-width: 997px){ + @apply hidden; + } + } + .DocSearch-Button-Placeholder { @apply pr-8; } + .DocSearch-Button-Key{ + background: none; + @apply shadow-none bg-transparent border border-inactive text-inactive p-3 text-2 rounded-s h-6 w-6; } - } + .DocSearch-Button-Keys, + .DocSearch-Button-Placeholder { + @apply hidden; + @media (min-width: 997px){ + @apply flex; + } + } + } + &-Search-Icon path { @apply fill-transparent; } + path{ @apply fill-transparent;} + &-Logo path{@apply fill-docusaurusColorBase;} } - .DocSearch-Search-Icon path { @apply fill-transparent; } + .navbar-sidebar{ @apply w-full; &__brand { @apply pb-7 pt-9 px-6 h-auto; } diff --git a/go.mod b/go.mod index 9b8efaf525..30d75ecdf6 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module github.com/ignite-hq/cli +module github.com/ignite/cli go 1.18 @@ -46,7 +46,7 @@ require ( github.com/stretchr/testify v1.7.1 github.com/takuoki/gocase v1.0.0 github.com/tendermint/flutter/v2 v2.0.4 - github.com/tendermint/spn v0.2.1-0.20220609194312-7833ecf4454a + github.com/tendermint/spn v0.2.1-0.20220610090138-44b136f042c4 github.com/tendermint/tendermint v0.34.19 github.com/tendermint/tm-db v0.6.7 github.com/tendermint/vue v0.3.5 diff --git a/go.sum b/go.sum index 71557d8669..c972fa1de2 100644 --- a/go.sum +++ b/go.sum @@ -1473,8 +1473,10 @@ github.com/tendermint/fundraising v0.3.0 h1:VtHfmVlAS93MUDlt6Em21l3taw6s9kLY/w8C github.com/tendermint/fundraising v0.3.0/go.mod h1:oJFZUZ/GsACtkYeWScKpHLdqMUThNWpMAi/G47LJUi4= github.com/tendermint/go-amino v0.16.0 h1:GyhmgQKvqF82e2oZeuMSp9JTN0N09emoSZlb2lyGa2E= github.com/tendermint/go-amino v0.16.0/go.mod h1:TQU0M1i/ImAo+tYpZi73AU3V/dKeCoMC9Sphe2ZwGME= -github.com/tendermint/spn v0.2.1-0.20220609194312-7833ecf4454a h1:+xo1H4r/dLkUcx89/jP88TbVQiA40Rcn7yQyPozIj5k= -github.com/tendermint/spn v0.2.1-0.20220609194312-7833ecf4454a/go.mod h1:5w8qNkgtJM24CcMjqTsVOKnSbz+U2fke7bEGzRlcdHA= +github.com/tendermint/spn v0.2.1-0.20220609221013-cb474d30a2ee h1:HHpap3m/opfxZtOWTvEINcOiKv7y2InDchqMY9/bg+k= +github.com/tendermint/spn v0.2.1-0.20220609221013-cb474d30a2ee/go.mod h1:tvqzSApJhs4LUpnpypK8P0rb+53ni11vTyYS9Dmz5Xs= +github.com/tendermint/spn v0.2.1-0.20220610090138-44b136f042c4 h1:ZHWBTbU6zpnw3Xf4zSv2ZqEPuT16SrE2se3A2Lomupw= +github.com/tendermint/spn v0.2.1-0.20220610090138-44b136f042c4/go.mod h1:5Cq9m5DnF3UKtXltEagHom4bNMBByKSLhw5YcFN8cls= github.com/tendermint/tendermint v0.34.14/go.mod h1:FrwVm3TvsVicI9Z7FlucHV6Znfd5KBc/Lpp69cCwtk0= github.com/tendermint/tendermint v0.34.19 h1:y0P1qI5wSa9IRuhKnTDA6IUcOrLi1hXJuALR+R7HFEk= github.com/tendermint/tendermint v0.34.19/go.mod h1:R5+wgIwSxMdKQcmOaeudL0Cjkr3HDkhpcdum6VeU3R4= diff --git a/ignite/chainconfig/config.go b/ignite/chainconfig/config.go index 628dedf4b1..67084e9eba 100644 --- a/ignite/chainconfig/config.go +++ b/ignite/chainconfig/config.go @@ -10,7 +10,7 @@ import ( "github.com/goccy/go-yaml" "github.com/imdario/mergo" - "github.com/ignite-hq/cli/ignite/pkg/xfilepath" + "github.com/ignite/cli/ignite/pkg/xfilepath" ) var ( @@ -25,7 +25,7 @@ var ( // ErrCouldntLocateConfig returned when config.yml cannot be found in the source code. ErrCouldntLocateConfig = errors.New( "could not locate a config.yml in your chain. please follow the link for" + - "how-to: https://github.com/ignite-hq/cli/blob/develop/docs/configure/index.md") + "how-to: https://github.com/ignite/cli/blob/develop/docs/configure/index.md") ) // DefaultConf holds default configuration. diff --git a/ignite/cmd/account.go b/ignite/cmd/account.go index b3891fddbb..57801c0f57 100644 --- a/ignite/cmd/account.go +++ b/ignite/cmd/account.go @@ -6,9 +6,9 @@ import ( "github.com/spf13/cobra" flag "github.com/spf13/pflag" - "github.com/ignite-hq/cli/ignite/pkg/cliui/cliquiz" - "github.com/ignite-hq/cli/ignite/pkg/cliui/entrywriter" - "github.com/ignite-hq/cli/ignite/pkg/cosmosaccount" + "github.com/ignite/cli/ignite/pkg/cliui/cliquiz" + "github.com/ignite/cli/ignite/pkg/cliui/entrywriter" + "github.com/ignite/cli/ignite/pkg/cosmosaccount" ) const ( diff --git a/ignite/cmd/account_create.go b/ignite/cmd/account_create.go index eef0664cc9..176e537dc2 100644 --- a/ignite/cmd/account_create.go +++ b/ignite/cmd/account_create.go @@ -5,7 +5,7 @@ import ( "github.com/spf13/cobra" - "github.com/ignite-hq/cli/ignite/pkg/cosmosaccount" + "github.com/ignite/cli/ignite/pkg/cosmosaccount" ) func NewAccountCreate() *cobra.Command { diff --git a/ignite/cmd/account_delete.go b/ignite/cmd/account_delete.go index 48c2183c1a..f7f7ddb4e6 100644 --- a/ignite/cmd/account_delete.go +++ b/ignite/cmd/account_delete.go @@ -5,7 +5,7 @@ import ( "github.com/spf13/cobra" - "github.com/ignite-hq/cli/ignite/pkg/cosmosaccount" + "github.com/ignite/cli/ignite/pkg/cosmosaccount" ) func NewAccountDelete() *cobra.Command { diff --git a/ignite/cmd/account_export.go b/ignite/cmd/account_export.go index 8007d41da3..2484af4b01 100644 --- a/ignite/cmd/account_export.go +++ b/ignite/cmd/account_export.go @@ -7,7 +7,7 @@ import ( "github.com/spf13/cobra" - "github.com/ignite-hq/cli/ignite/pkg/cosmosaccount" + "github.com/ignite/cli/ignite/pkg/cosmosaccount" ) func NewAccountExport() *cobra.Command { diff --git a/ignite/cmd/account_import.go b/ignite/cmd/account_import.go index d990ee2295..78e67e3e06 100644 --- a/ignite/cmd/account_import.go +++ b/ignite/cmd/account_import.go @@ -8,8 +8,8 @@ import ( "github.com/cosmos/go-bip39" "github.com/spf13/cobra" - "github.com/ignite-hq/cli/ignite/pkg/cliui/cliquiz" - "github.com/ignite-hq/cli/ignite/pkg/cosmosaccount" + "github.com/ignite/cli/ignite/pkg/cliui/cliquiz" + "github.com/ignite/cli/ignite/pkg/cosmosaccount" ) const flagSecret = "secret" diff --git a/ignite/cmd/account_list.go b/ignite/cmd/account_list.go index d911db8ba4..b236c8575a 100644 --- a/ignite/cmd/account_list.go +++ b/ignite/cmd/account_list.go @@ -3,7 +3,7 @@ package ignitecmd import ( "github.com/spf13/cobra" - "github.com/ignite-hq/cli/ignite/pkg/cosmosaccount" + "github.com/ignite/cli/ignite/pkg/cosmosaccount" ) func NewAccountList() *cobra.Command { diff --git a/ignite/cmd/account_show.go b/ignite/cmd/account_show.go index a8691ca4e0..7d340a41b1 100644 --- a/ignite/cmd/account_show.go +++ b/ignite/cmd/account_show.go @@ -3,7 +3,7 @@ package ignitecmd import ( "github.com/spf13/cobra" - "github.com/ignite-hq/cli/ignite/pkg/cosmosaccount" + "github.com/ignite/cli/ignite/pkg/cosmosaccount" ) func NewAccountShow() *cobra.Command { diff --git a/ignite/cmd/chain_build.go b/ignite/cmd/chain_build.go index 005734e876..7b26d51039 100644 --- a/ignite/cmd/chain_build.go +++ b/ignite/cmd/chain_build.go @@ -6,9 +6,9 @@ import ( "github.com/spf13/cobra" - "github.com/ignite-hq/cli/ignite/pkg/chaincmd" - "github.com/ignite-hq/cli/ignite/pkg/cliui/colors" - "github.com/ignite-hq/cli/ignite/services/chain" + "github.com/ignite/cli/ignite/pkg/chaincmd" + "github.com/ignite/cli/ignite/pkg/cliui/colors" + "github.com/ignite/cli/ignite/services/chain" ) const ( diff --git a/ignite/cmd/chain_faucet.go b/ignite/cmd/chain_faucet.go index 6fea16b993..4484fb12c4 100644 --- a/ignite/cmd/chain_faucet.go +++ b/ignite/cmd/chain_faucet.go @@ -6,8 +6,8 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" "github.com/spf13/cobra" - "github.com/ignite-hq/cli/ignite/pkg/chaincmd" - "github.com/ignite-hq/cli/ignite/services/chain" + "github.com/ignite/cli/ignite/pkg/chaincmd" + "github.com/ignite/cli/ignite/services/chain" ) // NewChainFaucet creates a new faucet command to send coins to accounts. diff --git a/ignite/cmd/chain_init.go b/ignite/cmd/chain_init.go index 27026e2345..a3d6eab3c0 100644 --- a/ignite/cmd/chain_init.go +++ b/ignite/cmd/chain_init.go @@ -5,9 +5,9 @@ import ( "github.com/spf13/cobra" - "github.com/ignite-hq/cli/ignite/pkg/chaincmd" - "github.com/ignite-hq/cli/ignite/pkg/cliui/colors" - "github.com/ignite-hq/cli/ignite/services/chain" + "github.com/ignite/cli/ignite/pkg/chaincmd" + "github.com/ignite/cli/ignite/pkg/cliui/colors" + "github.com/ignite/cli/ignite/services/chain" ) func NewChainInit() *cobra.Command { diff --git a/ignite/cmd/chain_serve.go b/ignite/cmd/chain_serve.go index 9b8bfcd8ed..0fa4b10fa2 100644 --- a/ignite/cmd/chain_serve.go +++ b/ignite/cmd/chain_serve.go @@ -3,7 +3,7 @@ package ignitecmd import ( "github.com/spf13/cobra" - "github.com/ignite-hq/cli/ignite/services/chain" + "github.com/ignite/cli/ignite/services/chain" ) const ( diff --git a/ignite/cmd/chain_simulate.go b/ignite/cmd/chain_simulate.go index 610386699f..ed94f9af89 100644 --- a/ignite/cmd/chain_simulate.go +++ b/ignite/cmd/chain_simulate.go @@ -6,7 +6,7 @@ import ( "github.com/cosmos/cosmos-sdk/types/simulation" "github.com/spf13/cobra" - "github.com/ignite-hq/cli/ignite/services/chain" + "github.com/ignite/cli/ignite/services/chain" ) const ( diff --git a/ignite/cmd/cmd.go b/ignite/cmd/cmd.go index b4c66704b1..f5d03ca539 100644 --- a/ignite/cmd/cmd.go +++ b/ignite/cmd/cmd.go @@ -13,17 +13,17 @@ import ( "github.com/spf13/cobra" flag "github.com/spf13/pflag" - "github.com/ignite-hq/cli/ignite/chainconfig" - "github.com/ignite-hq/cli/ignite/pkg/cache" - "github.com/ignite-hq/cli/ignite/pkg/cliui" - "github.com/ignite-hq/cli/ignite/pkg/cosmosaccount" - "github.com/ignite-hq/cli/ignite/pkg/cosmosver" - "github.com/ignite-hq/cli/ignite/pkg/gitpod" - "github.com/ignite-hq/cli/ignite/pkg/goenv" - "github.com/ignite-hq/cli/ignite/pkg/xgenny" - "github.com/ignite-hq/cli/ignite/services/chain" - "github.com/ignite-hq/cli/ignite/services/scaffolder" - "github.com/ignite-hq/cli/ignite/version" + "github.com/ignite/cli/ignite/chainconfig" + "github.com/ignite/cli/ignite/pkg/cache" + "github.com/ignite/cli/ignite/pkg/cliui" + "github.com/ignite/cli/ignite/pkg/cosmosaccount" + "github.com/ignite/cli/ignite/pkg/cosmosver" + "github.com/ignite/cli/ignite/pkg/gitpod" + "github.com/ignite/cli/ignite/pkg/goenv" + "github.com/ignite/cli/ignite/pkg/xgenny" + "github.com/ignite/cli/ignite/services/chain" + "github.com/ignite/cli/ignite/services/scaffolder" + "github.com/ignite/cli/ignite/version" ) const ( diff --git a/ignite/cmd/docs.go b/ignite/cmd/docs.go index a7498f7a3c..2933a5bb70 100644 --- a/ignite/cmd/docs.go +++ b/ignite/cmd/docs.go @@ -3,9 +3,9 @@ package ignitecmd import ( "github.com/spf13/cobra" - "github.com/ignite-hq/cli/docs" - "github.com/ignite-hq/cli/ignite/pkg/localfs" - "github.com/ignite-hq/cli/ignite/pkg/markdownviewer" + "github.com/ignite/cli/docs" + "github.com/ignite/cli/ignite/pkg/localfs" + "github.com/ignite/cli/ignite/pkg/markdownviewer" ) func NewDocs() *cobra.Command { diff --git a/ignite/cmd/generate_dart.go b/ignite/cmd/generate_dart.go index 738023e6b1..334171f6a9 100644 --- a/ignite/cmd/generate_dart.go +++ b/ignite/cmd/generate_dart.go @@ -5,8 +5,8 @@ import ( "github.com/spf13/cobra" - "github.com/ignite-hq/cli/ignite/pkg/cliui/clispinner" - "github.com/ignite-hq/cli/ignite/services/chain" + "github.com/ignite/cli/ignite/pkg/cliui/clispinner" + "github.com/ignite/cli/ignite/services/chain" ) func NewGenerateDart() *cobra.Command { diff --git a/ignite/cmd/generate_go.go b/ignite/cmd/generate_go.go index 0fde4daf4a..a670805d97 100644 --- a/ignite/cmd/generate_go.go +++ b/ignite/cmd/generate_go.go @@ -5,8 +5,8 @@ import ( "github.com/spf13/cobra" - "github.com/ignite-hq/cli/ignite/pkg/cliui/clispinner" - "github.com/ignite-hq/cli/ignite/services/chain" + "github.com/ignite/cli/ignite/pkg/cliui/clispinner" + "github.com/ignite/cli/ignite/services/chain" ) func NewGenerateGo() *cobra.Command { diff --git a/ignite/cmd/generate_openapi.go b/ignite/cmd/generate_openapi.go index 71f35b2904..dce9c05c2c 100644 --- a/ignite/cmd/generate_openapi.go +++ b/ignite/cmd/generate_openapi.go @@ -5,8 +5,8 @@ import ( "github.com/spf13/cobra" - "github.com/ignite-hq/cli/ignite/pkg/cliui/clispinner" - "github.com/ignite-hq/cli/ignite/services/chain" + "github.com/ignite/cli/ignite/pkg/cliui/clispinner" + "github.com/ignite/cli/ignite/services/chain" ) func NewGenerateOpenAPI() *cobra.Command { diff --git a/ignite/cmd/generate_vuex.go b/ignite/cmd/generate_vuex.go index 22b4de430b..6346d22553 100644 --- a/ignite/cmd/generate_vuex.go +++ b/ignite/cmd/generate_vuex.go @@ -5,8 +5,8 @@ import ( "github.com/spf13/cobra" - "github.com/ignite-hq/cli/ignite/pkg/cliui/clispinner" - "github.com/ignite-hq/cli/ignite/services/chain" + "github.com/ignite/cli/ignite/pkg/cliui/clispinner" + "github.com/ignite/cli/ignite/services/chain" ) func NewGenerateVuex() *cobra.Command { diff --git a/ignite/cmd/ignite/main.go b/ignite/cmd/ignite/main.go index 6202207857..2e1df4e361 100644 --- a/ignite/cmd/ignite/main.go +++ b/ignite/cmd/ignite/main.go @@ -6,9 +6,9 @@ import ( "fmt" "os" - ignitecmd "github.com/ignite-hq/cli/ignite/cmd" - "github.com/ignite-hq/cli/ignite/pkg/clictx" - "github.com/ignite-hq/cli/ignite/pkg/validation" + ignitecmd "github.com/ignite/cli/ignite/cmd" + "github.com/ignite/cli/ignite/pkg/clictx" + "github.com/ignite/cli/ignite/pkg/validation" ) func main() { diff --git a/ignite/cmd/network.go b/ignite/cmd/network.go index 250c2f8084..62321f3f11 100644 --- a/ignite/cmd/network.go +++ b/ignite/cmd/network.go @@ -5,13 +5,13 @@ import ( "github.com/spf13/cobra" flag "github.com/spf13/pflag" - "github.com/ignite-hq/cli/ignite/pkg/cosmosaccount" - "github.com/ignite-hq/cli/ignite/pkg/cosmosclient" - "github.com/ignite-hq/cli/ignite/pkg/events" - "github.com/ignite-hq/cli/ignite/pkg/gitpod" - "github.com/ignite-hq/cli/ignite/services/network" - "github.com/ignite-hq/cli/ignite/services/network/networkchain" - "github.com/ignite-hq/cli/ignite/services/network/networktypes" + "github.com/ignite/cli/ignite/pkg/cosmosaccount" + "github.com/ignite/cli/ignite/pkg/cosmosclient" + "github.com/ignite/cli/ignite/pkg/events" + "github.com/ignite/cli/ignite/pkg/gitpod" + "github.com/ignite/cli/ignite/services/network" + "github.com/ignite/cli/ignite/services/network/networkchain" + "github.com/ignite/cli/ignite/services/network/networktypes" ) var ( diff --git a/ignite/cmd/network_campaign_account.go b/ignite/cmd/network_campaign_account.go index 912edd9091..90991d348d 100644 --- a/ignite/cmd/network_campaign_account.go +++ b/ignite/cmd/network_campaign_account.go @@ -1,21 +1,14 @@ package ignitecmd import ( - "context" - "strconv" - "github.com/spf13/cobra" - "golang.org/x/sync/errgroup" - "github.com/ignite-hq/cli/ignite/pkg/cliui" - "github.com/ignite-hq/cli/ignite/pkg/cliui/icons" - "github.com/ignite-hq/cli/ignite/services/network" - "github.com/ignite-hq/cli/ignite/services/network/networktypes" + "github.com/ignite/cli/ignite/pkg/cliui" + "github.com/ignite/cli/ignite/pkg/cliui/icons" ) var ( campaignMainnetsAccSummaryHeader = []string{"Mainnet Account", "Shares"} - campaignVestingAccSummaryHeader = []string{"Vesting Account", "Total Shares", "Vesting", "End Time"} ) // NewNetworkCampaignAccount creates a new campaign account command that holds some other @@ -55,12 +48,12 @@ func newNetworkCampaignAccountListHandler(cmd *cobra.Command, args []string) err } // get all campaign accounts - mainnetAccs, vestingAccs, err := getAccounts(cmd.Context(), n, campaignID) + mainnetAccs, err := n.MainnetAccounts(cmd.Context(), campaignID) if err != nil { return err } - if len(mainnetAccs)+len(vestingAccs) == 0 { + if len(mainnetAccs) == 0 { session.StopSpinner() return session.Printf("%s %s\n", icons.Info, "no campaign account found") } @@ -69,15 +62,6 @@ func newNetworkCampaignAccountListHandler(cmd *cobra.Command, args []string) err for _, acc := range mainnetAccs { mainnetAccEntries = append(mainnetAccEntries, []string{acc.Address, acc.Shares.String()}) } - mainnetVestingAccEntries := make([][]string, 0) - for _, acc := range vestingAccs { - mainnetVestingAccEntries = append(mainnetVestingAccEntries, []string{ - acc.Address, - acc.TotalShares.String(), - acc.Vesting.String(), - strconv.FormatInt(acc.EndTime, 10), - }) - } session.StopSpinner() if len(mainnetAccEntries) > 0 { @@ -85,42 +69,6 @@ func newNetworkCampaignAccountListHandler(cmd *cobra.Command, args []string) err return err } } - if len(mainnetVestingAccEntries) > 0 { - if err = session.PrintTable(campaignVestingAccSummaryHeader, mainnetVestingAccEntries...); err != nil { - return err - } - } return nil } - -// getAccounts get all campaign mainnet and vesting accounts. -func getAccounts( - ctx context.Context, - n network.Network, - campaignID uint64, -) ( - []networktypes.MainnetAccount, - []networktypes.MainnetVestingAccount, - error, -) { - // start serving components. - g, ctx := errgroup.WithContext(ctx) - var ( - mainnetAccs []networktypes.MainnetAccount - vestingAccs []networktypes.MainnetVestingAccount - err error - ) - // get all campaign mainnet accounts - g.Go(func() error { - mainnetAccs, err = n.MainnetAccounts(ctx, campaignID) - return err - }) - - // get all campaign vesting accounts - g.Go(func() error { - vestingAccs, err = n.MainnetVestingAccounts(ctx, campaignID) - return err - }) - return mainnetAccs, vestingAccs, g.Wait() -} diff --git a/ignite/cmd/network_campaign_list.go b/ignite/cmd/network_campaign_list.go index 00a43f4891..f19bf904bf 100644 --- a/ignite/cmd/network_campaign_list.go +++ b/ignite/cmd/network_campaign_list.go @@ -5,9 +5,9 @@ import ( "github.com/spf13/cobra" - "github.com/ignite-hq/cli/ignite/pkg/cliui" - "github.com/ignite-hq/cli/ignite/pkg/cliui/entrywriter" - "github.com/ignite-hq/cli/ignite/services/network/networktypes" + "github.com/ignite/cli/ignite/pkg/cliui" + "github.com/ignite/cli/ignite/pkg/cliui/entrywriter" + "github.com/ignite/cli/ignite/services/network/networktypes" ) var CampaignSummaryHeader = []string{ diff --git a/ignite/cmd/network_campaign_publish.go b/ignite/cmd/network_campaign_publish.go index 6ac279d47f..594ca2d191 100644 --- a/ignite/cmd/network_campaign_publish.go +++ b/ignite/cmd/network_campaign_publish.go @@ -4,8 +4,8 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" "github.com/spf13/cobra" - "github.com/ignite-hq/cli/ignite/pkg/cliui" - "github.com/ignite-hq/cli/ignite/pkg/cliui/icons" + "github.com/ignite/cli/ignite/pkg/cliui" + "github.com/ignite/cli/ignite/pkg/cliui/icons" ) const ( diff --git a/ignite/cmd/network_campaign_show.go b/ignite/cmd/network_campaign_show.go index b725be7d1e..dd7445e4a0 100644 --- a/ignite/cmd/network_campaign_show.go +++ b/ignite/cmd/network_campaign_show.go @@ -3,9 +3,9 @@ package ignitecmd import ( "github.com/spf13/cobra" - "github.com/ignite-hq/cli/ignite/pkg/cliui" - "github.com/ignite-hq/cli/ignite/pkg/yaml" - "github.com/ignite-hq/cli/ignite/services/network" + "github.com/ignite/cli/ignite/pkg/cliui" + "github.com/ignite/cli/ignite/pkg/yaml" + "github.com/ignite/cli/ignite/services/network" ) // NewNetworkCampaignShow returns a new command to show published campaign on Ignite diff --git a/ignite/cmd/network_campaign_update.go b/ignite/cmd/network_campaign_update.go index 3d238725a7..7734bc03df 100644 --- a/ignite/cmd/network_campaign_update.go +++ b/ignite/cmd/network_campaign_update.go @@ -7,9 +7,9 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" "github.com/spf13/cobra" - "github.com/ignite-hq/cli/ignite/pkg/cliui" - "github.com/ignite-hq/cli/ignite/pkg/yaml" - "github.com/ignite-hq/cli/ignite/services/network" + "github.com/ignite/cli/ignite/pkg/cliui" + "github.com/ignite/cli/ignite/pkg/yaml" + "github.com/ignite/cli/ignite/services/network" ) const ( diff --git a/ignite/cmd/network_chain_init.go b/ignite/cmd/network_chain_init.go index 336954de85..f4237ef5d3 100644 --- a/ignite/cmd/network_chain_init.go +++ b/ignite/cmd/network_chain_init.go @@ -5,14 +5,14 @@ import ( "github.com/spf13/cobra" - "github.com/ignite-hq/cli/ignite/pkg/cliui" - "github.com/ignite-hq/cli/ignite/pkg/cliui/cliquiz" - "github.com/ignite-hq/cli/ignite/pkg/cliui/icons" - "github.com/ignite-hq/cli/ignite/pkg/cosmosaccount" - "github.com/ignite-hq/cli/ignite/pkg/cosmosutil" - "github.com/ignite-hq/cli/ignite/services/chain" - "github.com/ignite-hq/cli/ignite/services/network" - "github.com/ignite-hq/cli/ignite/services/network/networkchain" + "github.com/ignite/cli/ignite/pkg/cliui" + "github.com/ignite/cli/ignite/pkg/cliui/cliquiz" + "github.com/ignite/cli/ignite/pkg/cliui/icons" + "github.com/ignite/cli/ignite/pkg/cosmosaccount" + "github.com/ignite/cli/ignite/pkg/cosmosutil" + "github.com/ignite/cli/ignite/services/chain" + "github.com/ignite/cli/ignite/services/network" + "github.com/ignite/cli/ignite/services/network/networkchain" ) const ( diff --git a/ignite/cmd/network_chain_install.go b/ignite/cmd/network_chain_install.go index 90aea0f487..2ffaaf4317 100644 --- a/ignite/cmd/network_chain_install.go +++ b/ignite/cmd/network_chain_install.go @@ -5,12 +5,12 @@ import ( "github.com/spf13/cobra" - "github.com/ignite-hq/cli/ignite/pkg/cliui" - "github.com/ignite-hq/cli/ignite/pkg/cliui/colors" - "github.com/ignite-hq/cli/ignite/pkg/cliui/icons" - "github.com/ignite-hq/cli/ignite/pkg/goenv" - "github.com/ignite-hq/cli/ignite/services/network" - "github.com/ignite-hq/cli/ignite/services/network/networkchain" + "github.com/ignite/cli/ignite/pkg/cliui" + "github.com/ignite/cli/ignite/pkg/cliui/colors" + "github.com/ignite/cli/ignite/pkg/cliui/icons" + "github.com/ignite/cli/ignite/pkg/goenv" + "github.com/ignite/cli/ignite/services/network" + "github.com/ignite/cli/ignite/services/network/networkchain" ) // NewNetworkChainInstall returns a new command to install a chain's binary by the launch id. diff --git a/ignite/cmd/network_chain_join.go b/ignite/cmd/network_chain_join.go index 313675be66..abbeccb12c 100644 --- a/ignite/cmd/network_chain_join.go +++ b/ignite/cmd/network_chain_join.go @@ -9,13 +9,13 @@ import ( "github.com/rdegges/go-ipify" "github.com/spf13/cobra" - "github.com/ignite-hq/cli/ignite/pkg/cliui" - "github.com/ignite-hq/cli/ignite/pkg/cliui/cliquiz" - "github.com/ignite-hq/cli/ignite/pkg/cliui/icons" - "github.com/ignite-hq/cli/ignite/pkg/gitpod" - "github.com/ignite-hq/cli/ignite/pkg/xchisel" - "github.com/ignite-hq/cli/ignite/services/network" - "github.com/ignite-hq/cli/ignite/services/network/networkchain" + "github.com/ignite/cli/ignite/pkg/cliui" + "github.com/ignite/cli/ignite/pkg/cliui/cliquiz" + "github.com/ignite/cli/ignite/pkg/cliui/icons" + "github.com/ignite/cli/ignite/pkg/gitpod" + "github.com/ignite/cli/ignite/pkg/xchisel" + "github.com/ignite/cli/ignite/services/network" + "github.com/ignite/cli/ignite/services/network/networkchain" ) const ( diff --git a/ignite/cmd/network_chain_launch.go b/ignite/cmd/network_chain_launch.go index 038728b09a..566c058f42 100644 --- a/ignite/cmd/network_chain_launch.go +++ b/ignite/cmd/network_chain_launch.go @@ -3,8 +3,8 @@ package ignitecmd import ( "github.com/spf13/cobra" - "github.com/ignite-hq/cli/ignite/pkg/cliui" - "github.com/ignite-hq/cli/ignite/services/network" + "github.com/ignite/cli/ignite/pkg/cliui" + "github.com/ignite/cli/ignite/services/network" ) const ( diff --git a/ignite/cmd/network_chain_list.go b/ignite/cmd/network_chain_list.go index d99c644dbd..21a9c39b1b 100644 --- a/ignite/cmd/network_chain_list.go +++ b/ignite/cmd/network_chain_list.go @@ -5,10 +5,10 @@ import ( "github.com/spf13/cobra" - "github.com/ignite-hq/cli/ignite/pkg/cliui" - "github.com/ignite-hq/cli/ignite/pkg/cliui/entrywriter" - "github.com/ignite-hq/cli/ignite/services/network" - "github.com/ignite-hq/cli/ignite/services/network/networktypes" + "github.com/ignite/cli/ignite/pkg/cliui" + "github.com/ignite/cli/ignite/pkg/cliui/entrywriter" + "github.com/ignite/cli/ignite/services/network" + "github.com/ignite/cli/ignite/services/network/networktypes" ) var LaunchSummaryHeader = []string{"launch ID", "chain ID", "source", "campaign ID", "network", "reward"} diff --git a/ignite/cmd/network_chain_prepare.go b/ignite/cmd/network_chain_prepare.go index 1e237e943b..c170d2c127 100644 --- a/ignite/cmd/network_chain_prepare.go +++ b/ignite/cmd/network_chain_prepare.go @@ -6,12 +6,12 @@ import ( "github.com/spf13/cobra" - "github.com/ignite-hq/cli/ignite/pkg/cliui" - "github.com/ignite-hq/cli/ignite/pkg/cliui/colors" - "github.com/ignite-hq/cli/ignite/pkg/cliui/icons" - "github.com/ignite-hq/cli/ignite/pkg/goenv" - "github.com/ignite-hq/cli/ignite/services/network" - "github.com/ignite-hq/cli/ignite/services/network/networkchain" + "github.com/ignite/cli/ignite/pkg/cliui" + "github.com/ignite/cli/ignite/pkg/cliui/colors" + "github.com/ignite/cli/ignite/pkg/cliui/icons" + "github.com/ignite/cli/ignite/pkg/goenv" + "github.com/ignite/cli/ignite/services/network" + "github.com/ignite/cli/ignite/services/network/networkchain" ) const ( diff --git a/ignite/cmd/network_chain_publish.go b/ignite/cmd/network_chain_publish.go index 58630ebabb..a9d499eb00 100644 --- a/ignite/cmd/network_chain_publish.go +++ b/ignite/cmd/network_chain_publish.go @@ -9,11 +9,11 @@ import ( "github.com/spf13/cobra" "github.com/tendermint/spn/pkg/chainid" - "github.com/ignite-hq/cli/ignite/pkg/cliui" - "github.com/ignite-hq/cli/ignite/pkg/cliui/icons" - "github.com/ignite-hq/cli/ignite/pkg/xurl" - "github.com/ignite-hq/cli/ignite/services/network" - "github.com/ignite-hq/cli/ignite/services/network/networkchain" + "github.com/ignite/cli/ignite/pkg/cliui" + "github.com/ignite/cli/ignite/pkg/cliui/icons" + "github.com/ignite/cli/ignite/pkg/xurl" + "github.com/ignite/cli/ignite/services/network" + "github.com/ignite/cli/ignite/services/network/networkchain" ) const ( diff --git a/ignite/cmd/network_chain_revert_launch.go b/ignite/cmd/network_chain_revert_launch.go index 1d83e304a0..cf83be77d7 100644 --- a/ignite/cmd/network_chain_revert_launch.go +++ b/ignite/cmd/network_chain_revert_launch.go @@ -3,9 +3,9 @@ package ignitecmd import ( "github.com/spf13/cobra" - "github.com/ignite-hq/cli/ignite/pkg/cliui" - "github.com/ignite-hq/cli/ignite/services/network" - "github.com/ignite-hq/cli/ignite/services/network/networkchain" + "github.com/ignite/cli/ignite/pkg/cliui" + "github.com/ignite/cli/ignite/services/network" + "github.com/ignite/cli/ignite/services/network/networkchain" ) // NewNetworkChainRevertLaunch creates a new chain revert launch command diff --git a/ignite/cmd/network_chain_show.go b/ignite/cmd/network_chain_show.go index a8248203ba..c17b09c6eb 100644 --- a/ignite/cmd/network_chain_show.go +++ b/ignite/cmd/network_chain_show.go @@ -3,8 +3,8 @@ package ignitecmd import ( "github.com/spf13/cobra" - "github.com/ignite-hq/cli/ignite/pkg/cliui" - "github.com/ignite-hq/cli/ignite/services/network" + "github.com/ignite/cli/ignite/pkg/cliui" + "github.com/ignite/cli/ignite/services/network" ) const flagOut = "out" diff --git a/ignite/cmd/network_chain_show_accounts.go b/ignite/cmd/network_chain_show_accounts.go index 73028d8331..9487ee5169 100644 --- a/ignite/cmd/network_chain_show_accounts.go +++ b/ignite/cmd/network_chain_show_accounts.go @@ -5,9 +5,9 @@ import ( "github.com/spf13/cobra" - "github.com/ignite-hq/cli/ignite/pkg/cliui" - "github.com/ignite-hq/cli/ignite/pkg/cliui/icons" - "github.com/ignite-hq/cli/ignite/pkg/cosmosutil" + "github.com/ignite/cli/ignite/pkg/cliui" + "github.com/ignite/cli/ignite/pkg/cliui/icons" + "github.com/ignite/cli/ignite/pkg/cosmosutil" ) var ( diff --git a/ignite/cmd/network_chain_show_genesis.go b/ignite/cmd/network_chain_show_genesis.go index 85c6ebe6b3..5b21e472de 100644 --- a/ignite/cmd/network_chain_show_genesis.go +++ b/ignite/cmd/network_chain_show_genesis.go @@ -6,9 +6,9 @@ import ( "github.com/spf13/cobra" - "github.com/ignite-hq/cli/ignite/pkg/cliui" - "github.com/ignite-hq/cli/ignite/pkg/cliui/icons" - "github.com/ignite-hq/cli/ignite/services/network/networkchain" + "github.com/ignite/cli/ignite/pkg/cliui" + "github.com/ignite/cli/ignite/pkg/cliui/icons" + "github.com/ignite/cli/ignite/services/network/networkchain" ) func newNetworkChainShowGenesis() *cobra.Command { diff --git a/ignite/cmd/network_chain_show_info.go b/ignite/cmd/network_chain_show_info.go index 6826a40cc8..f4a9302978 100644 --- a/ignite/cmd/network_chain_show_info.go +++ b/ignite/cmd/network_chain_show_info.go @@ -3,11 +3,11 @@ package ignitecmd import ( "github.com/spf13/cobra" - "github.com/ignite-hq/cli/ignite/pkg/cliui" - "github.com/ignite-hq/cli/ignite/pkg/cosmosutil" - "github.com/ignite-hq/cli/ignite/pkg/yaml" - "github.com/ignite-hq/cli/ignite/services/network" - "github.com/ignite-hq/cli/ignite/services/network/networktypes" + "github.com/ignite/cli/ignite/pkg/cliui" + "github.com/ignite/cli/ignite/pkg/cosmosutil" + "github.com/ignite/cli/ignite/pkg/yaml" + "github.com/ignite/cli/ignite/services/network" + "github.com/ignite/cli/ignite/services/network/networktypes" ) func newNetworkChainShowInfo() *cobra.Command { diff --git a/ignite/cmd/network_chain_show_peers.go b/ignite/cmd/network_chain_show_peers.go index cd99378e31..f9f5a4be92 100644 --- a/ignite/cmd/network_chain_show_peers.go +++ b/ignite/cmd/network_chain_show_peers.go @@ -9,9 +9,9 @@ import ( "github.com/spf13/cobra" - "github.com/ignite-hq/cli/ignite/pkg/cliui" - "github.com/ignite-hq/cli/ignite/pkg/cliui/icons" - "github.com/ignite-hq/cli/ignite/services/network" + "github.com/ignite/cli/ignite/pkg/cliui" + "github.com/ignite/cli/ignite/pkg/cliui/icons" + "github.com/ignite/cli/ignite/services/network" ) func newNetworkChainShowPeers() *cobra.Command { diff --git a/ignite/cmd/network_chain_show_validators.go b/ignite/cmd/network_chain_show_validators.go index 0a1c056f91..45784f5189 100644 --- a/ignite/cmd/network_chain_show_validators.go +++ b/ignite/cmd/network_chain_show_validators.go @@ -3,10 +3,10 @@ package ignitecmd import ( "github.com/spf13/cobra" - "github.com/ignite-hq/cli/ignite/pkg/cliui" - "github.com/ignite-hq/cli/ignite/pkg/cliui/icons" - "github.com/ignite-hq/cli/ignite/pkg/cosmosutil" - "github.com/ignite-hq/cli/ignite/services/network" + "github.com/ignite/cli/ignite/pkg/cliui" + "github.com/ignite/cli/ignite/pkg/cliui/icons" + "github.com/ignite/cli/ignite/pkg/cosmosutil" + "github.com/ignite/cli/ignite/services/network" ) var ( diff --git a/ignite/cmd/network_client_create.go b/ignite/cmd/network_client_create.go index 50ba1838a7..759bdd515b 100644 --- a/ignite/cmd/network_client_create.go +++ b/ignite/cmd/network_client_create.go @@ -3,10 +3,10 @@ package ignitecmd import ( "github.com/spf13/cobra" - "github.com/ignite-hq/cli/ignite/pkg/cliui" - "github.com/ignite-hq/cli/ignite/pkg/cliui/icons" - "github.com/ignite-hq/cli/ignite/pkg/cosmosclient" - "github.com/ignite-hq/cli/ignite/services/network" + "github.com/ignite/cli/ignite/pkg/cliui" + "github.com/ignite/cli/ignite/pkg/cliui/icons" + "github.com/ignite/cli/ignite/pkg/cosmosclient" + "github.com/ignite/cli/ignite/services/network" ) // NewNetworkClientCreate connects the monitoring modules of launched chains with SPN diff --git a/ignite/cmd/network_request_approve.go b/ignite/cmd/network_request_approve.go index e49d37654f..12baae54d9 100644 --- a/ignite/cmd/network_request_approve.go +++ b/ignite/cmd/network_request_approve.go @@ -4,10 +4,10 @@ import ( "github.com/pkg/errors" "github.com/spf13/cobra" - "github.com/ignite-hq/cli/ignite/pkg/cliui" - "github.com/ignite-hq/cli/ignite/pkg/cliui/icons" - "github.com/ignite-hq/cli/ignite/pkg/numbers" - "github.com/ignite-hq/cli/ignite/services/network" + "github.com/ignite/cli/ignite/pkg/cliui" + "github.com/ignite/cli/ignite/pkg/cliui/icons" + "github.com/ignite/cli/ignite/pkg/numbers" + "github.com/ignite/cli/ignite/services/network" ) const ( diff --git a/ignite/cmd/network_request_list.go b/ignite/cmd/network_request_list.go index 55e57eb1e3..fe0b666411 100644 --- a/ignite/cmd/network_request_list.go +++ b/ignite/cmd/network_request_list.go @@ -6,10 +6,10 @@ import ( "github.com/spf13/cobra" launchtypes "github.com/tendermint/spn/x/launch/types" - "github.com/ignite-hq/cli/ignite/pkg/cliui" - "github.com/ignite-hq/cli/ignite/pkg/cosmosutil" - "github.com/ignite-hq/cli/ignite/services/network" - "github.com/ignite-hq/cli/ignite/services/network/networktypes" + "github.com/ignite/cli/ignite/pkg/cliui" + "github.com/ignite/cli/ignite/pkg/cosmosutil" + "github.com/ignite/cli/ignite/services/network" + "github.com/ignite/cli/ignite/services/network/networktypes" ) var requestSummaryHeader = []string{"ID", "Status", "Type", "Content"} diff --git a/ignite/cmd/network_request_reject.go b/ignite/cmd/network_request_reject.go index d996df643f..1a470539d5 100644 --- a/ignite/cmd/network_request_reject.go +++ b/ignite/cmd/network_request_reject.go @@ -3,10 +3,10 @@ package ignitecmd import ( "github.com/spf13/cobra" - "github.com/ignite-hq/cli/ignite/pkg/cliui" - "github.com/ignite-hq/cli/ignite/pkg/cliui/icons" - "github.com/ignite-hq/cli/ignite/pkg/numbers" - "github.com/ignite-hq/cli/ignite/services/network" + "github.com/ignite/cli/ignite/pkg/cliui" + "github.com/ignite/cli/ignite/pkg/cliui/icons" + "github.com/ignite/cli/ignite/pkg/numbers" + "github.com/ignite/cli/ignite/services/network" ) // NewNetworkRequestReject creates a new request reject diff --git a/ignite/cmd/network_request_show.go b/ignite/cmd/network_request_show.go index caed83daff..d66ea058ef 100644 --- a/ignite/cmd/network_request_show.go +++ b/ignite/cmd/network_request_show.go @@ -6,9 +6,9 @@ import ( "github.com/pkg/errors" "github.com/spf13/cobra" - "github.com/ignite-hq/cli/ignite/pkg/cliui" - "github.com/ignite-hq/cli/ignite/pkg/yaml" - "github.com/ignite-hq/cli/ignite/services/network" + "github.com/ignite/cli/ignite/pkg/cliui" + "github.com/ignite/cli/ignite/pkg/yaml" + "github.com/ignite/cli/ignite/services/network" ) // NewNetworkRequestShow creates a new request show command to show diff --git a/ignite/cmd/network_request_verify.go b/ignite/cmd/network_request_verify.go index b85c19b753..0e22746541 100644 --- a/ignite/cmd/network_request_verify.go +++ b/ignite/cmd/network_request_verify.go @@ -6,13 +6,13 @@ import ( "github.com/spf13/cobra" - "github.com/ignite-hq/cli/ignite/pkg/cache" - "github.com/ignite-hq/cli/ignite/pkg/chaincmd" - "github.com/ignite-hq/cli/ignite/pkg/cliui" - "github.com/ignite-hq/cli/ignite/pkg/cliui/icons" - "github.com/ignite-hq/cli/ignite/pkg/numbers" - "github.com/ignite-hq/cli/ignite/services/network" - "github.com/ignite-hq/cli/ignite/services/network/networkchain" + "github.com/ignite/cli/ignite/pkg/cache" + "github.com/ignite/cli/ignite/pkg/chaincmd" + "github.com/ignite/cli/ignite/pkg/cliui" + "github.com/ignite/cli/ignite/pkg/cliui/icons" + "github.com/ignite/cli/ignite/pkg/numbers" + "github.com/ignite/cli/ignite/services/network" + "github.com/ignite/cli/ignite/services/network/networkchain" ) // NewNetworkRequestVerify verify the request and simulate the chain. diff --git a/ignite/cmd/network_reward_set.go b/ignite/cmd/network_reward_set.go index 01cf4ef009..c2bfb21122 100644 --- a/ignite/cmd/network_reward_set.go +++ b/ignite/cmd/network_reward_set.go @@ -7,8 +7,8 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" "github.com/spf13/cobra" - "github.com/ignite-hq/cli/ignite/pkg/cliui" - "github.com/ignite-hq/cli/ignite/services/network" + "github.com/ignite/cli/ignite/pkg/cliui" + "github.com/ignite/cli/ignite/services/network" ) // NewNetworkRewardSet creates a new chain reward set command to diff --git a/ignite/cmd/relayer.go b/ignite/cmd/relayer.go index 93e62cb344..a4725ea146 100644 --- a/ignite/cmd/relayer.go +++ b/ignite/cmd/relayer.go @@ -4,7 +4,7 @@ import ( "github.com/pkg/errors" "github.com/spf13/cobra" - "github.com/ignite-hq/cli/ignite/pkg/cosmosaccount" + "github.com/ignite/cli/ignite/pkg/cosmosaccount" ) // NewRelayer returns a new relayer command. diff --git a/ignite/cmd/relayer_configure.go b/ignite/cmd/relayer_configure.go index 7fbb93ce08..3f8f4ba188 100644 --- a/ignite/cmd/relayer_configure.go +++ b/ignite/cmd/relayer_configure.go @@ -5,12 +5,12 @@ import ( "github.com/pkg/errors" "github.com/spf13/cobra" - "github.com/ignite-hq/cli/ignite/pkg/cliui" - "github.com/ignite-hq/cli/ignite/pkg/cliui/cliquiz" - "github.com/ignite-hq/cli/ignite/pkg/cliui/entrywriter" - "github.com/ignite-hq/cli/ignite/pkg/cosmosaccount" - "github.com/ignite-hq/cli/ignite/pkg/relayer" - relayerconfig "github.com/ignite-hq/cli/ignite/pkg/relayer/config" + "github.com/ignite/cli/ignite/pkg/cliui" + "github.com/ignite/cli/ignite/pkg/cliui/cliquiz" + "github.com/ignite/cli/ignite/pkg/cliui/entrywriter" + "github.com/ignite/cli/ignite/pkg/cosmosaccount" + "github.com/ignite/cli/ignite/pkg/relayer" + relayerconfig "github.com/ignite/cli/ignite/pkg/relayer/config" ) const ( diff --git a/ignite/cmd/relayer_connect.go b/ignite/cmd/relayer_connect.go index d13f15a236..2c7c44f275 100644 --- a/ignite/cmd/relayer_connect.go +++ b/ignite/cmd/relayer_connect.go @@ -7,9 +7,9 @@ import ( "github.com/spf13/cobra" - "github.com/ignite-hq/cli/ignite/pkg/cliui" - "github.com/ignite-hq/cli/ignite/pkg/cosmosaccount" - "github.com/ignite-hq/cli/ignite/pkg/relayer" + "github.com/ignite/cli/ignite/pkg/cliui" + "github.com/ignite/cli/ignite/pkg/cosmosaccount" + "github.com/ignite/cli/ignite/pkg/relayer" ) // NewRelayerConnect returns a new relayer connect command to link all or some relayer paths and start diff --git a/ignite/cmd/scaffold.go b/ignite/cmd/scaffold.go index 465ac7d31f..0fcb16681a 100644 --- a/ignite/cmd/scaffold.go +++ b/ignite/cmd/scaffold.go @@ -8,10 +8,10 @@ import ( "github.com/spf13/cobra" flag "github.com/spf13/pflag" - "github.com/ignite-hq/cli/ignite/pkg/cliui/clispinner" - "github.com/ignite-hq/cli/ignite/pkg/placeholder" - "github.com/ignite-hq/cli/ignite/pkg/xgit" - "github.com/ignite-hq/cli/ignite/services/scaffolder" + "github.com/ignite/cli/ignite/pkg/cliui/clispinner" + "github.com/ignite/cli/ignite/pkg/placeholder" + "github.com/ignite/cli/ignite/pkg/xgit" + "github.com/ignite/cli/ignite/services/scaffolder" ) // flags related to component scaffolding diff --git a/ignite/cmd/scaffold_band.go b/ignite/cmd/scaffold_band.go index 1b58505b7d..20795ba942 100644 --- a/ignite/cmd/scaffold_band.go +++ b/ignite/cmd/scaffold_band.go @@ -6,9 +6,9 @@ import ( "github.com/spf13/cobra" - "github.com/ignite-hq/cli/ignite/pkg/cliui/clispinner" - "github.com/ignite-hq/cli/ignite/pkg/placeholder" - "github.com/ignite-hq/cli/ignite/services/scaffolder" + "github.com/ignite/cli/ignite/pkg/cliui/clispinner" + "github.com/ignite/cli/ignite/pkg/placeholder" + "github.com/ignite/cli/ignite/services/scaffolder" ) // NewScaffoldBandchain creates a new BandChain oracle in the module diff --git a/ignite/cmd/scaffold_chain.go b/ignite/cmd/scaffold_chain.go index 0d7b4da7cd..34422f4523 100644 --- a/ignite/cmd/scaffold_chain.go +++ b/ignite/cmd/scaffold_chain.go @@ -5,9 +5,9 @@ import ( "github.com/spf13/cobra" - "github.com/ignite-hq/cli/ignite/pkg/cliui/clispinner" - "github.com/ignite-hq/cli/ignite/pkg/placeholder" - "github.com/ignite-hq/cli/ignite/services/scaffolder" + "github.com/ignite/cli/ignite/pkg/cliui/clispinner" + "github.com/ignite/cli/ignite/pkg/placeholder" + "github.com/ignite/cli/ignite/services/scaffolder" ) const ( diff --git a/ignite/cmd/scaffold_flutter.go b/ignite/cmd/scaffold_flutter.go index 6dd9b4dba8..1f1a211aac 100644 --- a/ignite/cmd/scaffold_flutter.go +++ b/ignite/cmd/scaffold_flutter.go @@ -5,8 +5,8 @@ import ( "github.com/spf13/cobra" - "github.com/ignite-hq/cli/ignite/pkg/cliui/clispinner" - "github.com/ignite-hq/cli/ignite/services/scaffolder" + "github.com/ignite/cli/ignite/pkg/cliui/clispinner" + "github.com/ignite/cli/ignite/services/scaffolder" ) // NewScaffoldFlutter scaffolds a Flutter app for a chain. diff --git a/ignite/cmd/scaffold_list.go b/ignite/cmd/scaffold_list.go index 84df13a324..bb11773a2c 100644 --- a/ignite/cmd/scaffold_list.go +++ b/ignite/cmd/scaffold_list.go @@ -3,7 +3,7 @@ package ignitecmd import ( "github.com/spf13/cobra" - "github.com/ignite-hq/cli/ignite/services/scaffolder" + "github.com/ignite/cli/ignite/services/scaffolder" ) // NewScaffoldList returns a new command to scaffold a list. diff --git a/ignite/cmd/scaffold_map.go b/ignite/cmd/scaffold_map.go index af0a6d8ec0..7f5707fa68 100644 --- a/ignite/cmd/scaffold_map.go +++ b/ignite/cmd/scaffold_map.go @@ -3,7 +3,7 @@ package ignitecmd import ( "github.com/spf13/cobra" - "github.com/ignite-hq/cli/ignite/services/scaffolder" + "github.com/ignite/cli/ignite/services/scaffolder" ) const ( diff --git a/ignite/cmd/scaffold_message.go b/ignite/cmd/scaffold_message.go index 42a9521248..a47cc6e576 100644 --- a/ignite/cmd/scaffold_message.go +++ b/ignite/cmd/scaffold_message.go @@ -5,9 +5,9 @@ import ( "github.com/spf13/cobra" - "github.com/ignite-hq/cli/ignite/pkg/cliui/clispinner" - "github.com/ignite-hq/cli/ignite/pkg/placeholder" - "github.com/ignite-hq/cli/ignite/services/scaffolder" + "github.com/ignite/cli/ignite/pkg/cliui/clispinner" + "github.com/ignite/cli/ignite/pkg/placeholder" + "github.com/ignite/cli/ignite/services/scaffolder" ) const flagSigner = "signer" diff --git a/ignite/cmd/scaffold_module.go b/ignite/cmd/scaffold_module.go index 77807d40fb..3f80b27818 100644 --- a/ignite/cmd/scaffold_module.go +++ b/ignite/cmd/scaffold_module.go @@ -9,11 +9,11 @@ import ( "github.com/spf13/cobra" - "github.com/ignite-hq/cli/ignite/pkg/cliui/clispinner" - "github.com/ignite-hq/cli/ignite/pkg/placeholder" - "github.com/ignite-hq/cli/ignite/pkg/validation" - "github.com/ignite-hq/cli/ignite/services/scaffolder" - modulecreate "github.com/ignite-hq/cli/ignite/templates/module/create" + "github.com/ignite/cli/ignite/pkg/cliui/clispinner" + "github.com/ignite/cli/ignite/pkg/placeholder" + "github.com/ignite/cli/ignite/pkg/validation" + "github.com/ignite/cli/ignite/services/scaffolder" + modulecreate "github.com/ignite/cli/ignite/templates/module/create" ) const ( @@ -149,7 +149,7 @@ func scaffoldModuleHandler(cmd *cobra.Command, args []string) error { // in previously scaffolded apps gov keeper is defined below the scaffolded module keeper definition // therefore we must warn the user to manually move the definition if it's the case -// https://github.com/ignite-hq/cli/issues/818#issuecomment-865736052 +// https://github.com/ignite/cli/issues/818#issuecomment-865736052 const govWarning = `⚠️ If your app has been scaffolded with Ignite CLI 0.16.x or below Please make sure that your module keeper definition is defined after gov module keeper definition in app/app.go: diff --git a/ignite/cmd/scaffold_mwasm.go b/ignite/cmd/scaffold_mwasm.go index 7be4d92490..d34a776384 100644 --- a/ignite/cmd/scaffold_mwasm.go +++ b/ignite/cmd/scaffold_mwasm.go @@ -5,8 +5,8 @@ import ( "github.com/spf13/cobra" - "github.com/ignite-hq/cli/ignite/pkg/cliui/clispinner" - "github.com/ignite-hq/cli/ignite/pkg/placeholder" + "github.com/ignite/cli/ignite/pkg/cliui/clispinner" + "github.com/ignite/cli/ignite/pkg/placeholder" ) func NewScaffoldWasm() *cobra.Command { diff --git a/ignite/cmd/scaffold_package.go b/ignite/cmd/scaffold_package.go index 03ad79991b..c31f747ee5 100644 --- a/ignite/cmd/scaffold_package.go +++ b/ignite/cmd/scaffold_package.go @@ -6,9 +6,9 @@ import ( "github.com/spf13/cobra" - "github.com/ignite-hq/cli/ignite/pkg/cliui/clispinner" - "github.com/ignite-hq/cli/ignite/pkg/placeholder" - "github.com/ignite-hq/cli/ignite/services/scaffolder" + "github.com/ignite/cli/ignite/pkg/cliui/clispinner" + "github.com/ignite/cli/ignite/pkg/placeholder" + "github.com/ignite/cli/ignite/services/scaffolder" ) const ( diff --git a/ignite/cmd/scaffold_query.go b/ignite/cmd/scaffold_query.go index a752a8fe11..b15f69b2d5 100644 --- a/ignite/cmd/scaffold_query.go +++ b/ignite/cmd/scaffold_query.go @@ -5,8 +5,8 @@ import ( "github.com/spf13/cobra" - "github.com/ignite-hq/cli/ignite/pkg/cliui/clispinner" - "github.com/ignite-hq/cli/ignite/pkg/placeholder" + "github.com/ignite/cli/ignite/pkg/cliui/clispinner" + "github.com/ignite/cli/ignite/pkg/placeholder" ) const ( diff --git a/ignite/cmd/scaffold_single.go b/ignite/cmd/scaffold_single.go index 2e93b1718d..51e2a9ce45 100644 --- a/ignite/cmd/scaffold_single.go +++ b/ignite/cmd/scaffold_single.go @@ -3,7 +3,7 @@ package ignitecmd import ( "github.com/spf13/cobra" - "github.com/ignite-hq/cli/ignite/services/scaffolder" + "github.com/ignite/cli/ignite/services/scaffolder" ) // NewScaffoldSingle returns a new command to scaffold a singleton. diff --git a/ignite/cmd/scaffold_type.go b/ignite/cmd/scaffold_type.go index d060fd740b..46a1b61982 100644 --- a/ignite/cmd/scaffold_type.go +++ b/ignite/cmd/scaffold_type.go @@ -3,7 +3,7 @@ package ignitecmd import ( "github.com/spf13/cobra" - "github.com/ignite-hq/cli/ignite/services/scaffolder" + "github.com/ignite/cli/ignite/services/scaffolder" ) // NewScaffoldType returns a new command to scaffold a type. diff --git a/ignite/cmd/scaffold_vue.go b/ignite/cmd/scaffold_vue.go index 3ab71232e7..9c32645894 100644 --- a/ignite/cmd/scaffold_vue.go +++ b/ignite/cmd/scaffold_vue.go @@ -5,8 +5,8 @@ import ( "github.com/spf13/cobra" - "github.com/ignite-hq/cli/ignite/pkg/cliui/clispinner" - "github.com/ignite-hq/cli/ignite/services/scaffolder" + "github.com/ignite/cli/ignite/pkg/cliui/clispinner" + "github.com/ignite/cli/ignite/services/scaffolder" ) // NewScaffoldVue scaffolds a Vue.js app for a chain. diff --git a/ignite/cmd/tools.go b/ignite/cmd/tools.go index 8a796d3022..df803e60f4 100644 --- a/ignite/cmd/tools.go +++ b/ignite/cmd/tools.go @@ -6,10 +6,10 @@ import ( "github.com/spf13/cobra" - "github.com/ignite-hq/cli/ignite/pkg/cmdrunner" - "github.com/ignite-hq/cli/ignite/pkg/cmdrunner/step" - "github.com/ignite-hq/cli/ignite/pkg/nodetime" - "github.com/ignite-hq/cli/ignite/pkg/protoc" + "github.com/ignite/cli/ignite/pkg/cmdrunner" + "github.com/ignite/cli/ignite/pkg/cmdrunner/step" + "github.com/ignite/cli/ignite/pkg/nodetime" + "github.com/ignite/cli/ignite/pkg/protoc" ) // NewTools returns a command where various tools (binaries) are attached as sub commands diff --git a/ignite/cmd/version.go b/ignite/cmd/version.go index 47371c589b..62e74a2238 100644 --- a/ignite/cmd/version.go +++ b/ignite/cmd/version.go @@ -5,7 +5,7 @@ import ( "github.com/spf13/cobra" - "github.com/ignite-hq/cli/ignite/version" + "github.com/ignite/cli/ignite/version" ) // NewVersion creates a new version command to show the Ignite CLI version. diff --git a/ignite/internal/tools/gen-cli-docs/main.go b/ignite/internal/tools/gen-cli-docs/main.go index 425ee821ce..f153f5a12f 100644 --- a/ignite/internal/tools/gen-cli-docs/main.go +++ b/ignite/internal/tools/gen-cli-docs/main.go @@ -16,7 +16,7 @@ import ( "github.com/spf13/cobra" "github.com/spf13/cobra/doc" - ignitecmd "github.com/ignite-hq/cli/ignite/cmd" + ignitecmd "github.com/ignite/cli/ignite/cmd" ) const head = `--- diff --git a/ignite/pkg/cache/cache_test.go b/ignite/pkg/cache/cache_test.go index e97563faa1..e8643daa78 100644 --- a/ignite/pkg/cache/cache_test.go +++ b/ignite/pkg/cache/cache_test.go @@ -6,7 +6,7 @@ import ( "github.com/stretchr/testify/require" - "github.com/ignite-hq/cli/ignite/pkg/cache" + "github.com/ignite/cli/ignite/pkg/cache" ) type TestStruct struct { diff --git a/ignite/pkg/chaincmd/chaincmd.go b/ignite/pkg/chaincmd/chaincmd.go index 9145caf747..b9df53d33c 100644 --- a/ignite/pkg/chaincmd/chaincmd.go +++ b/ignite/pkg/chaincmd/chaincmd.go @@ -3,8 +3,8 @@ package chaincmd import ( "fmt" - "github.com/ignite-hq/cli/ignite/pkg/cmdrunner/step" - "github.com/ignite-hq/cli/ignite/pkg/cosmosver" + "github.com/ignite/cli/ignite/pkg/cmdrunner/step" + "github.com/ignite/cli/ignite/pkg/cosmosver" ) const ( diff --git a/ignite/pkg/chaincmd/launchpad.go b/ignite/pkg/chaincmd/launchpad.go index 005a9037a6..c0bc4ecbb6 100644 --- a/ignite/pkg/chaincmd/launchpad.go +++ b/ignite/pkg/chaincmd/launchpad.go @@ -1,6 +1,6 @@ package chaincmd -import "github.com/ignite-hq/cli/ignite/pkg/cmdrunner/step" +import "github.com/ignite/cli/ignite/pkg/cmdrunner/step" const ( commandConfig = "config" diff --git a/ignite/pkg/chaincmd/runner/account.go b/ignite/pkg/chaincmd/runner/account.go index f564213fc9..2410678bea 100644 --- a/ignite/pkg/chaincmd/runner/account.go +++ b/ignite/pkg/chaincmd/runner/account.go @@ -9,7 +9,7 @@ import ( "os" "strings" - "github.com/ignite-hq/cli/ignite/pkg/cmdrunner/step" + "github.com/ignite/cli/ignite/pkg/cmdrunner/step" ) var ( diff --git a/ignite/pkg/chaincmd/runner/chain.go b/ignite/pkg/chaincmd/runner/chain.go index 270279bafa..51000c127a 100644 --- a/ignite/pkg/chaincmd/runner/chain.go +++ b/ignite/pkg/chaincmd/runner/chain.go @@ -14,9 +14,9 @@ import ( "github.com/cenkalti/backoff" "github.com/pkg/errors" - "github.com/ignite-hq/cli/ignite/pkg/chaincmd" - "github.com/ignite-hq/cli/ignite/pkg/cmdrunner/step" - "github.com/ignite-hq/cli/ignite/pkg/cosmosver" + "github.com/ignite/cli/ignite/pkg/chaincmd" + "github.com/ignite/cli/ignite/pkg/cmdrunner/step" + "github.com/ignite/cli/ignite/pkg/cosmosver" ) // Start starts the blockchain. diff --git a/ignite/pkg/chaincmd/runner/runner.go b/ignite/pkg/chaincmd/runner/runner.go index 4f604c80d9..dfcfb86d63 100644 --- a/ignite/pkg/chaincmd/runner/runner.go +++ b/ignite/pkg/chaincmd/runner/runner.go @@ -10,11 +10,11 @@ import ( "github.com/ghodss/yaml" "github.com/pkg/errors" - "github.com/ignite-hq/cli/ignite/pkg/chaincmd" - "github.com/ignite-hq/cli/ignite/pkg/cmdrunner" - "github.com/ignite-hq/cli/ignite/pkg/cmdrunner/step" - "github.com/ignite-hq/cli/ignite/pkg/lineprefixer" - "github.com/ignite-hq/cli/ignite/pkg/truncatedbuffer" + "github.com/ignite/cli/ignite/pkg/chaincmd" + "github.com/ignite/cli/ignite/pkg/cmdrunner" + "github.com/ignite/cli/ignite/pkg/cmdrunner/step" + "github.com/ignite/cli/ignite/pkg/lineprefixer" + "github.com/ignite/cli/ignite/pkg/truncatedbuffer" ) // Runner provides a high level access to a blockchain's commands. diff --git a/ignite/pkg/chaincmd/runner/simulate.go b/ignite/pkg/chaincmd/runner/simulate.go index 5a6006dbc3..62fd3cd440 100644 --- a/ignite/pkg/chaincmd/runner/simulate.go +++ b/ignite/pkg/chaincmd/runner/simulate.go @@ -6,7 +6,7 @@ import ( "github.com/cosmos/cosmos-sdk/types/simulation" - "github.com/ignite-hq/cli/ignite/pkg/chaincmd" + "github.com/ignite/cli/ignite/pkg/chaincmd" ) // Simulation run the chain simulation. diff --git a/ignite/pkg/chaincmd/simulate.go b/ignite/pkg/chaincmd/simulate.go index 987faaeca9..df653acfdc 100644 --- a/ignite/pkg/chaincmd/simulate.go +++ b/ignite/pkg/chaincmd/simulate.go @@ -4,8 +4,8 @@ import ( "path/filepath" "strconv" - "github.com/ignite-hq/cli/ignite/pkg/cmdrunner/step" - "github.com/ignite-hq/cli/ignite/pkg/gocmd" + "github.com/ignite/cli/ignite/pkg/cmdrunner/step" + "github.com/ignite/cli/ignite/pkg/gocmd" ) const ( diff --git a/ignite/pkg/cliui/cliui.go b/ignite/pkg/cliui/cliui.go index 39862b6e49..4d7ab266ff 100644 --- a/ignite/pkg/cliui/cliui.go +++ b/ignite/pkg/cliui/cliui.go @@ -8,11 +8,11 @@ import ( "github.com/manifoldco/promptui" - "github.com/ignite-hq/cli/ignite/pkg/cliui/cliquiz" - "github.com/ignite-hq/cli/ignite/pkg/cliui/clispinner" - "github.com/ignite-hq/cli/ignite/pkg/cliui/entrywriter" - "github.com/ignite-hq/cli/ignite/pkg/cliui/icons" - "github.com/ignite-hq/cli/ignite/pkg/events" + "github.com/ignite/cli/ignite/pkg/cliui/cliquiz" + "github.com/ignite/cli/ignite/pkg/cliui/clispinner" + "github.com/ignite/cli/ignite/pkg/cliui/entrywriter" + "github.com/ignite/cli/ignite/pkg/cliui/icons" + "github.com/ignite/cli/ignite/pkg/events" ) // Session controls command line interaction with users. diff --git a/ignite/pkg/cliui/entrywriter/entrywriter.go b/ignite/pkg/cliui/entrywriter/entrywriter.go index d08031044c..c35e0a85b6 100644 --- a/ignite/pkg/cliui/entrywriter/entrywriter.go +++ b/ignite/pkg/cliui/entrywriter/entrywriter.go @@ -7,7 +7,7 @@ import ( "github.com/pkg/errors" - "github.com/ignite-hq/cli/ignite/pkg/xstrings" + "github.com/ignite/cli/ignite/pkg/xstrings" ) const ( diff --git a/ignite/pkg/cliui/entrywriter/entrywriter_test.go b/ignite/pkg/cliui/entrywriter/entrywriter_test.go index b4f55df756..612adf92b3 100644 --- a/ignite/pkg/cliui/entrywriter/entrywriter_test.go +++ b/ignite/pkg/cliui/entrywriter/entrywriter_test.go @@ -7,7 +7,7 @@ import ( "github.com/stretchr/testify/require" - "github.com/ignite-hq/cli/ignite/pkg/cliui/entrywriter" + "github.com/ignite/cli/ignite/pkg/cliui/entrywriter" ) type WriterWithError struct{} diff --git a/ignite/pkg/cmdrunner/cmdrunner.go b/ignite/pkg/cmdrunner/cmdrunner.go index 798a05905b..ed3cfe28b8 100644 --- a/ignite/pkg/cmdrunner/cmdrunner.go +++ b/ignite/pkg/cmdrunner/cmdrunner.go @@ -9,8 +9,8 @@ import ( "golang.org/x/sync/errgroup" - "github.com/ignite-hq/cli/ignite/pkg/cmdrunner/step" - "github.com/ignite-hq/cli/ignite/pkg/goenv" + "github.com/ignite/cli/ignite/pkg/cmdrunner/step" + "github.com/ignite/cli/ignite/pkg/goenv" ) // Runner is an object to run commands diff --git a/ignite/pkg/cmdrunner/exec/exec.go b/ignite/pkg/cmdrunner/exec/exec.go index 51cd60ce79..6246b930d2 100644 --- a/ignite/pkg/cmdrunner/exec/exec.go +++ b/ignite/pkg/cmdrunner/exec/exec.go @@ -10,8 +10,8 @@ import ( "github.com/pkg/errors" - "github.com/ignite-hq/cli/ignite/pkg/cmdrunner" - "github.com/ignite-hq/cli/ignite/pkg/cmdrunner/step" + "github.com/ignite/cli/ignite/pkg/cmdrunner" + "github.com/ignite/cli/ignite/pkg/cmdrunner/step" ) // ExitError is an alias to exec.ExitError diff --git a/ignite/pkg/cosmosanalysis/app/app.go b/ignite/pkg/cosmosanalysis/app/app.go index f43fd3e0b5..ca6258391b 100644 --- a/ignite/pkg/cosmosanalysis/app/app.go +++ b/ignite/pkg/cosmosanalysis/app/app.go @@ -7,8 +7,8 @@ import ( "go/parser" "go/token" - "github.com/ignite-hq/cli/ignite/pkg/cosmosanalysis" - "github.com/ignite-hq/cli/ignite/pkg/goanalysis" + "github.com/ignite/cli/ignite/pkg/cosmosanalysis" + "github.com/ignite/cli/ignite/pkg/goanalysis" ) var appImplementation = []string{ diff --git a/ignite/pkg/cosmosanalysis/app/app_test.go b/ignite/pkg/cosmosanalysis/app/app_test.go index e24b2466cc..1751295b88 100644 --- a/ignite/pkg/cosmosanalysis/app/app_test.go +++ b/ignite/pkg/cosmosanalysis/app/app_test.go @@ -7,7 +7,7 @@ import ( "github.com/stretchr/testify/require" - "github.com/ignite-hq/cli/ignite/pkg/cosmosanalysis/app" + "github.com/ignite/cli/ignite/pkg/cosmosanalysis/app" ) var ( @@ -161,8 +161,8 @@ import ( tmos "github.com/tendermint/tendermint/libs/os" dbm "github.com/tendermint/tm-db" - "github.com/ignite-hq/cli/ignite/pkg/cosmoscmd" - "github.com/ignite-hq/cli/ignite/pkg/openapiconsole" + "github.com/ignite/cli/ignite/pkg/cosmoscmd" + "github.com/ignite/cli/ignite/pkg/openapiconsole" "github.com/tendermint/testchain/docs" diff --git a/ignite/pkg/cosmosanalysis/cosmosanalysis_test.go b/ignite/pkg/cosmosanalysis/cosmosanalysis_test.go index 1c4bdaf165..165472847c 100644 --- a/ignite/pkg/cosmosanalysis/cosmosanalysis_test.go +++ b/ignite/pkg/cosmosanalysis/cosmosanalysis_test.go @@ -7,7 +7,7 @@ import ( "github.com/stretchr/testify/require" - "github.com/ignite-hq/cli/ignite/pkg/cosmosanalysis" + "github.com/ignite/cli/ignite/pkg/cosmosanalysis" ) var ( diff --git a/ignite/pkg/cosmosanalysis/module/module.go b/ignite/pkg/cosmosanalysis/module/module.go index e121954e03..e84a7a7f5e 100644 --- a/ignite/pkg/cosmosanalysis/module/module.go +++ b/ignite/pkg/cosmosanalysis/module/module.go @@ -6,10 +6,10 @@ import ( "path/filepath" "strings" - "github.com/ignite-hq/cli/ignite/pkg/cosmosanalysis" - "github.com/ignite-hq/cli/ignite/pkg/cosmosanalysis/app" - "github.com/ignite-hq/cli/ignite/pkg/gomodule" - "github.com/ignite-hq/cli/ignite/pkg/protoanalysis" + "github.com/ignite/cli/ignite/pkg/cosmosanalysis" + "github.com/ignite/cli/ignite/pkg/cosmosanalysis/app" + "github.com/ignite/cli/ignite/pkg/gomodule" + "github.com/ignite/cli/ignite/pkg/protoanalysis" ) // Msgs is a module import path-sdk msgs pair. diff --git a/ignite/pkg/cosmosanalysis/module/module_test.go b/ignite/pkg/cosmosanalysis/module/module_test.go index b62294445c..bdc27477e2 100644 --- a/ignite/pkg/cosmosanalysis/module/module_test.go +++ b/ignite/pkg/cosmosanalysis/module/module_test.go @@ -6,7 +6,7 @@ import ( "github.com/stretchr/testify/require" - "github.com/ignite-hq/cli/ignite/pkg/protoanalysis" + "github.com/ignite/cli/ignite/pkg/protoanalysis" ) var testModule = Module{ diff --git a/ignite/pkg/cosmosclient/cosmosclient.go b/ignite/pkg/cosmosclient/cosmosclient.go index 4c32f26bf5..00d646745d 100644 --- a/ignite/pkg/cosmosclient/cosmosclient.go +++ b/ignite/pkg/cosmosclient/cosmosclient.go @@ -37,8 +37,8 @@ import ( ctypes "github.com/tendermint/tendermint/rpc/core/types" tmtypes "github.com/tendermint/tendermint/types" - "github.com/ignite-hq/cli/ignite/pkg/cosmosaccount" - "github.com/ignite-hq/cli/ignite/pkg/cosmosfaucet" + "github.com/ignite/cli/ignite/pkg/cosmosaccount" + "github.com/ignite/cli/ignite/pkg/cosmosfaucet" ) // FaucetTransferEnsureDuration is the duration that BroadcastTx will wait when a faucet transfer diff --git a/ignite/pkg/cosmoscmd/proxy.go b/ignite/pkg/cosmoscmd/proxy.go index 3b70080a3b..7cac40f5d8 100644 --- a/ignite/pkg/cosmoscmd/proxy.go +++ b/ignite/pkg/cosmoscmd/proxy.go @@ -8,11 +8,11 @@ import ( "github.com/cosmos/cosmos-sdk/server" "github.com/spf13/cobra" - "github.com/ignite-hq/cli/ignite/pkg/cosmosutil" - "github.com/ignite-hq/cli/ignite/pkg/ctxticker" - "github.com/ignite-hq/cli/ignite/pkg/gitpod" - "github.com/ignite-hq/cli/ignite/pkg/xchisel" - "github.com/ignite-hq/cli/ignite/services/network/networkchain" + "github.com/ignite/cli/ignite/pkg/cosmosutil" + "github.com/ignite/cli/ignite/pkg/ctxticker" + "github.com/ignite/cli/ignite/pkg/gitpod" + "github.com/ignite/cli/ignite/pkg/xchisel" + "github.com/ignite/cli/ignite/services/network/networkchain" ) const TunnelRerunDelay = 5 * time.Second diff --git a/ignite/pkg/cosmosfaucet/cosmosfaucet.go b/ignite/pkg/cosmosfaucet/cosmosfaucet.go index 128d023b2a..8bd98816ff 100644 --- a/ignite/pkg/cosmosfaucet/cosmosfaucet.go +++ b/ignite/pkg/cosmosfaucet/cosmosfaucet.go @@ -7,7 +7,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" - chaincmdrunner "github.com/ignite-hq/cli/ignite/pkg/chaincmd/runner" + chaincmdrunner "github.com/ignite/cli/ignite/pkg/chaincmd/runner" ) const ( diff --git a/ignite/pkg/cosmosfaucet/http.go b/ignite/pkg/cosmosfaucet/http.go index 61c4e44a94..541ef8c0d5 100644 --- a/ignite/pkg/cosmosfaucet/http.go +++ b/ignite/pkg/cosmosfaucet/http.go @@ -6,7 +6,7 @@ import ( "github.com/gorilla/mux" "github.com/rs/cors" - "github.com/ignite-hq/cli/ignite/pkg/openapiconsole" + "github.com/ignite/cli/ignite/pkg/openapiconsole" ) // ServeHTTP implements http.Handler to expose the functionality of Faucet.Transfer() via HTTP. diff --git a/ignite/pkg/cosmosfaucet/http_faucet.go b/ignite/pkg/cosmosfaucet/http_faucet.go index 0b073d5186..ba66b2a555 100644 --- a/ignite/pkg/cosmosfaucet/http_faucet.go +++ b/ignite/pkg/cosmosfaucet/http_faucet.go @@ -7,7 +7,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/ignite-hq/cli/ignite/pkg/xhttp" + "github.com/ignite/cli/ignite/pkg/xhttp" ) type TransferRequest struct { diff --git a/ignite/pkg/cosmosfaucet/openapi/openapi.yml.tmpl b/ignite/pkg/cosmosfaucet/openapi/openapi.yml.tmpl index b23696ee84..bb81778930 100644 --- a/ignite/pkg/cosmosfaucet/openapi/openapi.yml.tmpl +++ b/ignite/pkg/cosmosfaucet/openapi/openapi.yml.tmpl @@ -58,4 +58,4 @@ definitions: externalDocs: description: "Find out more about Starport" - url: "https://github.com/ignite-hq/cli/tree/develop/docs" + url: "https://github.com/ignite/cli/tree/develop/docs" diff --git a/ignite/pkg/cosmosfaucet/transfer.go b/ignite/pkg/cosmosfaucet/transfer.go index 3fc86ce8b1..a84c328f8e 100644 --- a/ignite/pkg/cosmosfaucet/transfer.go +++ b/ignite/pkg/cosmosfaucet/transfer.go @@ -9,7 +9,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" - chaincmdrunner "github.com/ignite-hq/cli/ignite/pkg/chaincmd/runner" + chaincmdrunner "github.com/ignite/cli/ignite/pkg/chaincmd/runner" ) // transferMutex is a mutex used for keeping transfer requests in a queue so checking account balance and sending tokens is atomic diff --git a/ignite/pkg/cosmosgen/cosmosgen.go b/ignite/pkg/cosmosgen/cosmosgen.go index 0437d7b140..0683091083 100644 --- a/ignite/pkg/cosmosgen/cosmosgen.go +++ b/ignite/pkg/cosmosgen/cosmosgen.go @@ -6,9 +6,9 @@ import ( gomodmodule "golang.org/x/mod/module" - "github.com/ignite-hq/cli/ignite/pkg/cache" - "github.com/ignite-hq/cli/ignite/pkg/cosmosanalysis/module" - "github.com/ignite-hq/cli/ignite/pkg/gomodulepath" + "github.com/ignite/cli/ignite/pkg/cache" + "github.com/ignite/cli/ignite/pkg/cosmosanalysis/module" + "github.com/ignite/cli/ignite/pkg/gomodulepath" ) // generateOptions used to configure code generation. diff --git a/ignite/pkg/cosmosgen/cosmosgen_test.go b/ignite/pkg/cosmosgen/cosmosgen_test.go index 7297136893..7000fb9f08 100644 --- a/ignite/pkg/cosmosgen/cosmosgen_test.go +++ b/ignite/pkg/cosmosgen/cosmosgen_test.go @@ -5,8 +5,8 @@ import ( "github.com/stretchr/testify/require" - "github.com/ignite-hq/cli/ignite/pkg/cosmosanalysis/module" - "github.com/ignite-hq/cli/ignite/pkg/protoanalysis" + "github.com/ignite/cli/ignite/pkg/cosmosanalysis/module" + "github.com/ignite/cli/ignite/pkg/protoanalysis" ) func TestVuexStoreModulePath(t *testing.T) { diff --git a/ignite/pkg/cosmosgen/generate.go b/ignite/pkg/cosmosgen/generate.go index 1153a1107e..17be80c67f 100644 --- a/ignite/pkg/cosmosgen/generate.go +++ b/ignite/pkg/cosmosgen/generate.go @@ -4,12 +4,12 @@ import ( "path/filepath" "strings" - "github.com/ignite-hq/cli/ignite/pkg/cache" - "github.com/ignite-hq/cli/ignite/pkg/cmdrunner" - "github.com/ignite-hq/cli/ignite/pkg/cmdrunner/step" - "github.com/ignite-hq/cli/ignite/pkg/cosmosanalysis/module" - "github.com/ignite-hq/cli/ignite/pkg/gomodule" - "github.com/ignite-hq/cli/ignite/pkg/protopath" + "github.com/ignite/cli/ignite/pkg/cache" + "github.com/ignite/cli/ignite/pkg/cmdrunner" + "github.com/ignite/cli/ignite/pkg/cmdrunner/step" + "github.com/ignite/cli/ignite/pkg/cosmosanalysis/module" + "github.com/ignite/cli/ignite/pkg/gomodule" + "github.com/ignite/cli/ignite/pkg/protopath" ) const ( diff --git a/ignite/pkg/cosmosgen/generate_dart.go b/ignite/pkg/cosmosgen/generate_dart.go index 37f51bfb4c..7059193b30 100644 --- a/ignite/pkg/cosmosgen/generate_dart.go +++ b/ignite/pkg/cosmosgen/generate_dart.go @@ -11,9 +11,9 @@ import ( "github.com/pkg/errors" "golang.org/x/sync/errgroup" - "github.com/ignite-hq/cli/ignite/pkg/cosmosanalysis/module" - "github.com/ignite-hq/cli/ignite/pkg/protoc" - protocgendart "github.com/ignite-hq/cli/ignite/pkg/protoc-gen-dart" + "github.com/ignite/cli/ignite/pkg/cosmosanalysis/module" + "github.com/ignite/cli/ignite/pkg/protoc" + protocgendart "github.com/ignite/cli/ignite/pkg/protoc-gen-dart" ) var ( diff --git a/ignite/pkg/cosmosgen/generate_go.go b/ignite/pkg/cosmosgen/generate_go.go index bf853cc633..ab0dd44f84 100644 --- a/ignite/pkg/cosmosgen/generate_go.go +++ b/ignite/pkg/cosmosgen/generate_go.go @@ -7,8 +7,8 @@ import ( "github.com/otiai10/copy" "github.com/pkg/errors" - "github.com/ignite-hq/cli/ignite/pkg/protoanalysis" - "github.com/ignite-hq/cli/ignite/pkg/protoc" + "github.com/ignite/cli/ignite/pkg/protoanalysis" + "github.com/ignite/cli/ignite/pkg/protoc" ) var ( diff --git a/ignite/pkg/cosmosgen/generate_javascript.go b/ignite/pkg/cosmosgen/generate_javascript.go index a024a52c01..4d24387c4a 100644 --- a/ignite/pkg/cosmosgen/generate_javascript.go +++ b/ignite/pkg/cosmosgen/generate_javascript.go @@ -10,15 +10,15 @@ import ( "github.com/iancoleman/strcase" "golang.org/x/sync/errgroup" - "github.com/ignite-hq/cli/ignite/pkg/cache" - "github.com/ignite-hq/cli/ignite/pkg/cosmosanalysis/module" - "github.com/ignite-hq/cli/ignite/pkg/dirchange" - "github.com/ignite-hq/cli/ignite/pkg/gomodulepath" - "github.com/ignite-hq/cli/ignite/pkg/localfs" - "github.com/ignite-hq/cli/ignite/pkg/nodetime/programs/sta" - tsproto "github.com/ignite-hq/cli/ignite/pkg/nodetime/programs/ts-proto" - "github.com/ignite-hq/cli/ignite/pkg/protoc" - "github.com/ignite-hq/cli/ignite/pkg/xstrings" + "github.com/ignite/cli/ignite/pkg/cache" + "github.com/ignite/cli/ignite/pkg/cosmosanalysis/module" + "github.com/ignite/cli/ignite/pkg/dirchange" + "github.com/ignite/cli/ignite/pkg/gomodulepath" + "github.com/ignite/cli/ignite/pkg/localfs" + "github.com/ignite/cli/ignite/pkg/nodetime/programs/sta" + tsproto "github.com/ignite/cli/ignite/pkg/nodetime/programs/ts-proto" + "github.com/ignite/cli/ignite/pkg/protoc" + "github.com/ignite/cli/ignite/pkg/xstrings" ) var ( diff --git a/ignite/pkg/cosmosgen/generate_openapi.go b/ignite/pkg/cosmosgen/generate_openapi.go index f7cd99ed7e..af622a36d7 100644 --- a/ignite/pkg/cosmosgen/generate_openapi.go +++ b/ignite/pkg/cosmosgen/generate_openapi.go @@ -8,11 +8,11 @@ import ( "github.com/iancoleman/strcase" - "github.com/ignite-hq/cli/ignite/pkg/cache" - "github.com/ignite-hq/cli/ignite/pkg/cosmosanalysis/module" - "github.com/ignite-hq/cli/ignite/pkg/dirchange" - swaggercombine "github.com/ignite-hq/cli/ignite/pkg/nodetime/programs/swagger-combine" - "github.com/ignite-hq/cli/ignite/pkg/protoc" + "github.com/ignite/cli/ignite/pkg/cache" + "github.com/ignite/cli/ignite/pkg/cosmosanalysis/module" + "github.com/ignite/cli/ignite/pkg/dirchange" + swaggercombine "github.com/ignite/cli/ignite/pkg/nodetime/programs/swagger-combine" + "github.com/ignite/cli/ignite/pkg/protoc" ) var openAPIOut = []string{ diff --git a/ignite/pkg/cosmosgen/install.go b/ignite/pkg/cosmosgen/install.go index 59f7bb2ce1..5f6221ec7b 100644 --- a/ignite/pkg/cosmosgen/install.go +++ b/ignite/pkg/cosmosgen/install.go @@ -6,8 +6,8 @@ import ( "github.com/pkg/errors" - "github.com/ignite-hq/cli/ignite/pkg/cmdrunner" - "github.com/ignite-hq/cli/ignite/pkg/cmdrunner/step" + "github.com/ignite/cli/ignite/pkg/cmdrunner" + "github.com/ignite/cli/ignite/pkg/cmdrunner/step" ) // InstallDependencies installs protoc dependencies needed by Cosmos ecosystem. diff --git a/ignite/pkg/cosmosutil/address_test.go b/ignite/pkg/cosmosutil/address_test.go index 941f9123d4..a24f055ab7 100644 --- a/ignite/pkg/cosmosutil/address_test.go +++ b/ignite/pkg/cosmosutil/address_test.go @@ -5,7 +5,7 @@ import ( "github.com/stretchr/testify/require" - "github.com/ignite-hq/cli/ignite/pkg/cosmosutil" + "github.com/ignite/cli/ignite/pkg/cosmosutil" ) func TestChangePrefix(t *testing.T) { diff --git a/ignite/pkg/cosmosutil/genesis_test.go b/ignite/pkg/cosmosutil/genesis_test.go index 03741e4e0d..a9e3afcd38 100644 --- a/ignite/pkg/cosmosutil/genesis_test.go +++ b/ignite/pkg/cosmosutil/genesis_test.go @@ -10,7 +10,7 @@ import ( "github.com/buger/jsonparser" "github.com/stretchr/testify/require" - "github.com/ignite-hq/cli/ignite/pkg/cosmosutil" + "github.com/ignite/cli/ignite/pkg/cosmosutil" ) func TestChainGenesis_HasAccount(t *testing.T) { diff --git a/ignite/pkg/cosmosutil/gentx_test.go b/ignite/pkg/cosmosutil/gentx_test.go index 97b09cf963..d2fffcad40 100644 --- a/ignite/pkg/cosmosutil/gentx_test.go +++ b/ignite/pkg/cosmosutil/gentx_test.go @@ -8,7 +8,7 @@ import ( "github.com/stretchr/testify/require" "github.com/tendermint/tendermint/crypto/ed25519" - "github.com/ignite-hq/cli/ignite/pkg/cosmosutil" + "github.com/ignite/cli/ignite/pkg/cosmosutil" ) func TestParseGentx(t *testing.T) { diff --git a/ignite/pkg/cosmosutil/peer.go b/ignite/pkg/cosmosutil/peer.go index 438cdea5d5..3c8b6a13e8 100644 --- a/ignite/pkg/cosmosutil/peer.go +++ b/ignite/pkg/cosmosutil/peer.go @@ -5,7 +5,7 @@ import ( launchtypes "github.com/tendermint/spn/x/launch/types" - "github.com/ignite-hq/cli/ignite/pkg/xurl" + "github.com/ignite/cli/ignite/pkg/xurl" ) // VerifyPeerFormat checks if the peer address format is valid diff --git a/ignite/pkg/cosmosver/detect.go b/ignite/pkg/cosmosver/detect.go index 0aac050757..000a3b40c7 100644 --- a/ignite/pkg/cosmosver/detect.go +++ b/ignite/pkg/cosmosver/detect.go @@ -1,7 +1,7 @@ package cosmosver import ( - "github.com/ignite-hq/cli/ignite/pkg/gomodule" + "github.com/ignite/cli/ignite/pkg/gomodule" ) const ( diff --git a/ignite/pkg/dirchange/dirchange.go b/ignite/pkg/dirchange/dirchange.go index e86e4d3396..8d721abd06 100644 --- a/ignite/pkg/dirchange/dirchange.go +++ b/ignite/pkg/dirchange/dirchange.go @@ -7,7 +7,7 @@ import ( "os" "path/filepath" - "github.com/ignite-hq/cli/ignite/pkg/cache" + "github.com/ignite/cli/ignite/pkg/cache" ) var ErrNoFile = errors.New("no file in specified paths") diff --git a/ignite/pkg/dirchange/dirchange_test.go b/ignite/pkg/dirchange/dirchange_test.go index 37ca36f02f..f9344a972e 100644 --- a/ignite/pkg/dirchange/dirchange_test.go +++ b/ignite/pkg/dirchange/dirchange_test.go @@ -8,8 +8,8 @@ import ( "github.com/stretchr/testify/require" - "github.com/ignite-hq/cli/ignite/pkg/cache" - "github.com/ignite-hq/cli/ignite/pkg/dirchange" + "github.com/ignite/cli/ignite/pkg/cache" + "github.com/ignite/cli/ignite/pkg/dirchange" ) const ( diff --git a/ignite/pkg/events/events_test.go b/ignite/pkg/events/events_test.go index e7dddf3e45..30d058891c 100644 --- a/ignite/pkg/events/events_test.go +++ b/ignite/pkg/events/events_test.go @@ -6,7 +6,7 @@ import ( "github.com/gookit/color" "github.com/stretchr/testify/require" - "github.com/ignite-hq/cli/ignite/pkg/events" + "github.com/ignite/cli/ignite/pkg/events" ) func TestBusSend(t *testing.T) { diff --git a/ignite/pkg/gitpod/gitpod.go b/ignite/pkg/gitpod/gitpod.go index f7fce4243a..b359799538 100644 --- a/ignite/pkg/gitpod/gitpod.go +++ b/ignite/pkg/gitpod/gitpod.go @@ -6,8 +6,8 @@ import ( "os" "strings" - "github.com/ignite-hq/cli/ignite/pkg/cmdrunner/exec" - "github.com/ignite-hq/cli/ignite/pkg/cmdrunner/step" + "github.com/ignite/cli/ignite/pkg/cmdrunner/exec" + "github.com/ignite/cli/ignite/pkg/cmdrunner/step" ) // IsOnGitpod reports whether if running on Gitpod or not. diff --git a/ignite/pkg/goanalysis/goanalysis_test.go b/ignite/pkg/goanalysis/goanalysis_test.go index a7936637cd..7d8e4b0c23 100644 --- a/ignite/pkg/goanalysis/goanalysis_test.go +++ b/ignite/pkg/goanalysis/goanalysis_test.go @@ -8,7 +8,7 @@ import ( "github.com/stretchr/testify/require" - "github.com/ignite-hq/cli/ignite/pkg/goanalysis" + "github.com/ignite/cli/ignite/pkg/goanalysis" ) var ( diff --git a/ignite/pkg/gocmd/gocmd.go b/ignite/pkg/gocmd/gocmd.go index 8f7505dde7..7c05d6d2e9 100644 --- a/ignite/pkg/gocmd/gocmd.go +++ b/ignite/pkg/gocmd/gocmd.go @@ -8,9 +8,9 @@ import ( "path/filepath" "strings" - "github.com/ignite-hq/cli/ignite/pkg/cmdrunner/exec" - "github.com/ignite-hq/cli/ignite/pkg/cmdrunner/step" - "github.com/ignite-hq/cli/ignite/pkg/goenv" + "github.com/ignite/cli/ignite/pkg/cmdrunner/exec" + "github.com/ignite/cli/ignite/pkg/cmdrunner/step" + "github.com/ignite/cli/ignite/pkg/goenv" ) const ( diff --git a/ignite/pkg/gomodule/gomodule.go b/ignite/pkg/gomodule/gomodule.go index 88e133a549..8cc66aba19 100644 --- a/ignite/pkg/gomodule/gomodule.go +++ b/ignite/pkg/gomodule/gomodule.go @@ -14,9 +14,9 @@ import ( "golang.org/x/mod/modfile" "golang.org/x/mod/module" - "github.com/ignite-hq/cli/ignite/pkg/cache" - "github.com/ignite-hq/cli/ignite/pkg/cmdrunner" - "github.com/ignite-hq/cli/ignite/pkg/cmdrunner/step" + "github.com/ignite/cli/ignite/pkg/cache" + "github.com/ignite/cli/ignite/pkg/cmdrunner" + "github.com/ignite/cli/ignite/pkg/cmdrunner/step" ) const pathCacheNamespace = "gomodule.path" diff --git a/ignite/pkg/gomodulepath/gomodulepath.go b/ignite/pkg/gomodulepath/gomodulepath.go index 6f17b2a4c8..707104081f 100644 --- a/ignite/pkg/gomodulepath/gomodulepath.go +++ b/ignite/pkg/gomodulepath/gomodulepath.go @@ -16,22 +16,22 @@ import ( "golang.org/x/mod/module" "golang.org/x/mod/semver" - "github.com/ignite-hq/cli/ignite/pkg/gomodule" + "github.com/ignite/cli/ignite/pkg/gomodule" ) // Path represents a Go module's path. type Path struct { // Path is Go module's full path. - // e.g.: github.com/ignite-hq/cli. + // e.g.: github.com/ignite/cli. RawPath string // Root is the root directory name of Go module. - // e.g.: cli for github.com/ignite-hq/cli. + // e.g.: cli for github.com/ignite/cli. Root string // Package is the default package name for the Go module that can be used // to host main functionality of the module. - // e.g.: cli for github.com/ignite-hq/cli. + // e.g.: cli for github.com/ignite/cli. Package string } diff --git a/ignite/pkg/gomodulepath/gomodulepath_test.go b/ignite/pkg/gomodulepath/gomodulepath_test.go index bedd924586..d13b7fcd1b 100644 --- a/ignite/pkg/gomodulepath/gomodulepath_test.go +++ b/ignite/pkg/gomodulepath/gomodulepath_test.go @@ -128,18 +128,18 @@ func TestExtractAppPath(t *testing.T) { }{ { name: "github uri", - path: "github.com/ignite-hq/cli", - want: "ignite-hq/cli", + path: "github.com/ignite/cli", + want: "ignite/cli", }, { name: "short uri", - path: "domain.com/ignite-hq", - want: "ignite-hq", + path: "domain.com/ignite", + want: "ignite", }, { name: "long uri", - path: "domain.com/a/b/c/ignite-hq/cli", - want: "ignite-hq/cli", + path: "domain.com/a/b/c/ignite/cli", + want: "ignite/cli", }, { name: "name", @@ -148,13 +148,13 @@ func TestExtractAppPath(t *testing.T) { }, { name: "path", - path: "ignite-hq/cli", - want: "ignite-hq/cli", + path: "ignite/cli", + want: "ignite/cli", }, { name: "long path", - path: "a/b/c/ignite-hq/cli", - want: "ignite-hq/cli", + path: "a/b/c/ignite/cli", + want: "ignite/cli", }, { name: "empty", @@ -171,11 +171,11 @@ func TestExtractAppPath(t *testing.T) { } func TestValidateURIPath(t *testing.T) { - require.NoError(t, validateURIPath("github.com/ignite-hq/cli")) + require.NoError(t, validateURIPath("github.com/ignite/cli")) } func TestValidateURIPathWithInvalidPath(t *testing.T) { - require.Error(t, validateURIPath("github/ignite-hq/cli")) + require.Error(t, validateURIPath("github/ignite/cli")) } func TestValidateNamePath(t *testing.T) { diff --git a/ignite/pkg/multiformatname/multiformatname_test.go b/ignite/pkg/multiformatname/multiformatname_test.go index 7587ac619c..15ca7b30fa 100644 --- a/ignite/pkg/multiformatname/multiformatname_test.go +++ b/ignite/pkg/multiformatname/multiformatname_test.go @@ -7,7 +7,7 @@ import ( "github.com/stretchr/testify/require" - "github.com/ignite-hq/cli/ignite/pkg/multiformatname" + "github.com/ignite/cli/ignite/pkg/multiformatname" ) func TestNewMultiFormatName(t *testing.T) { diff --git a/ignite/pkg/nodetime/nodetime.go b/ignite/pkg/nodetime/nodetime.go index 1e4afb7629..40a2840c9d 100644 --- a/ignite/pkg/nodetime/nodetime.go +++ b/ignite/pkg/nodetime/nodetime.go @@ -10,8 +10,8 @@ import ( "io" "sync" - "github.com/ignite-hq/cli/ignite/pkg/localfs" - "github.com/ignite-hq/cli/ignite/pkg/nodetime/data" + "github.com/ignite/cli/ignite/pkg/localfs" + "github.com/ignite/cli/ignite/pkg/nodetime/data" ) // the list of CLIs included. diff --git a/ignite/pkg/nodetime/programs/sta/sta.go b/ignite/pkg/nodetime/programs/sta/sta.go index a3da05a43a..272e989c41 100644 --- a/ignite/pkg/nodetime/programs/sta/sta.go +++ b/ignite/pkg/nodetime/programs/sta/sta.go @@ -5,8 +5,8 @@ import ( "context" "path/filepath" - "github.com/ignite-hq/cli/ignite/pkg/cmdrunner/exec" - "github.com/ignite-hq/cli/ignite/pkg/nodetime" + "github.com/ignite/cli/ignite/pkg/cmdrunner/exec" + "github.com/ignite/cli/ignite/pkg/nodetime" ) // Generate generates client code and TS types to outPath from an OpenAPI spec that resides at specPath. diff --git a/ignite/pkg/nodetime/programs/swagger-combine/swagger-combine.go b/ignite/pkg/nodetime/programs/swagger-combine/swagger-combine.go index c30ae5f47e..d424c7b976 100644 --- a/ignite/pkg/nodetime/programs/swagger-combine/swagger-combine.go +++ b/ignite/pkg/nodetime/programs/swagger-combine/swagger-combine.go @@ -7,8 +7,8 @@ import ( "os" "regexp" - "github.com/ignite-hq/cli/ignite/pkg/cmdrunner/exec" - "github.com/ignite-hq/cli/ignite/pkg/nodetime" + "github.com/ignite/cli/ignite/pkg/cmdrunner/exec" + "github.com/ignite/cli/ignite/pkg/nodetime" ) // Config represent swagger-combine config. diff --git a/ignite/pkg/nodetime/programs/ts-proto/tsproto.go b/ignite/pkg/nodetime/programs/ts-proto/tsproto.go index 434635f13f..8826344ab4 100644 --- a/ignite/pkg/nodetime/programs/ts-proto/tsproto.go +++ b/ignite/pkg/nodetime/programs/ts-proto/tsproto.go @@ -7,7 +7,7 @@ import ( "path/filepath" "strings" - "github.com/ignite-hq/cli/ignite/pkg/nodetime" + "github.com/ignite/cli/ignite/pkg/nodetime" ) const pluginName = "protoc-gen-ts_proto" diff --git a/ignite/pkg/nodetime/programs/ts-relayer/tsrelayer.go b/ignite/pkg/nodetime/programs/ts-relayer/tsrelayer.go index 8af3004fa1..4231296157 100644 --- a/ignite/pkg/nodetime/programs/ts-relayer/tsrelayer.go +++ b/ignite/pkg/nodetime/programs/ts-relayer/tsrelayer.go @@ -11,9 +11,9 @@ import ( "github.com/gorilla/rpc/v2/json2" "golang.org/x/sync/errgroup" - "github.com/ignite-hq/cli/ignite/pkg/cmdrunner" - "github.com/ignite-hq/cli/ignite/pkg/cmdrunner/step" - "github.com/ignite-hq/cli/ignite/pkg/nodetime" + "github.com/ignite/cli/ignite/pkg/cmdrunner" + "github.com/ignite/cli/ignite/pkg/cmdrunner/step" + "github.com/ignite/cli/ignite/pkg/nodetime" ) // Call calls a method in the ts relayer wrapper lib with args and fills reply from the returned value. diff --git a/ignite/pkg/placeholder/error.go b/ignite/pkg/placeholder/error.go index 6926108745..d4494f78f4 100644 --- a/ignite/pkg/placeholder/error.go +++ b/ignite/pkg/placeholder/error.go @@ -4,7 +4,7 @@ import ( "fmt" "strings" - "github.com/ignite-hq/cli/ignite/pkg/validation" + "github.com/ignite/cli/ignite/pkg/validation" ) var _ validation.Error = (*MissingPlaceholdersError)(nil) diff --git a/ignite/pkg/protoanalysis/parser.go b/ignite/pkg/protoanalysis/parser.go index 2f7be9923e..3c108d3848 100644 --- a/ignite/pkg/protoanalysis/parser.go +++ b/ignite/pkg/protoanalysis/parser.go @@ -8,7 +8,7 @@ import ( "github.com/emicklei/proto" "github.com/pkg/errors" - "github.com/ignite-hq/cli/ignite/pkg/localfs" + "github.com/ignite/cli/ignite/pkg/localfs" ) const optionGoPkg = "go_package" diff --git a/ignite/pkg/protoc-gen-dart/protoc-gen-dart.go b/ignite/pkg/protoc-gen-dart/protoc-gen-dart.go index 48aaeb6ce7..77ab4278fd 100644 --- a/ignite/pkg/protoc-gen-dart/protoc-gen-dart.go +++ b/ignite/pkg/protoc-gen-dart/protoc-gen-dart.go @@ -3,8 +3,8 @@ package protocgendart import ( "fmt" - "github.com/ignite-hq/cli/ignite/pkg/localfs" - "github.com/ignite-hq/cli/ignite/pkg/protoc-gen-dart/data" + "github.com/ignite/cli/ignite/pkg/localfs" + "github.com/ignite/cli/ignite/pkg/protoc-gen-dart/data" ) // Name of the plugin. diff --git a/ignite/pkg/protoc/protoc.go b/ignite/pkg/protoc/protoc.go index 4c888c2678..f635206a41 100644 --- a/ignite/pkg/protoc/protoc.go +++ b/ignite/pkg/protoc/protoc.go @@ -8,11 +8,11 @@ import ( "path/filepath" "strings" - "github.com/ignite-hq/cli/ignite/pkg/cmdrunner/exec" - "github.com/ignite-hq/cli/ignite/pkg/cmdrunner/step" - "github.com/ignite-hq/cli/ignite/pkg/localfs" - "github.com/ignite-hq/cli/ignite/pkg/protoanalysis" - "github.com/ignite-hq/cli/ignite/pkg/protoc/data" + "github.com/ignite/cli/ignite/pkg/cmdrunner/exec" + "github.com/ignite/cli/ignite/pkg/cmdrunner/step" + "github.com/ignite/cli/ignite/pkg/localfs" + "github.com/ignite/cli/ignite/pkg/protoanalysis" + "github.com/ignite/cli/ignite/pkg/protoc/data" ) // Option configures Generate configs. diff --git a/ignite/pkg/protopath/protopath.go b/ignite/pkg/protopath/protopath.go index dc42ff47d5..bc5b815309 100644 --- a/ignite/pkg/protopath/protopath.go +++ b/ignite/pkg/protopath/protopath.go @@ -7,9 +7,9 @@ import ( "golang.org/x/mod/module" - "github.com/ignite-hq/cli/ignite/pkg/cache" - "github.com/ignite-hq/cli/ignite/pkg/gomodule" - "github.com/ignite-hq/cli/ignite/pkg/xfilepath" + "github.com/ignite/cli/ignite/pkg/cache" + "github.com/ignite/cli/ignite/pkg/gomodule" + "github.com/ignite/cli/ignite/pkg/xfilepath" ) var ( diff --git a/ignite/pkg/relayer/chain.go b/ignite/pkg/relayer/chain.go index 37824cb4bd..0955da6654 100644 --- a/ignite/pkg/relayer/chain.go +++ b/ignite/pkg/relayer/chain.go @@ -8,10 +8,10 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" "github.com/imdario/mergo" - "github.com/ignite-hq/cli/ignite/pkg/cosmosaccount" - "github.com/ignite-hq/cli/ignite/pkg/cosmosclient" - "github.com/ignite-hq/cli/ignite/pkg/cosmosfaucet" - relayerconfig "github.com/ignite-hq/cli/ignite/pkg/relayer/config" + "github.com/ignite/cli/ignite/pkg/cosmosaccount" + "github.com/ignite/cli/ignite/pkg/cosmosclient" + "github.com/ignite/cli/ignite/pkg/cosmosfaucet" + relayerconfig "github.com/ignite/cli/ignite/pkg/relayer/config" ) const ( diff --git a/ignite/pkg/relayer/config/config.go b/ignite/pkg/relayer/config/config.go index 7b30b8e63f..974b03728a 100644 --- a/ignite/pkg/relayer/config/config.go +++ b/ignite/pkg/relayer/config/config.go @@ -7,7 +7,7 @@ import ( "github.com/pkg/errors" - "github.com/ignite-hq/cli/ignite/pkg/confile" + "github.com/ignite/cli/ignite/pkg/confile" ) const supportVersion = "2" diff --git a/ignite/pkg/relayer/relayer.go b/ignite/pkg/relayer/relayer.go index 561b15e463..7b0ca7666d 100644 --- a/ignite/pkg/relayer/relayer.go +++ b/ignite/pkg/relayer/relayer.go @@ -11,12 +11,12 @@ import ( banktypes "github.com/cosmos/cosmos-sdk/x/bank/types" "golang.org/x/sync/errgroup" - "github.com/ignite-hq/cli/ignite/pkg/cosmosaccount" - "github.com/ignite-hq/cli/ignite/pkg/cosmosclient" - "github.com/ignite-hq/cli/ignite/pkg/ctxticker" - tsrelayer "github.com/ignite-hq/cli/ignite/pkg/nodetime/programs/ts-relayer" - relayerconf "github.com/ignite-hq/cli/ignite/pkg/relayer/config" - "github.com/ignite-hq/cli/ignite/pkg/xurl" + "github.com/ignite/cli/ignite/pkg/cosmosaccount" + "github.com/ignite/cli/ignite/pkg/cosmosclient" + "github.com/ignite/cli/ignite/pkg/ctxticker" + tsrelayer "github.com/ignite/cli/ignite/pkg/nodetime/programs/ts-relayer" + relayerconf "github.com/ignite/cli/ignite/pkg/relayer/config" + "github.com/ignite/cli/ignite/pkg/xurl" ) const ( diff --git a/ignite/pkg/xfilepath/xfilepath_test.go b/ignite/pkg/xfilepath/xfilepath_test.go index 8c615ebb6c..5e459daf81 100644 --- a/ignite/pkg/xfilepath/xfilepath_test.go +++ b/ignite/pkg/xfilepath/xfilepath_test.go @@ -8,7 +8,7 @@ import ( "github.com/stretchr/testify/require" - "github.com/ignite-hq/cli/ignite/pkg/xfilepath" + "github.com/ignite/cli/ignite/pkg/xfilepath" ) func TestJoin(t *testing.T) { diff --git a/ignite/pkg/xgenny/run.go b/ignite/pkg/xgenny/run.go index 80e5f749be..3ac21d9018 100644 --- a/ignite/pkg/xgenny/run.go +++ b/ignite/pkg/xgenny/run.go @@ -10,8 +10,8 @@ import ( "github.com/gobuffalo/logger" "github.com/gobuffalo/packd" - "github.com/ignite-hq/cli/ignite/pkg/placeholder" - "github.com/ignite-hq/cli/ignite/pkg/validation" + "github.com/ignite/cli/ignite/pkg/placeholder" + "github.com/ignite/cli/ignite/pkg/validation" ) var _ validation.Error = (*dryRunError)(nil) diff --git a/ignite/pkg/xgenny/sourcemodification_test.go b/ignite/pkg/xgenny/sourcemodification_test.go index fb898cb0b8..508fce28ee 100644 --- a/ignite/pkg/xgenny/sourcemodification_test.go +++ b/ignite/pkg/xgenny/sourcemodification_test.go @@ -5,7 +5,7 @@ import ( "github.com/stretchr/testify/require" - "github.com/ignite-hq/cli/ignite/pkg/xgenny" + "github.com/ignite/cli/ignite/pkg/xgenny" ) var ( diff --git a/ignite/pkg/xstrings/xstrings_test.go b/ignite/pkg/xstrings/xstrings_test.go index 2a8cd47298..c2da08be2c 100644 --- a/ignite/pkg/xstrings/xstrings_test.go +++ b/ignite/pkg/xstrings/xstrings_test.go @@ -5,7 +5,7 @@ import ( "github.com/stretchr/testify/require" - "github.com/ignite-hq/cli/ignite/pkg/xstrings" + "github.com/ignite/cli/ignite/pkg/xstrings" ) func TestNoDash(t *testing.T) { diff --git a/ignite/pkg/xurl/xurl_test.go b/ignite/pkg/xurl/xurl_test.go index 1cfb20e193..9032c45fc0 100644 --- a/ignite/pkg/xurl/xurl_test.go +++ b/ignite/pkg/xurl/xurl_test.go @@ -46,18 +46,18 @@ func TestTCP(t *testing.T) { }{ { name: "with scheme", - addr: "tcp://github.com/ignite-hq/cli", - want: "tcp://github.com/ignite-hq/cli", + addr: "tcp://github.com/ignite/cli", + want: "tcp://github.com/ignite/cli", }, { name: "without scheme", - addr: "github.com/ignite-hq/cli", - want: "tcp://github.com/ignite-hq/cli", + addr: "github.com/ignite/cli", + want: "tcp://github.com/ignite/cli", }, { name: "with invalid scheme", - addr: "ftp://github.com/ignite-hq/cli", - want: "tcp://github.com/ignite-hq/cli", + addr: "ftp://github.com/ignite/cli", + want: "tcp://github.com/ignite/cli", }, { name: "with ip and port", @@ -103,18 +103,18 @@ func TestHTTP(t *testing.T) { }{ { name: "with scheme", - addr: "http://github.com/ignite-hq/cli", - want: "http://github.com/ignite-hq/cli", + addr: "http://github.com/ignite/cli", + want: "http://github.com/ignite/cli", }, { name: "without scheme", - addr: "github.com/ignite-hq/cli", - want: "http://github.com/ignite-hq/cli", + addr: "github.com/ignite/cli", + want: "http://github.com/ignite/cli", }, { name: "with invalid scheme", - addr: "ftp://github.com/ignite-hq/cli", - want: "http://github.com/ignite-hq/cli", + addr: "ftp://github.com/ignite/cli", + want: "http://github.com/ignite/cli", }, { name: "with ip and port", @@ -160,18 +160,18 @@ func TestHTTPS(t *testing.T) { }{ { name: "with scheme", - addr: "https://github.com/ignite-hq/cli", - want: "https://github.com/ignite-hq/cli", + addr: "https://github.com/ignite/cli", + want: "https://github.com/ignite/cli", }, { name: "without scheme", - addr: "github.com/ignite-hq/cli", - want: "https://github.com/ignite-hq/cli", + addr: "github.com/ignite/cli", + want: "https://github.com/ignite/cli", }, { name: "with invalid scheme", - addr: "ftp://github.com/ignite-hq/cli", - want: "https://github.com/ignite-hq/cli", + addr: "ftp://github.com/ignite/cli", + want: "https://github.com/ignite/cli", }, { name: "with ip and port", @@ -217,18 +217,18 @@ func TestWS(t *testing.T) { }{ { name: "with scheme", - addr: "ws://github.com/ignite-hq/cli", - want: "ws://github.com/ignite-hq/cli", + addr: "ws://github.com/ignite/cli", + want: "ws://github.com/ignite/cli", }, { name: "without scheme", - addr: "github.com/ignite-hq/cli", - want: "ws://github.com/ignite-hq/cli", + addr: "github.com/ignite/cli", + want: "ws://github.com/ignite/cli", }, { name: "with invalid scheme", - addr: "ftp://github.com/ignite-hq/cli", - want: "ws://github.com/ignite-hq/cli", + addr: "ftp://github.com/ignite/cli", + want: "ws://github.com/ignite/cli", }, { name: "with ip and port", @@ -274,23 +274,23 @@ func TestMightHTTPS(t *testing.T) { }{ { name: "with http scheme", - addr: "http://github.com/ignite-hq/cli", - want: "http://github.com/ignite-hq/cli", + addr: "http://github.com/ignite/cli", + want: "http://github.com/ignite/cli", }, { name: "with https scheme", - addr: "https://github.com/ignite-hq/cli", - want: "https://github.com/ignite-hq/cli", + addr: "https://github.com/ignite/cli", + want: "https://github.com/ignite/cli", }, { name: "without scheme", - addr: "github.com/ignite-hq/cli", - want: "https://github.com/ignite-hq/cli", + addr: "github.com/ignite/cli", + want: "https://github.com/ignite/cli", }, { name: "with invalid scheme", - addr: "ftp://github.com/ignite-hq/cli", - want: "https://github.com/ignite-hq/cli", + addr: "ftp://github.com/ignite/cli", + want: "https://github.com/ignite/cli", }, { name: "with ip and port", diff --git a/ignite/services/chain/app.go b/ignite/services/chain/app.go index e8e6ffc5c0..2d8cb03c23 100644 --- a/ignite/services/chain/app.go +++ b/ignite/services/chain/app.go @@ -4,7 +4,7 @@ import ( "path/filepath" "strings" - "github.com/ignite-hq/cli/ignite/pkg/gomodulepath" + "github.com/ignite/cli/ignite/pkg/gomodulepath" ) // App keeps info about chain. diff --git a/ignite/services/chain/build.go b/ignite/services/chain/build.go index 240946e8dc..b09daf4e28 100644 --- a/ignite/services/chain/build.go +++ b/ignite/services/chain/build.go @@ -11,15 +11,15 @@ import ( "github.com/docker/docker/pkg/archive" "github.com/pkg/errors" - "github.com/ignite-hq/cli/ignite/pkg/cache" - "github.com/ignite-hq/cli/ignite/pkg/checksum" - "github.com/ignite-hq/cli/ignite/pkg/cmdrunner" - "github.com/ignite-hq/cli/ignite/pkg/cmdrunner/exec" - "github.com/ignite-hq/cli/ignite/pkg/cmdrunner/step" - "github.com/ignite-hq/cli/ignite/pkg/dirchange" - "github.com/ignite-hq/cli/ignite/pkg/goanalysis" - "github.com/ignite-hq/cli/ignite/pkg/gocmd" - "github.com/ignite-hq/cli/ignite/pkg/xstrings" + "github.com/ignite/cli/ignite/pkg/cache" + "github.com/ignite/cli/ignite/pkg/checksum" + "github.com/ignite/cli/ignite/pkg/cmdrunner" + "github.com/ignite/cli/ignite/pkg/cmdrunner/exec" + "github.com/ignite/cli/ignite/pkg/cmdrunner/step" + "github.com/ignite/cli/ignite/pkg/dirchange" + "github.com/ignite/cli/ignite/pkg/goanalysis" + "github.com/ignite/cli/ignite/pkg/gocmd" + "github.com/ignite/cli/ignite/pkg/xstrings" ) const ( diff --git a/ignite/services/chain/chain.go b/ignite/services/chain/chain.go index b5325808dd..e0207d1574 100644 --- a/ignite/services/chain/chain.go +++ b/ignite/services/chain/chain.go @@ -10,14 +10,14 @@ import ( "github.com/gookit/color" "github.com/tendermint/spn/pkg/chainid" - "github.com/ignite-hq/cli/ignite/chainconfig" - sperrors "github.com/ignite-hq/cli/ignite/errors" - "github.com/ignite-hq/cli/ignite/pkg/chaincmd" - chaincmdrunner "github.com/ignite-hq/cli/ignite/pkg/chaincmd/runner" - "github.com/ignite-hq/cli/ignite/pkg/confile" - "github.com/ignite-hq/cli/ignite/pkg/cosmosver" - "github.com/ignite-hq/cli/ignite/pkg/repoversion" - "github.com/ignite-hq/cli/ignite/pkg/xurl" + "github.com/ignite/cli/ignite/chainconfig" + sperrors "github.com/ignite/cli/ignite/errors" + "github.com/ignite/cli/ignite/pkg/chaincmd" + chaincmdrunner "github.com/ignite/cli/ignite/pkg/chaincmd/runner" + "github.com/ignite/cli/ignite/pkg/confile" + "github.com/ignite/cli/ignite/pkg/cosmosver" + "github.com/ignite/cli/ignite/pkg/repoversion" + "github.com/ignite/cli/ignite/pkg/xurl" ) var ( diff --git a/ignite/services/chain/faucet.go b/ignite/services/chain/faucet.go index 8a2d0675bf..c8cc2dcb4d 100644 --- a/ignite/services/chain/faucet.go +++ b/ignite/services/chain/faucet.go @@ -9,9 +9,9 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" "github.com/pkg/errors" - chaincmdrunner "github.com/ignite-hq/cli/ignite/pkg/chaincmd/runner" - "github.com/ignite-hq/cli/ignite/pkg/cosmosfaucet" - "github.com/ignite-hq/cli/ignite/pkg/xurl" + chaincmdrunner "github.com/ignite/cli/ignite/pkg/chaincmd/runner" + "github.com/ignite/cli/ignite/pkg/cosmosfaucet" + "github.com/ignite/cli/ignite/pkg/xurl" ) var ( diff --git a/ignite/services/chain/generate.go b/ignite/services/chain/generate.go index a0c799b5b9..b17850b704 100644 --- a/ignite/services/chain/generate.go +++ b/ignite/services/chain/generate.go @@ -6,9 +6,9 @@ import ( "os" "path/filepath" - "github.com/ignite-hq/cli/ignite/pkg/cache" - "github.com/ignite-hq/cli/ignite/pkg/cosmosanalysis/module" - "github.com/ignite-hq/cli/ignite/pkg/cosmosgen" + "github.com/ignite/cli/ignite/pkg/cache" + "github.com/ignite/cli/ignite/pkg/cosmosanalysis/module" + "github.com/ignite/cli/ignite/pkg/cosmosgen" ) const ( diff --git a/ignite/services/chain/init.go b/ignite/services/chain/init.go index 83ecdd2733..f3e634f076 100644 --- a/ignite/services/chain/init.go +++ b/ignite/services/chain/init.go @@ -9,9 +9,9 @@ import ( "github.com/imdario/mergo" - "github.com/ignite-hq/cli/ignite/chainconfig" - chaincmdrunner "github.com/ignite-hq/cli/ignite/pkg/chaincmd/runner" - "github.com/ignite-hq/cli/ignite/pkg/confile" + "github.com/ignite/cli/ignite/chainconfig" + chaincmdrunner "github.com/ignite/cli/ignite/pkg/chaincmd/runner" + "github.com/ignite/cli/ignite/pkg/confile" ) const ( diff --git a/ignite/services/chain/log.go b/ignite/services/chain/log.go index a7a5bb12e9..290a6076d1 100644 --- a/ignite/services/chain/log.go +++ b/ignite/services/chain/log.go @@ -5,8 +5,8 @@ import ( "os" "strings" - "github.com/ignite-hq/cli/ignite/pkg/lineprefixer" - "github.com/ignite-hq/cli/ignite/pkg/prefixgen" + "github.com/ignite/cli/ignite/pkg/lineprefixer" + "github.com/ignite/cli/ignite/pkg/prefixgen" ) // prefixes holds prefix configuration for logs messages. diff --git a/ignite/services/chain/plugin-stargate.go b/ignite/services/chain/plugin-stargate.go index 7423f7225b..c6c1ed42ef 100644 --- a/ignite/services/chain/plugin-stargate.go +++ b/ignite/services/chain/plugin-stargate.go @@ -9,11 +9,11 @@ import ( sdktypes "github.com/cosmos/cosmos-sdk/types" "github.com/pelletier/go-toml" - "github.com/ignite-hq/cli/ignite/chainconfig" - "github.com/ignite-hq/cli/ignite/pkg/chaincmd" - chaincmdrunner "github.com/ignite-hq/cli/ignite/pkg/chaincmd/runner" - "github.com/ignite-hq/cli/ignite/pkg/cosmosver" - "github.com/ignite-hq/cli/ignite/pkg/xurl" + "github.com/ignite/cli/ignite/chainconfig" + "github.com/ignite/cli/ignite/pkg/chaincmd" + chaincmdrunner "github.com/ignite/cli/ignite/pkg/chaincmd/runner" + "github.com/ignite/cli/ignite/pkg/cosmosver" + "github.com/ignite/cli/ignite/pkg/xurl" ) type stargatePlugin struct { diff --git a/ignite/services/chain/plugin.go b/ignite/services/chain/plugin.go index 8dd803dbf8..a67c7891b8 100644 --- a/ignite/services/chain/plugin.go +++ b/ignite/services/chain/plugin.go @@ -3,8 +3,8 @@ package chain import ( "context" - "github.com/ignite-hq/cli/ignite/chainconfig" - chaincmdrunner "github.com/ignite-hq/cli/ignite/pkg/chaincmd/runner" + "github.com/ignite/cli/ignite/chainconfig" + chaincmdrunner "github.com/ignite/cli/ignite/pkg/chaincmd/runner" ) // TODO omit -cli log messages for Stargate. diff --git a/ignite/services/chain/serve.go b/ignite/services/chain/serve.go index 7d4b351c83..1db29b6a24 100644 --- a/ignite/services/chain/serve.go +++ b/ignite/services/chain/serve.go @@ -14,16 +14,16 @@ import ( "github.com/pkg/errors" "golang.org/x/sync/errgroup" - "github.com/ignite-hq/cli/ignite/chainconfig" - "github.com/ignite-hq/cli/ignite/pkg/cache" - chaincmdrunner "github.com/ignite-hq/cli/ignite/pkg/chaincmd/runner" - "github.com/ignite-hq/cli/ignite/pkg/cosmosfaucet" - "github.com/ignite-hq/cli/ignite/pkg/dirchange" - "github.com/ignite-hq/cli/ignite/pkg/localfs" - "github.com/ignite-hq/cli/ignite/pkg/xexec" - "github.com/ignite-hq/cli/ignite/pkg/xfilepath" - "github.com/ignite-hq/cli/ignite/pkg/xhttp" - "github.com/ignite-hq/cli/ignite/pkg/xurl" + "github.com/ignite/cli/ignite/chainconfig" + "github.com/ignite/cli/ignite/pkg/cache" + chaincmdrunner "github.com/ignite/cli/ignite/pkg/chaincmd/runner" + "github.com/ignite/cli/ignite/pkg/cosmosfaucet" + "github.com/ignite/cli/ignite/pkg/dirchange" + "github.com/ignite/cli/ignite/pkg/localfs" + "github.com/ignite/cli/ignite/pkg/xexec" + "github.com/ignite/cli/ignite/pkg/xfilepath" + "github.com/ignite/cli/ignite/pkg/xhttp" + "github.com/ignite/cli/ignite/pkg/xurl" ) const ( @@ -168,7 +168,7 @@ func (c *Chain) Serve(ctx context.Context, cacheStorage cache.Storage, options . var validationErr *chainconfig.ValidationError if errors.As(err, &validationErr) { - fmt.Fprintln(c.stdLog().out, "see: https://github.com/ignite-hq/cli#configure") + fmt.Fprintln(c.stdLog().out, "see: https://github.com/ignite/cli#configure") } fmt.Fprintf(c.stdLog().out, "%s\n", infoColor("Waiting for a fix before retrying...")) diff --git a/ignite/services/network/campaign.go b/ignite/services/network/campaign.go index f5931823f3..c10624816f 100644 --- a/ignite/services/network/campaign.go +++ b/ignite/services/network/campaign.go @@ -7,8 +7,8 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" campaigntypes "github.com/tendermint/spn/x/campaign/types" - "github.com/ignite-hq/cli/ignite/pkg/events" - "github.com/ignite-hq/cli/ignite/services/network/networktypes" + "github.com/ignite/cli/ignite/pkg/events" + "github.com/ignite/cli/ignite/services/network/networktypes" ) type ( diff --git a/ignite/services/network/client.go b/ignite/services/network/client.go index 25e36a8565..712434339a 100644 --- a/ignite/services/network/client.go +++ b/ignite/services/network/client.go @@ -3,7 +3,7 @@ package network import ( monitoringctypes "github.com/tendermint/spn/x/monitoringc/types" - "github.com/ignite-hq/cli/ignite/services/network/networktypes" + "github.com/ignite/cli/ignite/services/network/networktypes" ) func (n Network) CreateClient( diff --git a/ignite/services/network/join.go b/ignite/services/network/join.go index 47e15bcb87..7e185700fc 100644 --- a/ignite/services/network/join.go +++ b/ignite/services/network/join.go @@ -7,12 +7,12 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" launchtypes "github.com/tendermint/spn/x/launch/types" - "github.com/ignite-hq/cli/ignite/pkg/cosmoserror" - "github.com/ignite-hq/cli/ignite/pkg/cosmosutil" - "github.com/ignite-hq/cli/ignite/pkg/events" - "github.com/ignite-hq/cli/ignite/pkg/xurl" - "github.com/ignite-hq/cli/ignite/services/network/networkchain" - "github.com/ignite-hq/cli/ignite/services/network/networktypes" + "github.com/ignite/cli/ignite/pkg/cosmoserror" + "github.com/ignite/cli/ignite/pkg/cosmosutil" + "github.com/ignite/cli/ignite/pkg/events" + "github.com/ignite/cli/ignite/pkg/xurl" + "github.com/ignite/cli/ignite/services/network/networkchain" + "github.com/ignite/cli/ignite/services/network/networktypes" ) type joinOptions struct { diff --git a/ignite/services/network/join_test.go b/ignite/services/network/join_test.go index a868640a6b..9b8a629924 100644 --- a/ignite/services/network/join_test.go +++ b/ignite/services/network/join_test.go @@ -10,9 +10,9 @@ import ( "github.com/stretchr/testify/require" launchtypes "github.com/tendermint/spn/x/launch/types" - "github.com/ignite-hq/cli/ignite/pkg/cosmoserror" - "github.com/ignite-hq/cli/ignite/services/network/networktypes" - "github.com/ignite-hq/cli/ignite/services/network/testutil" + "github.com/ignite/cli/ignite/pkg/cosmoserror" + "github.com/ignite/cli/ignite/services/network/networktypes" + "github.com/ignite/cli/ignite/services/network/testutil" ) const ( diff --git a/ignite/services/network/launch.go b/ignite/services/network/launch.go index 183d3cae73..83c0b7204d 100644 --- a/ignite/services/network/launch.go +++ b/ignite/services/network/launch.go @@ -7,9 +7,9 @@ import ( launchtypes "github.com/tendermint/spn/x/launch/types" - "github.com/ignite-hq/cli/ignite/pkg/events" - "github.com/ignite-hq/cli/ignite/pkg/xtime" - "github.com/ignite-hq/cli/ignite/services/network/networktypes" + "github.com/ignite/cli/ignite/pkg/events" + "github.com/ignite/cli/ignite/pkg/xtime" + "github.com/ignite/cli/ignite/services/network/networktypes" ) // LaunchParams fetches the chain launch module params from SPN diff --git a/ignite/services/network/launch_test.go b/ignite/services/network/launch_test.go index bf3228c5ea..560c0df475 100644 --- a/ignite/services/network/launch_test.go +++ b/ignite/services/network/launch_test.go @@ -10,9 +10,9 @@ import ( "github.com/stretchr/testify/require" launchtypes "github.com/tendermint/spn/x/launch/types" - "github.com/ignite-hq/cli/ignite/pkg/xtime" - "github.com/ignite-hq/cli/ignite/services/network/networktypes" - "github.com/ignite-hq/cli/ignite/services/network/testutil" + "github.com/ignite/cli/ignite/pkg/xtime" + "github.com/ignite/cli/ignite/services/network/networktypes" + "github.com/ignite/cli/ignite/services/network/testutil" ) const ( diff --git a/ignite/services/network/mocks/account_info.go b/ignite/services/network/mocks/account_info.go index d411c7da13..41d46ebb59 100644 --- a/ignite/services/network/mocks/account_info.go +++ b/ignite/services/network/mocks/account_info.go @@ -3,11 +3,14 @@ package mocks import ( - "github.com/cosmos/cosmos-sdk/crypto/hd" - "github.com/cosmos/cosmos-sdk/crypto/keyring" + hd "github.com/cosmos/cosmos-sdk/crypto/hd" cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" - "github.com/cosmos/cosmos-sdk/types" - "github.com/stretchr/testify/mock" + + keyring "github.com/cosmos/cosmos-sdk/crypto/keyring" + + mock "github.com/stretchr/testify/mock" + + types "github.com/cosmos/cosmos-sdk/types" ) // AccountInfo is an autogenerated mock type for the AccountInfo type diff --git a/ignite/services/network/mocks/campaign_client.go b/ignite/services/network/mocks/campaign_client.go index 21ffada677..4bded5b175 100644 --- a/ignite/services/network/mocks/campaign_client.go +++ b/ignite/services/network/mocks/campaign_client.go @@ -3,14 +3,16 @@ package mocks import ( - "context" + context "context" - "github.com/stretchr/testify/mock" - "github.com/tendermint/spn/x/campaign/types" - "google.golang.org/grpc" + grpc "google.golang.org/grpc" + + mock "github.com/stretchr/testify/mock" + + types "github.com/tendermint/spn/x/campaign/types" ) -// CampaignClient is an autogenerated mock type for the QueryClient type +// CampaignClient is an autogenerated mock type for the CampaignClient type type CampaignClient struct { mock.Mock } @@ -315,66 +317,6 @@ func (_m *CampaignClient) MainnetAccountBalanceAll(ctx context.Context, in *type return r0, r1 } -// MainnetVestingAccount provides a mock function with given fields: ctx, in, opts -func (_m *CampaignClient) MainnetVestingAccount(ctx context.Context, in *types.QueryGetMainnetVestingAccountRequest, opts ...grpc.CallOption) (*types.QueryGetMainnetVestingAccountResponse, error) { - _va := make([]interface{}, len(opts)) - for _i := range opts { - _va[_i] = opts[_i] - } - var _ca []interface{} - _ca = append(_ca, ctx, in) - _ca = append(_ca, _va...) - ret := _m.Called(_ca...) - - var r0 *types.QueryGetMainnetVestingAccountResponse - if rf, ok := ret.Get(0).(func(context.Context, *types.QueryGetMainnetVestingAccountRequest, ...grpc.CallOption) *types.QueryGetMainnetVestingAccountResponse); ok { - r0 = rf(ctx, in, opts...) - } else { - if ret.Get(0) != nil { - r0 = ret.Get(0).(*types.QueryGetMainnetVestingAccountResponse) - } - } - - var r1 error - if rf, ok := ret.Get(1).(func(context.Context, *types.QueryGetMainnetVestingAccountRequest, ...grpc.CallOption) error); ok { - r1 = rf(ctx, in, opts...) - } else { - r1 = ret.Error(1) - } - - return r0, r1 -} - -// MainnetVestingAccountAll provides a mock function with given fields: ctx, in, opts -func (_m *CampaignClient) MainnetVestingAccountAll(ctx context.Context, in *types.QueryAllMainnetVestingAccountRequest, opts ...grpc.CallOption) (*types.QueryAllMainnetVestingAccountResponse, error) { - _va := make([]interface{}, len(opts)) - for _i := range opts { - _va[_i] = opts[_i] - } - var _ca []interface{} - _ca = append(_ca, ctx, in) - _ca = append(_ca, _va...) - ret := _m.Called(_ca...) - - var r0 *types.QueryAllMainnetVestingAccountResponse - if rf, ok := ret.Get(0).(func(context.Context, *types.QueryAllMainnetVestingAccountRequest, ...grpc.CallOption) *types.QueryAllMainnetVestingAccountResponse); ok { - r0 = rf(ctx, in, opts...) - } else { - if ret.Get(0) != nil { - r0 = ret.Get(0).(*types.QueryAllMainnetVestingAccountResponse) - } - } - - var r1 error - if rf, ok := ret.Get(1).(func(context.Context, *types.QueryAllMainnetVestingAccountRequest, ...grpc.CallOption) error); ok { - r1 = rf(ctx, in, opts...) - } else { - r1 = ret.Error(1) - } - - return r0, r1 -} - // Params provides a mock function with given fields: ctx, in, opts func (_m *CampaignClient) Params(ctx context.Context, in *types.QueryParamsRequest, opts ...grpc.CallOption) (*types.QueryParamsResponse, error) { _va := make([]interface{}, len(opts)) diff --git a/ignite/services/network/mocks/cosmos_client.go b/ignite/services/network/mocks/cosmos_client.go index 02d1fb8353..e203637f5e 100644 --- a/ignite/services/network/mocks/cosmos_client.go +++ b/ignite/services/network/mocks/cosmos_client.go @@ -11,8 +11,8 @@ import ( "github.com/stretchr/testify/mock" coretypes "github.com/tendermint/tendermint/rpc/core/types" - "github.com/ignite-hq/cli/ignite/pkg/cosmosaccount" - "github.com/ignite-hq/cli/ignite/pkg/cosmosclient" + "github.com/ignite/cli/ignite/pkg/cosmosaccount" + "github.com/ignite/cli/ignite/pkg/cosmosclient" ) // CosmosClient is an autogenerated mock type for the CosmosClient type diff --git a/ignite/services/network/mocks/launch_client.go b/ignite/services/network/mocks/launch_client.go index 847d9bf83d..ad0740f1fb 100644 --- a/ignite/services/network/mocks/launch_client.go +++ b/ignite/services/network/mocks/launch_client.go @@ -3,11 +3,13 @@ package mocks import ( - "context" + context "context" - "github.com/stretchr/testify/mock" - "github.com/tendermint/spn/x/launch/types" - "google.golang.org/grpc" + grpc "google.golang.org/grpc" + + mock "github.com/stretchr/testify/mock" + + types "github.com/tendermint/spn/x/launch/types" ) // LaunchClient is an autogenerated mock type for the LaunchClient type diff --git a/ignite/services/network/mocks/profile_client.go b/ignite/services/network/mocks/profile_client.go index b61ea09818..8463ff6060 100644 --- a/ignite/services/network/mocks/profile_client.go +++ b/ignite/services/network/mocks/profile_client.go @@ -3,11 +3,13 @@ package mocks import ( - "context" + context "context" - "github.com/stretchr/testify/mock" - "github.com/tendermint/spn/x/profile/types" - "google.golang.org/grpc" + grpc "google.golang.org/grpc" + + mock "github.com/stretchr/testify/mock" + + types "github.com/tendermint/spn/x/profile/types" ) // ProfileClient is an autogenerated mock type for the ProfileClient type diff --git a/ignite/services/network/mocks/reward_client.go b/ignite/services/network/mocks/reward_client.go index 193fc96453..f3f673f3d5 100644 --- a/ignite/services/network/mocks/reward_client.go +++ b/ignite/services/network/mocks/reward_client.go @@ -3,11 +3,13 @@ package mocks import ( - "context" + context "context" - "github.com/stretchr/testify/mock" - "github.com/tendermint/spn/x/reward/types" - "google.golang.org/grpc" + grpc "google.golang.org/grpc" + + mock "github.com/stretchr/testify/mock" + + types "github.com/tendermint/spn/x/reward/types" ) // RewardClient is an autogenerated mock type for the RewardClient type diff --git a/ignite/services/network/network.go b/ignite/services/network/network.go index ad17598739..15dba12d02 100644 --- a/ignite/services/network/network.go +++ b/ignite/services/network/network.go @@ -14,9 +14,9 @@ import ( rewardtypes "github.com/tendermint/spn/x/reward/types" ctypes "github.com/tendermint/tendermint/rpc/core/types" - "github.com/ignite-hq/cli/ignite/pkg/cosmosaccount" - "github.com/ignite-hq/cli/ignite/pkg/cosmosclient" - "github.com/ignite-hq/cli/ignite/pkg/events" + "github.com/ignite/cli/ignite/pkg/cosmosaccount" + "github.com/ignite/cli/ignite/pkg/cosmosclient" + "github.com/ignite/cli/ignite/pkg/events" ) //go:generate mockery --name CosmosClient --case underscore diff --git a/ignite/services/network/network_test.go b/ignite/services/network/network_test.go index 74c7a0e883..42d146be29 100644 --- a/ignite/services/network/network_test.go +++ b/ignite/services/network/network_test.go @@ -6,8 +6,8 @@ import ( "github.com/stretchr/testify/require" - "github.com/ignite-hq/cli/ignite/pkg/cosmosaccount" - "github.com/ignite-hq/cli/ignite/services/network/testutil" + "github.com/ignite/cli/ignite/pkg/cosmosaccount" + "github.com/ignite/cli/ignite/services/network/testutil" ) func newSuite(account cosmosaccount.Account) (testutil.Suite, Network) { diff --git a/ignite/services/network/networkchain/account.go b/ignite/services/network/networkchain/account.go index 42f627720e..d53aa3fc99 100644 --- a/ignite/services/network/networkchain/account.go +++ b/ignite/services/network/networkchain/account.go @@ -6,10 +6,10 @@ import ( "os" "path/filepath" - chaincmdrunner "github.com/ignite-hq/cli/ignite/pkg/chaincmd/runner" - "github.com/ignite-hq/cli/ignite/pkg/cosmosutil" - "github.com/ignite-hq/cli/ignite/pkg/randstr" - "github.com/ignite-hq/cli/ignite/services/chain" + chaincmdrunner "github.com/ignite/cli/ignite/pkg/chaincmd/runner" + "github.com/ignite/cli/ignite/pkg/cosmosutil" + "github.com/ignite/cli/ignite/pkg/randstr" + "github.com/ignite/cli/ignite/services/chain" ) const ( diff --git a/ignite/services/network/networkchain/binarycache.go b/ignite/services/network/networkchain/binarycache.go index c0f98e3ea0..fcd7489406 100644 --- a/ignite/services/network/networkchain/binarycache.go +++ b/ignite/services/network/networkchain/binarycache.go @@ -1,10 +1,10 @@ package networkchain import ( - "github.com/ignite-hq/cli/ignite/chainconfig" - "github.com/ignite-hq/cli/ignite/pkg/checksum" - "github.com/ignite-hq/cli/ignite/pkg/confile" - "github.com/ignite-hq/cli/ignite/pkg/xfilepath" + "github.com/ignite/cli/ignite/chainconfig" + "github.com/ignite/cli/ignite/pkg/checksum" + "github.com/ignite/cli/ignite/pkg/confile" + "github.com/ignite/cli/ignite/pkg/xfilepath" ) const ( diff --git a/ignite/services/network/networkchain/config.go b/ignite/services/network/networkchain/config.go index 9d23766814..488e527d0f 100644 --- a/ignite/services/network/networkchain/config.go +++ b/ignite/services/network/networkchain/config.go @@ -3,8 +3,8 @@ package networkchain import ( "path/filepath" - "github.com/ignite-hq/cli/ignite/pkg/confile" - "github.com/ignite-hq/cli/ignite/pkg/cosmosutil" + "github.com/ignite/cli/ignite/pkg/confile" + "github.com/ignite/cli/ignite/pkg/cosmosutil" ) const ( diff --git a/ignite/services/network/networkchain/home.go b/ignite/services/network/networkchain/home.go index 0f895084f3..9623e5cdd1 100644 --- a/ignite/services/network/networkchain/home.go +++ b/ignite/services/network/networkchain/home.go @@ -5,7 +5,7 @@ import ( "path/filepath" "strconv" - "github.com/ignite-hq/cli/ignite/services/network/networktypes" + "github.com/ignite/cli/ignite/services/network/networktypes" ) // ChainHome returns the default home dir used for a chain from SPN. diff --git a/ignite/services/network/networkchain/home_test.go b/ignite/services/network/networkchain/home_test.go index 181fd365e6..bfc7adacd6 100644 --- a/ignite/services/network/networkchain/home_test.go +++ b/ignite/services/network/networkchain/home_test.go @@ -7,8 +7,8 @@ import ( "github.com/stretchr/testify/require" - "github.com/ignite-hq/cli/ignite/services/network/networkchain" - "github.com/ignite-hq/cli/ignite/services/network/networktypes" + "github.com/ignite/cli/ignite/services/network/networkchain" + "github.com/ignite/cli/ignite/services/network/networktypes" ) func TestChainHome(t *testing.T) { diff --git a/ignite/services/network/networkchain/init.go b/ignite/services/network/networkchain/init.go index 36a648107d..e389cca94c 100644 --- a/ignite/services/network/networkchain/init.go +++ b/ignite/services/network/networkchain/init.go @@ -5,9 +5,9 @@ import ( "fmt" "os" - "github.com/ignite-hq/cli/ignite/pkg/cache" - "github.com/ignite-hq/cli/ignite/pkg/cosmosutil" - "github.com/ignite-hq/cli/ignite/pkg/events" + "github.com/ignite/cli/ignite/pkg/cache" + "github.com/ignite/cli/ignite/pkg/cosmosutil" + "github.com/ignite/cli/ignite/pkg/events" ) // Init initializes blockchain by building the binaries and running the init command and @@ -87,7 +87,7 @@ func (c *Chain) initGenesis(ctx context.Context) error { return err } - // TODO: use validator moniker https://github.com/ignite-hq/cli/issues/1834 + // TODO: use validator moniker https://github.com/ignite/cli/issues/1834 if err := cmd.Init(ctx, "moniker"); err != nil { return err } diff --git a/ignite/services/network/networkchain/networkchain.go b/ignite/services/network/networkchain/networkchain.go index c45930695e..c63ff0a976 100644 --- a/ignite/services/network/networkchain/networkchain.go +++ b/ignite/services/network/networkchain/networkchain.go @@ -9,16 +9,16 @@ import ( "github.com/go-git/go-git/v5" "github.com/go-git/go-git/v5/plumbing" - sperrors "github.com/ignite-hq/cli/ignite/errors" - "github.com/ignite-hq/cli/ignite/pkg/cache" - "github.com/ignite-hq/cli/ignite/pkg/chaincmd" - "github.com/ignite-hq/cli/ignite/pkg/checksum" - "github.com/ignite-hq/cli/ignite/pkg/cosmosaccount" - "github.com/ignite-hq/cli/ignite/pkg/cosmosver" - "github.com/ignite-hq/cli/ignite/pkg/events" - "github.com/ignite-hq/cli/ignite/pkg/gitpod" - "github.com/ignite-hq/cli/ignite/services/chain" - "github.com/ignite-hq/cli/ignite/services/network/networktypes" + sperrors "github.com/ignite/cli/ignite/errors" + "github.com/ignite/cli/ignite/pkg/cache" + "github.com/ignite/cli/ignite/pkg/chaincmd" + "github.com/ignite/cli/ignite/pkg/checksum" + "github.com/ignite/cli/ignite/pkg/cosmosaccount" + "github.com/ignite/cli/ignite/pkg/cosmosver" + "github.com/ignite/cli/ignite/pkg/events" + "github.com/ignite/cli/ignite/pkg/gitpod" + "github.com/ignite/cli/ignite/services/chain" + "github.com/ignite/cli/ignite/services/network/networktypes" ) // Chain represents a network blockchain and lets you interact with its source code and binary. diff --git a/ignite/services/network/networkchain/prepare.go b/ignite/services/network/networkchain/prepare.go index 97072abe27..f9898d629c 100644 --- a/ignite/services/network/networkchain/prepare.go +++ b/ignite/services/network/networkchain/prepare.go @@ -13,10 +13,10 @@ import ( "github.com/pkg/errors" launchtypes "github.com/tendermint/spn/x/launch/types" - "github.com/ignite-hq/cli/ignite/pkg/cache" - "github.com/ignite-hq/cli/ignite/pkg/cosmosutil" - "github.com/ignite-hq/cli/ignite/pkg/events" - "github.com/ignite-hq/cli/ignite/services/network/networktypes" + "github.com/ignite/cli/ignite/pkg/cache" + "github.com/ignite/cli/ignite/pkg/cosmosutil" + "github.com/ignite/cli/ignite/pkg/events" + "github.com/ignite/cli/ignite/services/network/networktypes" ) // ResetGenesisTime reset the chain genesis time diff --git a/ignite/services/network/networkchain/simulate.go b/ignite/services/network/networkchain/simulate.go index 41edd438e0..e176a0007b 100644 --- a/ignite/services/network/networkchain/simulate.go +++ b/ignite/services/network/networkchain/simulate.go @@ -11,12 +11,12 @@ import ( "github.com/pelletier/go-toml" "github.com/pkg/errors" - "github.com/ignite-hq/cli/ignite/pkg/availableport" - "github.com/ignite-hq/cli/ignite/pkg/cache" - "github.com/ignite-hq/cli/ignite/pkg/events" - "github.com/ignite-hq/cli/ignite/pkg/httpstatuschecker" - "github.com/ignite-hq/cli/ignite/pkg/xurl" - "github.com/ignite-hq/cli/ignite/services/network/networktypes" + "github.com/ignite/cli/ignite/pkg/availableport" + "github.com/ignite/cli/ignite/pkg/cache" + "github.com/ignite/cli/ignite/pkg/events" + "github.com/ignite/cli/ignite/pkg/httpstatuschecker" + "github.com/ignite/cli/ignite/pkg/xurl" + "github.com/ignite/cli/ignite/services/network/networktypes" ) const ( diff --git a/ignite/services/network/networktypes/campaign.go b/ignite/services/network/networktypes/campaign.go index 0e8cb4b553..61ba294241 100644 --- a/ignite/services/network/networktypes/campaign.go +++ b/ignite/services/network/networktypes/campaign.go @@ -44,22 +44,3 @@ func ToMainnetAccount(acc campaigntypes.MainnetAccount) MainnetAccount { Shares: acc.Shares, } } - -// MainnetVestingAccount represents the campaign mainnet vesting account of a chain on SPN -type MainnetVestingAccount struct { - Address string `json:"Address"` - TotalShares campaigntypes.Shares `json:"TotalShares"` - Vesting campaigntypes.Shares `json:"Vesting"` - EndTime int64 `json:"EndTime"` -} - -// ToMainnetVestingAccount converts a mainnet vesting account data from SPN and returns a MainnetVestingAccount object -func ToMainnetVestingAccount(acc campaigntypes.MainnetVestingAccount) MainnetVestingAccount { - delaydVesting := acc.VestingOptions.GetDelayedVesting() - return MainnetVestingAccount{ - Address: acc.Address, - TotalShares: delaydVesting.TotalShares, - Vesting: delaydVesting.Vesting, - EndTime: delaydVesting.EndTime, - } -} diff --git a/ignite/services/network/networktypes/chainlaunch_test.go b/ignite/services/network/networktypes/chainlaunch_test.go index 69b1245644..15cb79e8fd 100644 --- a/ignite/services/network/networktypes/chainlaunch_test.go +++ b/ignite/services/network/networktypes/chainlaunch_test.go @@ -6,7 +6,7 @@ import ( "github.com/stretchr/testify/require" launchtypes "github.com/tendermint/spn/x/launch/types" - "github.com/ignite-hq/cli/ignite/services/network/networktypes" + "github.com/ignite/cli/ignite/services/network/networktypes" ) func TestToChainLaunch(t *testing.T) { diff --git a/ignite/services/network/networktypes/genesisinformation_test.go b/ignite/services/network/networktypes/genesisinformation_test.go index 70a1b4245a..954faa7c95 100644 --- a/ignite/services/network/networktypes/genesisinformation_test.go +++ b/ignite/services/network/networktypes/genesisinformation_test.go @@ -8,7 +8,7 @@ import ( "github.com/stretchr/testify/require" launchtypes "github.com/tendermint/spn/x/launch/types" - "github.com/ignite-hq/cli/ignite/services/network/networktypes" + "github.com/ignite/cli/ignite/services/network/networktypes" ) var ( diff --git a/ignite/services/network/networktypes/request.go b/ignite/services/network/networktypes/request.go index c7e3769bbe..64d57029c2 100644 --- a/ignite/services/network/networktypes/request.go +++ b/ignite/services/network/networktypes/request.go @@ -6,8 +6,8 @@ import ( launchtypes "github.com/tendermint/spn/x/launch/types" "github.com/tendermint/tendermint/crypto/ed25519" - "github.com/ignite-hq/cli/ignite/pkg/cosmosutil" - "github.com/ignite-hq/cli/ignite/pkg/xtime" + "github.com/ignite/cli/ignite/pkg/cosmosutil" + "github.com/ignite/cli/ignite/pkg/xtime" ) type ( diff --git a/ignite/services/network/networktypes/request_test.go b/ignite/services/network/networktypes/request_test.go index 0e0011de47..ce4a6a0d4a 100644 --- a/ignite/services/network/networktypes/request_test.go +++ b/ignite/services/network/networktypes/request_test.go @@ -10,7 +10,7 @@ import ( launchtypes "github.com/tendermint/spn/x/launch/types" "github.com/tendermint/tendermint/crypto/ed25519" - "github.com/ignite-hq/cli/ignite/services/network/networktypes" + "github.com/ignite/cli/ignite/services/network/networktypes" ) func TestVerifyAddValidatorRequest(t *testing.T) { diff --git a/ignite/services/network/node.go b/ignite/services/network/node.go index f249461906..61991188b7 100644 --- a/ignite/services/network/node.go +++ b/ignite/services/network/node.go @@ -7,7 +7,7 @@ import ( stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" spntypes "github.com/tendermint/spn/pkg/types" - "github.com/ignite-hq/cli/ignite/services/network/networktypes" + "github.com/ignite/cli/ignite/services/network/networktypes" ) // Node is node builder. diff --git a/ignite/services/network/publish.go b/ignite/services/network/publish.go index 345cec8f83..1105076261 100644 --- a/ignite/services/network/publish.go +++ b/ignite/services/network/publish.go @@ -9,10 +9,10 @@ import ( launchtypes "github.com/tendermint/spn/x/launch/types" profiletypes "github.com/tendermint/spn/x/profile/types" - "github.com/ignite-hq/cli/ignite/pkg/cosmoserror" - "github.com/ignite-hq/cli/ignite/pkg/cosmosutil" - "github.com/ignite-hq/cli/ignite/pkg/events" - "github.com/ignite-hq/cli/ignite/services/network/networktypes" + "github.com/ignite/cli/ignite/pkg/cosmoserror" + "github.com/ignite/cli/ignite/pkg/cosmosutil" + "github.com/ignite/cli/ignite/pkg/events" + "github.com/ignite/cli/ignite/services/network/networktypes" ) // publishOptions holds info about how to create a chain. diff --git a/ignite/services/network/publish_test.go b/ignite/services/network/publish_test.go index d2536ed869..bf506c4f04 100644 --- a/ignite/services/network/publish_test.go +++ b/ignite/services/network/publish_test.go @@ -15,10 +15,10 @@ import ( launchtypes "github.com/tendermint/spn/x/launch/types" profiletypes "github.com/tendermint/spn/x/profile/types" - "github.com/ignite-hq/cli/ignite/pkg/cosmoserror" - "github.com/ignite-hq/cli/ignite/pkg/cosmosutil" - "github.com/ignite-hq/cli/ignite/services/network/networktypes" - "github.com/ignite-hq/cli/ignite/services/network/testutil" + "github.com/ignite/cli/ignite/pkg/cosmoserror" + "github.com/ignite/cli/ignite/pkg/cosmosutil" + "github.com/ignite/cli/ignite/services/network/networktypes" + "github.com/ignite/cli/ignite/services/network/testutil" ) func startGenesisTestServer(genesis cosmosutil.ChainGenesis) *httptest.Server { diff --git a/ignite/services/network/queries.go b/ignite/services/network/queries.go index 5b010f9398..d29d76f752 100644 --- a/ignite/services/network/queries.go +++ b/ignite/services/network/queries.go @@ -12,9 +12,9 @@ import ( rewardtypes "github.com/tendermint/spn/x/reward/types" "golang.org/x/sync/errgroup" - "github.com/ignite-hq/cli/ignite/pkg/cosmoserror" - "github.com/ignite-hq/cli/ignite/pkg/events" - "github.com/ignite-hq/cli/ignite/services/network/networktypes" + "github.com/ignite/cli/ignite/pkg/cosmoserror" + "github.com/ignite/cli/ignite/pkg/events" + "github.com/ignite/cli/ignite/services/network/networktypes" ) var ( @@ -185,26 +185,6 @@ func (n Network) MainnetAccounts(ctx context.Context, campaignID uint64) (genAcc return genAccs, nil } -// MainnetVestingAccounts returns the list of campaign mainnet vesting accounts for a launch from SPN -func (n Network) MainnetVestingAccounts(ctx context.Context, campaignID uint64) (genAccs []networktypes.MainnetVestingAccount, err error) { - n.ev.Send(events.New(events.StatusOngoing, "Fetching campaign mainnet vesting accounts")) - res, err := n.campaignQuery. - MainnetVestingAccountAll(ctx, - &campaigntypes.QueryAllMainnetVestingAccountRequest{ - CampaignID: campaignID, - }, - ) - if err != nil { - return genAccs, err - } - - for _, acc := range res.MainnetVestingAccount { - genAccs = append(genAccs, networktypes.ToMainnetVestingAccount(acc)) - } - - return genAccs, nil -} - // ChainReward fetches the chain reward from SPN by launch id func (n Network) ChainReward(ctx context.Context, launchID uint64) (rewardtypes.RewardPool, error) { res, err := n.rewardQuery. diff --git a/ignite/services/network/request.go b/ignite/services/network/request.go index 06d628e8db..3e746afb80 100644 --- a/ignite/services/network/request.go +++ b/ignite/services/network/request.go @@ -6,8 +6,8 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" launchtypes "github.com/tendermint/spn/x/launch/types" - "github.com/ignite-hq/cli/ignite/pkg/events" - "github.com/ignite-hq/cli/ignite/services/network/networktypes" + "github.com/ignite/cli/ignite/pkg/events" + "github.com/ignite/cli/ignite/services/network/networktypes" ) // Reviewal keeps a request's reviewal. diff --git a/ignite/services/network/reward.go b/ignite/services/network/reward.go index e4b99c59d8..ae39174682 100644 --- a/ignite/services/network/reward.go +++ b/ignite/services/network/reward.go @@ -6,9 +6,9 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" rewardtypes "github.com/tendermint/spn/x/reward/types" - "github.com/ignite-hq/cli/ignite/pkg/cliui/icons" - "github.com/ignite-hq/cli/ignite/pkg/events" - "github.com/ignite-hq/cli/ignite/services/network/networktypes" + "github.com/ignite/cli/ignite/pkg/cliui/icons" + "github.com/ignite/cli/ignite/pkg/events" + "github.com/ignite/cli/ignite/services/network/networktypes" ) // SetReward set a chain reward diff --git a/ignite/services/network/reward_test.go b/ignite/services/network/reward_test.go index f2e4a4cdd6..d770a75b3b 100644 --- a/ignite/services/network/reward_test.go +++ b/ignite/services/network/reward_test.go @@ -9,8 +9,8 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" rewardtypes "github.com/tendermint/spn/x/reward/types" - "github.com/ignite-hq/cli/ignite/services/network/networktypes" - "github.com/ignite-hq/cli/ignite/services/network/testutil" + "github.com/ignite/cli/ignite/services/network/networktypes" + "github.com/ignite/cli/ignite/services/network/testutil" ) func TestSetReward(t *testing.T) { diff --git a/ignite/services/network/share_percent_test.go b/ignite/services/network/share_percent_test.go index 56b87dcc7e..26bb2bcdcc 100644 --- a/ignite/services/network/share_percent_test.go +++ b/ignite/services/network/share_percent_test.go @@ -4,7 +4,7 @@ import ( "errors" "testing" - "github.com/ignite-hq/cli/ignite/services/network" + "github.com/ignite/cli/ignite/services/network" sdk "github.com/cosmos/cosmos-sdk/types" "github.com/stretchr/testify/require" diff --git a/ignite/services/network/testutil/account.go b/ignite/services/network/testutil/account.go index aed2409cea..dda13da46d 100644 --- a/ignite/services/network/testutil/account.go +++ b/ignite/services/network/testutil/account.go @@ -5,7 +5,7 @@ import ( "github.com/stretchr/testify/assert" - "github.com/ignite-hq/cli/ignite/pkg/cosmosaccount" + "github.com/ignite/cli/ignite/pkg/cosmosaccount" ) const ( diff --git a/ignite/services/network/testutil/response.go b/ignite/services/network/testutil/response.go index 01f1bdf33a..0bfd92f0a7 100644 --- a/ignite/services/network/testutil/response.go +++ b/ignite/services/network/testutil/response.go @@ -10,7 +10,7 @@ import ( prototypes "github.com/gogo/protobuf/types" "google.golang.org/protobuf/runtime/protoiface" - "github.com/ignite-hq/cli/ignite/pkg/cosmosclient" + "github.com/ignite/cli/ignite/pkg/cosmosclient" ) // NewResponse creates cosmosclient.Response object from proto struct diff --git a/ignite/services/network/testutil/suite.go b/ignite/services/network/testutil/suite.go index 44c73cfb79..a63629b82a 100644 --- a/ignite/services/network/testutil/suite.go +++ b/ignite/services/network/testutil/suite.go @@ -5,7 +5,7 @@ import ( "github.com/cosmos/cosmos-sdk/client" - "github.com/ignite-hq/cli/ignite/services/network/mocks" + "github.com/ignite/cli/ignite/services/network/mocks" ) // Suite is a mocks container, used to write less code for tests setup diff --git a/ignite/services/scaffolder/component.go b/ignite/services/scaffolder/component.go index 0c3a5cc3c8..14bee0b5bb 100644 --- a/ignite/services/scaffolder/component.go +++ b/ignite/services/scaffolder/component.go @@ -11,9 +11,9 @@ import ( "path/filepath" "strings" - "github.com/ignite-hq/cli/ignite/pkg/multiformatname" - "github.com/ignite-hq/cli/ignite/pkg/protoanalysis" - "github.com/ignite-hq/cli/ignite/templates/field/datatype" + "github.com/ignite/cli/ignite/pkg/multiformatname" + "github.com/ignite/cli/ignite/pkg/protoanalysis" + "github.com/ignite/cli/ignite/templates/field/datatype" ) const ( diff --git a/ignite/services/scaffolder/init.go b/ignite/services/scaffolder/init.go index 706f0bc5b7..c34a38d385 100644 --- a/ignite/services/scaffolder/init.go +++ b/ignite/services/scaffolder/init.go @@ -13,12 +13,12 @@ import ( "github.com/tendermint/flutter/v2" "github.com/tendermint/vue" - "github.com/ignite-hq/cli/ignite/pkg/cache" - "github.com/ignite-hq/cli/ignite/pkg/gomodulepath" - "github.com/ignite-hq/cli/ignite/pkg/localfs" - "github.com/ignite-hq/cli/ignite/pkg/placeholder" - "github.com/ignite-hq/cli/ignite/templates/app" - modulecreate "github.com/ignite-hq/cli/ignite/templates/module/create" + "github.com/ignite/cli/ignite/pkg/cache" + "github.com/ignite/cli/ignite/pkg/gomodulepath" + "github.com/ignite/cli/ignite/pkg/localfs" + "github.com/ignite/cli/ignite/pkg/placeholder" + "github.com/ignite/cli/ignite/templates/app" + modulecreate "github.com/ignite/cli/ignite/templates/module/create" ) var ( diff --git a/ignite/services/scaffolder/message.go b/ignite/services/scaffolder/message.go index bd1d2f3115..ac05096bcc 100644 --- a/ignite/services/scaffolder/message.go +++ b/ignite/services/scaffolder/message.go @@ -6,14 +6,14 @@ import ( "github.com/gobuffalo/genny" - "github.com/ignite-hq/cli/ignite/pkg/cache" - "github.com/ignite-hq/cli/ignite/pkg/multiformatname" - "github.com/ignite-hq/cli/ignite/pkg/placeholder" - "github.com/ignite-hq/cli/ignite/pkg/xgenny" - "github.com/ignite-hq/cli/ignite/templates/field" - "github.com/ignite-hq/cli/ignite/templates/field/datatype" - "github.com/ignite-hq/cli/ignite/templates/message" - modulecreate "github.com/ignite-hq/cli/ignite/templates/module/create" + "github.com/ignite/cli/ignite/pkg/cache" + "github.com/ignite/cli/ignite/pkg/multiformatname" + "github.com/ignite/cli/ignite/pkg/placeholder" + "github.com/ignite/cli/ignite/pkg/xgenny" + "github.com/ignite/cli/ignite/templates/field" + "github.com/ignite/cli/ignite/templates/field/datatype" + "github.com/ignite/cli/ignite/templates/message" + modulecreate "github.com/ignite/cli/ignite/templates/module/create" ) // messageOptions represents configuration for the message scaffolding diff --git a/ignite/services/scaffolder/module.go b/ignite/services/scaffolder/module.go index 0bab777d95..8313bc1b39 100644 --- a/ignite/services/scaffolder/module.go +++ b/ignite/services/scaffolder/module.go @@ -12,20 +12,20 @@ import ( "github.com/gobuffalo/genny" - "github.com/ignite-hq/cli/ignite/pkg/cache" - "github.com/ignite-hq/cli/ignite/pkg/cmdrunner" - "github.com/ignite-hq/cli/ignite/pkg/cmdrunner/step" - appanalysis "github.com/ignite-hq/cli/ignite/pkg/cosmosanalysis/app" - "github.com/ignite-hq/cli/ignite/pkg/cosmosver" - "github.com/ignite-hq/cli/ignite/pkg/gocmd" - "github.com/ignite-hq/cli/ignite/pkg/multiformatname" - "github.com/ignite-hq/cli/ignite/pkg/placeholder" - "github.com/ignite-hq/cli/ignite/pkg/validation" - "github.com/ignite-hq/cli/ignite/pkg/xgenny" - "github.com/ignite-hq/cli/ignite/templates/field" - "github.com/ignite-hq/cli/ignite/templates/module" - modulecreate "github.com/ignite-hq/cli/ignite/templates/module/create" - moduleimport "github.com/ignite-hq/cli/ignite/templates/module/import" + "github.com/ignite/cli/ignite/pkg/cache" + "github.com/ignite/cli/ignite/pkg/cmdrunner" + "github.com/ignite/cli/ignite/pkg/cmdrunner/step" + appanalysis "github.com/ignite/cli/ignite/pkg/cosmosanalysis/app" + "github.com/ignite/cli/ignite/pkg/cosmosver" + "github.com/ignite/cli/ignite/pkg/gocmd" + "github.com/ignite/cli/ignite/pkg/multiformatname" + "github.com/ignite/cli/ignite/pkg/placeholder" + "github.com/ignite/cli/ignite/pkg/validation" + "github.com/ignite/cli/ignite/pkg/xgenny" + "github.com/ignite/cli/ignite/templates/field" + "github.com/ignite/cli/ignite/templates/module" + modulecreate "github.com/ignite/cli/ignite/templates/module/create" + moduleimport "github.com/ignite/cli/ignite/templates/module/import" ) const ( diff --git a/ignite/services/scaffolder/oracle.go b/ignite/services/scaffolder/oracle.go index 4f73c20867..4ff78dca70 100644 --- a/ignite/services/scaffolder/oracle.go +++ b/ignite/services/scaffolder/oracle.go @@ -6,14 +6,14 @@ import ( "github.com/gobuffalo/genny" - "github.com/ignite-hq/cli/ignite/pkg/cache" - "github.com/ignite-hq/cli/ignite/pkg/cmdrunner" - "github.com/ignite-hq/cli/ignite/pkg/cmdrunner/step" - "github.com/ignite-hq/cli/ignite/pkg/gocmd" - "github.com/ignite-hq/cli/ignite/pkg/multiformatname" - "github.com/ignite-hq/cli/ignite/pkg/placeholder" - "github.com/ignite-hq/cli/ignite/pkg/xgenny" - "github.com/ignite-hq/cli/ignite/templates/ibc" + "github.com/ignite/cli/ignite/pkg/cache" + "github.com/ignite/cli/ignite/pkg/cmdrunner" + "github.com/ignite/cli/ignite/pkg/cmdrunner/step" + "github.com/ignite/cli/ignite/pkg/gocmd" + "github.com/ignite/cli/ignite/pkg/multiformatname" + "github.com/ignite/cli/ignite/pkg/placeholder" + "github.com/ignite/cli/ignite/pkg/xgenny" + "github.com/ignite/cli/ignite/templates/ibc" ) const ( diff --git a/ignite/services/scaffolder/packet.go b/ignite/services/scaffolder/packet.go index c721371ce5..bf8b1a7a5e 100644 --- a/ignite/services/scaffolder/packet.go +++ b/ignite/services/scaffolder/packet.go @@ -8,13 +8,13 @@ import ( "github.com/gobuffalo/genny" - "github.com/ignite-hq/cli/ignite/pkg/cache" - "github.com/ignite-hq/cli/ignite/pkg/multiformatname" - "github.com/ignite-hq/cli/ignite/pkg/placeholder" - "github.com/ignite-hq/cli/ignite/pkg/xgenny" - "github.com/ignite-hq/cli/ignite/templates/field" - "github.com/ignite-hq/cli/ignite/templates/field/datatype" - "github.com/ignite-hq/cli/ignite/templates/ibc" + "github.com/ignite/cli/ignite/pkg/cache" + "github.com/ignite/cli/ignite/pkg/multiformatname" + "github.com/ignite/cli/ignite/pkg/placeholder" + "github.com/ignite/cli/ignite/pkg/xgenny" + "github.com/ignite/cli/ignite/templates/field" + "github.com/ignite/cli/ignite/templates/field/datatype" + "github.com/ignite/cli/ignite/templates/ibc" ) const ( diff --git a/ignite/services/scaffolder/patch.go b/ignite/services/scaffolder/patch.go index 0976033c20..848ec8bac6 100644 --- a/ignite/services/scaffolder/patch.go +++ b/ignite/services/scaffolder/patch.go @@ -6,8 +6,8 @@ import ( "github.com/gobuffalo/genny" - "github.com/ignite-hq/cli/ignite/pkg/placeholder" - modulecreate "github.com/ignite-hq/cli/ignite/templates/module/create" + "github.com/ignite/cli/ignite/pkg/placeholder" + modulecreate "github.com/ignite/cli/ignite/templates/module/create" ) // supportSimulation checks if module_simulation.go exists diff --git a/ignite/services/scaffolder/query.go b/ignite/services/scaffolder/query.go index 0100fd1c62..f07e4463f5 100644 --- a/ignite/services/scaffolder/query.go +++ b/ignite/services/scaffolder/query.go @@ -6,12 +6,12 @@ import ( "github.com/gobuffalo/genny" - "github.com/ignite-hq/cli/ignite/pkg/cache" - "github.com/ignite-hq/cli/ignite/pkg/multiformatname" - "github.com/ignite-hq/cli/ignite/pkg/placeholder" - "github.com/ignite-hq/cli/ignite/pkg/xgenny" - "github.com/ignite-hq/cli/ignite/templates/field" - "github.com/ignite-hq/cli/ignite/templates/query" + "github.com/ignite/cli/ignite/pkg/cache" + "github.com/ignite/cli/ignite/pkg/multiformatname" + "github.com/ignite/cli/ignite/pkg/placeholder" + "github.com/ignite/cli/ignite/pkg/xgenny" + "github.com/ignite/cli/ignite/templates/field" + "github.com/ignite/cli/ignite/templates/query" ) // AddQuery adds a new query to scaffolded app diff --git a/ignite/services/scaffolder/scaffolder.go b/ignite/services/scaffolder/scaffolder.go index 465d5a3bca..2c5def8284 100644 --- a/ignite/services/scaffolder/scaffolder.go +++ b/ignite/services/scaffolder/scaffolder.go @@ -7,17 +7,17 @@ import ( "os" "path/filepath" - "github.com/ignite-hq/cli/ignite/chainconfig" - sperrors "github.com/ignite-hq/cli/ignite/errors" - "github.com/ignite-hq/cli/ignite/pkg/cache" - "github.com/ignite-hq/cli/ignite/pkg/cmdrunner" - "github.com/ignite-hq/cli/ignite/pkg/cmdrunner/step" - "github.com/ignite-hq/cli/ignite/pkg/cosmosanalysis" - "github.com/ignite-hq/cli/ignite/pkg/cosmosgen" - "github.com/ignite-hq/cli/ignite/pkg/cosmosver" - "github.com/ignite-hq/cli/ignite/pkg/gocmd" - "github.com/ignite-hq/cli/ignite/pkg/gomodule" - "github.com/ignite-hq/cli/ignite/pkg/gomodulepath" + "github.com/ignite/cli/ignite/chainconfig" + sperrors "github.com/ignite/cli/ignite/errors" + "github.com/ignite/cli/ignite/pkg/cache" + "github.com/ignite/cli/ignite/pkg/cmdrunner" + "github.com/ignite/cli/ignite/pkg/cmdrunner/step" + "github.com/ignite/cli/ignite/pkg/cosmosanalysis" + "github.com/ignite/cli/ignite/pkg/cosmosgen" + "github.com/ignite/cli/ignite/pkg/cosmosver" + "github.com/ignite/cli/ignite/pkg/gocmd" + "github.com/ignite/cli/ignite/pkg/gomodule" + "github.com/ignite/cli/ignite/pkg/gomodulepath" ) // Scaffolder is Ignite CLI app scaffolder. diff --git a/ignite/services/scaffolder/type.go b/ignite/services/scaffolder/type.go index b0c4396081..dab7e5cef7 100644 --- a/ignite/services/scaffolder/type.go +++ b/ignite/services/scaffolder/type.go @@ -7,18 +7,18 @@ import ( "github.com/gobuffalo/genny" - "github.com/ignite-hq/cli/ignite/pkg/cache" - "github.com/ignite-hq/cli/ignite/pkg/multiformatname" - "github.com/ignite-hq/cli/ignite/pkg/placeholder" - "github.com/ignite-hq/cli/ignite/pkg/xgenny" - "github.com/ignite-hq/cli/ignite/templates/field" - "github.com/ignite-hq/cli/ignite/templates/field/datatype" - modulecreate "github.com/ignite-hq/cli/ignite/templates/module/create" - "github.com/ignite-hq/cli/ignite/templates/typed" - "github.com/ignite-hq/cli/ignite/templates/typed/dry" - "github.com/ignite-hq/cli/ignite/templates/typed/list" - maptype "github.com/ignite-hq/cli/ignite/templates/typed/map" - "github.com/ignite-hq/cli/ignite/templates/typed/singleton" + "github.com/ignite/cli/ignite/pkg/cache" + "github.com/ignite/cli/ignite/pkg/multiformatname" + "github.com/ignite/cli/ignite/pkg/placeholder" + "github.com/ignite/cli/ignite/pkg/xgenny" + "github.com/ignite/cli/ignite/templates/field" + "github.com/ignite/cli/ignite/templates/field/datatype" + modulecreate "github.com/ignite/cli/ignite/templates/module/create" + "github.com/ignite/cli/ignite/templates/typed" + "github.com/ignite/cli/ignite/templates/typed/dry" + "github.com/ignite/cli/ignite/templates/typed/list" + maptype "github.com/ignite/cli/ignite/templates/typed/map" + "github.com/ignite/cli/ignite/templates/typed/singleton" ) // AddTypeOption configures options for AddType. diff --git a/ignite/templates/app/app.go b/ignite/templates/app/app.go index 3b0f181877..23bb07cbea 100644 --- a/ignite/templates/app/app.go +++ b/ignite/templates/app/app.go @@ -7,9 +7,9 @@ import ( "github.com/gobuffalo/plush" "github.com/gobuffalo/plushgen" - "github.com/ignite-hq/cli/ignite/pkg/xgenny" - "github.com/ignite-hq/cli/ignite/templates/field/plushhelpers" - "github.com/ignite-hq/cli/ignite/templates/testutil" + "github.com/ignite/cli/ignite/pkg/xgenny" + "github.com/ignite/cli/ignite/templates/field/plushhelpers" + "github.com/ignite/cli/ignite/templates/testutil" ) var ( diff --git a/ignite/templates/app/stargate/.github/workflows/release.yml b/ignite/templates/app/stargate/.github/workflows/release.yml index 6d34e35a95..f947a721f3 100644 --- a/ignite/templates/app/stargate/.github/workflows/release.yml +++ b/ignite/templates/app/stargate/.github/workflows/release.yml @@ -31,7 +31,7 @@ jobs: uses: ignite-hq/cli/actions/cli@develop if: ${{ steps.vars.outputs.should_release == 'true' }} with: - args: chain build --release --release.prefix ${{ steps.vars.outputs.tarball_prefix }} -t linux:amd64 -t darwin:amd64 + args: chain build --release --release.prefix ${{ steps.vars.outputs.tarball_prefix }} -t linux:amd64 -t darwin:amd64 -t darwin:arm64 - name: Delete the "latest" Release uses: dev-drprasad/delete-tag-and-release@v0.2.0 diff --git a/ignite/templates/app/stargate/app/app.go.plush b/ignite/templates/app/stargate/app/app.go.plush index 6e726f82c9..fef07342fd 100644 --- a/ignite/templates/app/stargate/app/app.go.plush +++ b/ignite/templates/app/stargate/app/app.go.plush @@ -91,8 +91,8 @@ import ( tmos "github.com/tendermint/tendermint/libs/os" dbm "github.com/tendermint/tm-db" - "github.com/ignite-hq/cli/ignite/pkg/cosmoscmd" - "github.com/ignite-hq/cli/ignite/pkg/openapiconsole" + "github.com/ignite/cli/ignite/pkg/cosmoscmd" + "github.com/ignite/cli/ignite/pkg/openapiconsole" monitoringp "github.com/tendermint/spn/x/monitoringp" monitoringpkeeper "github.com/tendermint/spn/x/monitoringp/keeper" diff --git a/ignite/templates/app/stargate/app/simulation_test.go.plush b/ignite/templates/app/stargate/app/simulation_test.go.plush index f5f67851ba..cf2e22e397 100644 --- a/ignite/templates/app/stargate/app/simulation_test.go.plush +++ b/ignite/templates/app/stargate/app/simulation_test.go.plush @@ -13,7 +13,7 @@ import ( simulationtypes "github.com/cosmos/cosmos-sdk/types/simulation" "github.com/cosmos/cosmos-sdk/x/simulation" "github.com/stretchr/testify/require" - "github.com/ignite-hq/cli/ignite/pkg/cosmoscmd" + "github.com/ignite/cli/ignite/pkg/cosmoscmd" "<%= ModulePath %>/app" abci "github.com/tendermint/tendermint/abci/types" tmproto "github.com/tendermint/tendermint/proto/tendermint/types" diff --git a/ignite/templates/app/stargate/cmd/{{binaryNamePrefix}}d/main.go.plush b/ignite/templates/app/stargate/cmd/{{binaryNamePrefix}}d/main.go.plush index 484547fde8..04d5ac4464 100644 --- a/ignite/templates/app/stargate/cmd/{{binaryNamePrefix}}d/main.go.plush +++ b/ignite/templates/app/stargate/cmd/{{binaryNamePrefix}}d/main.go.plush @@ -5,7 +5,7 @@ import ( svrcmd "github.com/cosmos/cosmos-sdk/server/cmd" "<%= ModulePath %>/app" - "github.com/ignite-hq/cli/ignite/pkg/cosmoscmd" + "github.com/ignite/cli/ignite/pkg/cosmoscmd" ) func main() { diff --git a/ignite/templates/app/stargate/go.mod.plush b/ignite/templates/app/stargate/go.mod.plush index 36cb8c70b6..d58ad9565e 100644 --- a/ignite/templates/app/stargate/go.mod.plush +++ b/ignite/templates/app/stargate/go.mod.plush @@ -9,7 +9,7 @@ require ( github.com/golang/protobuf v1.5.2 github.com/gorilla/mux v1.8.0 github.com/grpc-ecosystem/grpc-gateway v1.16.0 - github.com/ignite-hq/cli v0.22.0 + github.com/ignite/cli v0.22.2 github.com/spf13/cast v1.4.1 github.com/spf13/cobra v1.4.0 github.com/stretchr/testify v1.7.1 diff --git a/ignite/templates/app/stargate/readme.md.plush b/ignite/templates/app/stargate/readme.md.plush index 16bddb321f..fecba96974 100644 --- a/ignite/templates/app/stargate/readme.md.plush +++ b/ignite/templates/app/stargate/readme.md.plush @@ -23,7 +23,7 @@ npm install npm run serve ``` -The frontend app is built using the `@starport/vue` and `@starport/vuex` packages. For details, see the [monorepo for Ignite front-end development](https://github.com/ignite-hq/web). +The frontend app is built using the `@starport/vue` and `@starport/vuex` packages. For details, see the [monorepo for Ignite front-end development](https://github.com/ignite/web). ## Release To release a new version of your blockchain, create and push a new tag with `v` prefix. A new draft release with the configured targets will be created. diff --git a/ignite/templates/field/datatype/bool.go b/ignite/templates/field/datatype/bool.go index 914475dbc9..a1d459f206 100644 --- a/ignite/templates/field/datatype/bool.go +++ b/ignite/templates/field/datatype/bool.go @@ -3,7 +3,7 @@ package datatype import ( "fmt" - "github.com/ignite-hq/cli/ignite/pkg/multiformatname" + "github.com/ignite/cli/ignite/pkg/multiformatname" ) var ( diff --git a/ignite/templates/field/datatype/coin.go b/ignite/templates/field/datatype/coin.go index 095a2b8907..0425b22e2a 100644 --- a/ignite/templates/field/datatype/coin.go +++ b/ignite/templates/field/datatype/coin.go @@ -3,7 +3,7 @@ package datatype import ( "fmt" - "github.com/ignite-hq/cli/ignite/pkg/multiformatname" + "github.com/ignite/cli/ignite/pkg/multiformatname" ) var ( diff --git a/ignite/templates/field/datatype/custom.go b/ignite/templates/field/datatype/custom.go index e344facb55..17e69572a5 100644 --- a/ignite/templates/field/datatype/custom.go +++ b/ignite/templates/field/datatype/custom.go @@ -3,7 +3,7 @@ package datatype import ( "fmt" - "github.com/ignite-hq/cli/ignite/pkg/multiformatname" + "github.com/ignite/cli/ignite/pkg/multiformatname" ) var ( diff --git a/ignite/templates/field/datatype/int.go b/ignite/templates/field/datatype/int.go index 7edecb3604..91cc7f4414 100644 --- a/ignite/templates/field/datatype/int.go +++ b/ignite/templates/field/datatype/int.go @@ -3,7 +3,7 @@ package datatype import ( "fmt" - "github.com/ignite-hq/cli/ignite/pkg/multiformatname" + "github.com/ignite/cli/ignite/pkg/multiformatname" ) var ( diff --git a/ignite/templates/field/datatype/string.go b/ignite/templates/field/datatype/string.go index 37fa9eb8a4..3103afd28c 100644 --- a/ignite/templates/field/datatype/string.go +++ b/ignite/templates/field/datatype/string.go @@ -3,7 +3,7 @@ package datatype import ( "fmt" - "github.com/ignite-hq/cli/ignite/pkg/multiformatname" + "github.com/ignite/cli/ignite/pkg/multiformatname" ) var ( diff --git a/ignite/templates/field/datatype/types.go b/ignite/templates/field/datatype/types.go index 18fc4ec304..4bc6f5cd71 100644 --- a/ignite/templates/field/datatype/types.go +++ b/ignite/templates/field/datatype/types.go @@ -1,7 +1,7 @@ package datatype import ( - "github.com/ignite-hq/cli/ignite/pkg/multiformatname" + "github.com/ignite/cli/ignite/pkg/multiformatname" ) const ( diff --git a/ignite/templates/field/datatype/uint.go b/ignite/templates/field/datatype/uint.go index fffee0c5bd..5429f88d4b 100644 --- a/ignite/templates/field/datatype/uint.go +++ b/ignite/templates/field/datatype/uint.go @@ -3,7 +3,7 @@ package datatype import ( "fmt" - "github.com/ignite-hq/cli/ignite/pkg/multiformatname" + "github.com/ignite/cli/ignite/pkg/multiformatname" ) var ( diff --git a/ignite/templates/field/field.go b/ignite/templates/field/field.go index 4c3d9717fa..0f3bfa7ecc 100644 --- a/ignite/templates/field/field.go +++ b/ignite/templates/field/field.go @@ -4,8 +4,8 @@ package field import ( "fmt" - "github.com/ignite-hq/cli/ignite/pkg/multiformatname" - "github.com/ignite-hq/cli/ignite/templates/field/datatype" + "github.com/ignite/cli/ignite/pkg/multiformatname" + "github.com/ignite/cli/ignite/templates/field/datatype" ) // Field represents a field inside a structure for a component diff --git a/ignite/templates/field/fields.go b/ignite/templates/field/fields.go index f457aa5d37..7986e34c51 100644 --- a/ignite/templates/field/fields.go +++ b/ignite/templates/field/fields.go @@ -3,8 +3,8 @@ package field import ( "fmt" - "github.com/ignite-hq/cli/ignite/pkg/multiformatname" - "github.com/ignite-hq/cli/ignite/templates/field/datatype" + "github.com/ignite/cli/ignite/pkg/multiformatname" + "github.com/ignite/cli/ignite/templates/field/datatype" ) // Fields represents a Field slice diff --git a/ignite/templates/field/parse.go b/ignite/templates/field/parse.go index b7c5030dfc..29272df355 100644 --- a/ignite/templates/field/parse.go +++ b/ignite/templates/field/parse.go @@ -4,8 +4,8 @@ import ( "fmt" "strings" - "github.com/ignite-hq/cli/ignite/pkg/multiformatname" - "github.com/ignite-hq/cli/ignite/templates/field/datatype" + "github.com/ignite/cli/ignite/pkg/multiformatname" + "github.com/ignite/cli/ignite/templates/field/datatype" ) // validateField validates the field Name and type, and checks the name is not forbidden by Ignite CLI diff --git a/ignite/templates/field/parse_test.go b/ignite/templates/field/parse_test.go index d92fcc7520..1283e8fadb 100644 --- a/ignite/templates/field/parse_test.go +++ b/ignite/templates/field/parse_test.go @@ -6,8 +6,8 @@ import ( "github.com/stretchr/testify/require" - "github.com/ignite-hq/cli/ignite/pkg/multiformatname" - "github.com/ignite-hq/cli/ignite/templates/field/datatype" + "github.com/ignite/cli/ignite/pkg/multiformatname" + "github.com/ignite/cli/ignite/templates/field/datatype" ) var ( diff --git a/ignite/templates/field/plushhelpers/plushhelpers.go b/ignite/templates/field/plushhelpers/plushhelpers.go index be249741b5..0625acb1ce 100644 --- a/ignite/templates/field/plushhelpers/plushhelpers.go +++ b/ignite/templates/field/plushhelpers/plushhelpers.go @@ -3,9 +3,9 @@ package plushhelpers import ( "github.com/gobuffalo/plush" - "github.com/ignite-hq/cli/ignite/pkg/xstrings" - "github.com/ignite-hq/cli/ignite/templates/field" - "github.com/ignite-hq/cli/ignite/templates/field/datatype" + "github.com/ignite/cli/ignite/pkg/xstrings" + "github.com/ignite/cli/ignite/templates/field" + "github.com/ignite/cli/ignite/templates/field/datatype" ) // ExtendPlushContext sets available field helpers on the provided context. diff --git a/ignite/templates/ibc/oracle.go b/ignite/templates/ibc/oracle.go index d876c4276a..79e988bbda 100644 --- a/ignite/templates/ibc/oracle.go +++ b/ignite/templates/ibc/oracle.go @@ -10,13 +10,13 @@ import ( "github.com/gobuffalo/plush" "github.com/gobuffalo/plushgen" - "github.com/ignite-hq/cli/ignite/pkg/gomodulepath" - "github.com/ignite-hq/cli/ignite/pkg/multiformatname" - "github.com/ignite-hq/cli/ignite/pkg/placeholder" - "github.com/ignite-hq/cli/ignite/pkg/xgenny" - "github.com/ignite-hq/cli/ignite/templates/field/plushhelpers" - "github.com/ignite-hq/cli/ignite/templates/module" - "github.com/ignite-hq/cli/ignite/templates/testutil" + "github.com/ignite/cli/ignite/pkg/gomodulepath" + "github.com/ignite/cli/ignite/pkg/multiformatname" + "github.com/ignite/cli/ignite/pkg/placeholder" + "github.com/ignite/cli/ignite/pkg/xgenny" + "github.com/ignite/cli/ignite/templates/field/plushhelpers" + "github.com/ignite/cli/ignite/templates/module" + "github.com/ignite/cli/ignite/templates/testutil" ) var ( diff --git a/ignite/templates/ibc/packet.go b/ignite/templates/ibc/packet.go index 3c86d07cfc..766994759f 100644 --- a/ignite/templates/ibc/packet.go +++ b/ignite/templates/ibc/packet.go @@ -10,14 +10,14 @@ import ( "github.com/gobuffalo/plush" "github.com/gobuffalo/plushgen" - "github.com/ignite-hq/cli/ignite/pkg/multiformatname" - "github.com/ignite-hq/cli/ignite/pkg/placeholder" - "github.com/ignite-hq/cli/ignite/pkg/xgenny" - "github.com/ignite-hq/cli/ignite/pkg/xstrings" - "github.com/ignite-hq/cli/ignite/templates/field" - "github.com/ignite-hq/cli/ignite/templates/field/plushhelpers" - "github.com/ignite-hq/cli/ignite/templates/module" - "github.com/ignite-hq/cli/ignite/templates/testutil" + "github.com/ignite/cli/ignite/pkg/multiformatname" + "github.com/ignite/cli/ignite/pkg/placeholder" + "github.com/ignite/cli/ignite/pkg/xgenny" + "github.com/ignite/cli/ignite/pkg/xstrings" + "github.com/ignite/cli/ignite/templates/field" + "github.com/ignite/cli/ignite/templates/field/plushhelpers" + "github.com/ignite/cli/ignite/templates/module" + "github.com/ignite/cli/ignite/templates/testutil" ) var ( diff --git a/ignite/templates/message/message.go b/ignite/templates/message/message.go index 8e958027f4..bb19fab17d 100644 --- a/ignite/templates/message/message.go +++ b/ignite/templates/message/message.go @@ -8,8 +8,8 @@ import ( "github.com/gobuffalo/plush" "github.com/gobuffalo/plushgen" - "github.com/ignite-hq/cli/ignite/templates/field/plushhelpers" - "github.com/ignite-hq/cli/ignite/templates/testutil" + "github.com/ignite/cli/ignite/templates/field/plushhelpers" + "github.com/ignite/cli/ignite/templates/testutil" ) var ( diff --git a/ignite/templates/message/options.go b/ignite/templates/message/options.go index 969a019620..1fe37eabd0 100644 --- a/ignite/templates/message/options.go +++ b/ignite/templates/message/options.go @@ -1,8 +1,8 @@ package message import ( - "github.com/ignite-hq/cli/ignite/pkg/multiformatname" - "github.com/ignite-hq/cli/ignite/templates/field" + "github.com/ignite/cli/ignite/pkg/multiformatname" + "github.com/ignite/cli/ignite/templates/field" ) // Options ... diff --git a/ignite/templates/message/stargate.go b/ignite/templates/message/stargate.go index 3b76c451ce..f201b291ee 100644 --- a/ignite/templates/message/stargate.go +++ b/ignite/templates/message/stargate.go @@ -7,9 +7,9 @@ import ( "github.com/gobuffalo/genny" - "github.com/ignite-hq/cli/ignite/pkg/placeholder" - "github.com/ignite-hq/cli/ignite/pkg/xgenny" - "github.com/ignite-hq/cli/ignite/templates/typed" + "github.com/ignite/cli/ignite/pkg/placeholder" + "github.com/ignite/cli/ignite/pkg/xgenny" + "github.com/ignite/cli/ignite/templates/typed" ) // NewStargate returns the generator to scaffold a empty message in a Stargate module diff --git a/ignite/templates/module/create/genesistest.go b/ignite/templates/module/create/genesistest.go index 1f97758794..d9e37f1189 100644 --- a/ignite/templates/module/create/genesistest.go +++ b/ignite/templates/module/create/genesistest.go @@ -5,9 +5,9 @@ import ( "github.com/gobuffalo/plush" "github.com/gobuffalo/plushgen" - "github.com/ignite-hq/cli/ignite/pkg/xgenny" - "github.com/ignite-hq/cli/ignite/pkg/xstrings" - "github.com/ignite-hq/cli/ignite/templates/field/plushhelpers" + "github.com/ignite/cli/ignite/pkg/xgenny" + "github.com/ignite/cli/ignite/pkg/xstrings" + "github.com/ignite/cli/ignite/templates/field/plushhelpers" ) // AddGenesisTest returns the generator to generate genesis_test.go files diff --git a/ignite/templates/module/create/ibc.go b/ignite/templates/module/create/ibc.go index 517716ac0f..69b39f5f6d 100644 --- a/ignite/templates/module/create/ibc.go +++ b/ignite/templates/module/create/ibc.go @@ -8,13 +8,13 @@ import ( "github.com/gobuffalo/plush" "github.com/gobuffalo/plushgen" - "github.com/ignite-hq/cli/ignite/pkg/gomodulepath" - "github.com/ignite-hq/cli/ignite/pkg/placeholder" - "github.com/ignite-hq/cli/ignite/pkg/xgenny" - "github.com/ignite-hq/cli/ignite/pkg/xstrings" - "github.com/ignite-hq/cli/ignite/templates/field/plushhelpers" - "github.com/ignite-hq/cli/ignite/templates/module" - "github.com/ignite-hq/cli/ignite/templates/typed" + "github.com/ignite/cli/ignite/pkg/gomodulepath" + "github.com/ignite/cli/ignite/pkg/placeholder" + "github.com/ignite/cli/ignite/pkg/xgenny" + "github.com/ignite/cli/ignite/pkg/xstrings" + "github.com/ignite/cli/ignite/templates/field/plushhelpers" + "github.com/ignite/cli/ignite/templates/module" + "github.com/ignite/cli/ignite/templates/typed" ) // NewIBC returns the generator to scaffold the implementation of the IBCModule interface inside a module diff --git a/ignite/templates/module/create/msgserver.go b/ignite/templates/module/create/msgserver.go index a917b59195..fe4465e92a 100644 --- a/ignite/templates/module/create/msgserver.go +++ b/ignite/templates/module/create/msgserver.go @@ -8,12 +8,12 @@ import ( "github.com/gobuffalo/plush" "github.com/gobuffalo/plushgen" - "github.com/ignite-hq/cli/ignite/pkg/gomodulepath" - "github.com/ignite-hq/cli/ignite/pkg/placeholder" - "github.com/ignite-hq/cli/ignite/pkg/xgenny" - "github.com/ignite-hq/cli/ignite/templates/field/plushhelpers" - "github.com/ignite-hq/cli/ignite/templates/module" - "github.com/ignite-hq/cli/ignite/templates/typed" + "github.com/ignite/cli/ignite/pkg/gomodulepath" + "github.com/ignite/cli/ignite/pkg/placeholder" + "github.com/ignite/cli/ignite/pkg/xgenny" + "github.com/ignite/cli/ignite/templates/field/plushhelpers" + "github.com/ignite/cli/ignite/templates/module" + "github.com/ignite/cli/ignite/templates/typed" ) const msgServiceImport = `"github.com/cosmos/cosmos-sdk/types/msgservice"` diff --git a/ignite/templates/module/create/options.go b/ignite/templates/module/create/options.go index 889b29a231..0147ef620f 100644 --- a/ignite/templates/module/create/options.go +++ b/ignite/templates/module/create/options.go @@ -3,8 +3,8 @@ package modulecreate import ( "fmt" - "github.com/ignite-hq/cli/ignite/pkg/xstrings" - "github.com/ignite-hq/cli/ignite/templates/field" + "github.com/ignite/cli/ignite/pkg/xstrings" + "github.com/ignite/cli/ignite/templates/field" ) // CreateOptions represents the options to scaffold a Cosmos SDK module diff --git a/ignite/templates/module/create/simulation.go b/ignite/templates/module/create/simulation.go index 619f847e62..27b69b9e35 100644 --- a/ignite/templates/module/create/simulation.go +++ b/ignite/templates/module/create/simulation.go @@ -5,9 +5,9 @@ import ( "github.com/gobuffalo/plush" "github.com/gobuffalo/plushgen" - "github.com/ignite-hq/cli/ignite/pkg/xgenny" - "github.com/ignite-hq/cli/ignite/templates/field" - "github.com/ignite-hq/cli/ignite/templates/field/plushhelpers" + "github.com/ignite/cli/ignite/pkg/xgenny" + "github.com/ignite/cli/ignite/templates/field" + "github.com/ignite/cli/ignite/templates/field/plushhelpers" ) // AddSimulation returns the generator to generate module_simulation.go file diff --git a/ignite/templates/module/create/stargate.go b/ignite/templates/module/create/stargate.go index 692003dceb..927fa38104 100644 --- a/ignite/templates/module/create/stargate.go +++ b/ignite/templates/module/create/stargate.go @@ -8,12 +8,12 @@ import ( "github.com/gobuffalo/plush" "github.com/gobuffalo/plushgen" - "github.com/ignite-hq/cli/ignite/pkg/gomodulepath" - "github.com/ignite-hq/cli/ignite/pkg/placeholder" - "github.com/ignite-hq/cli/ignite/pkg/xgenny" - "github.com/ignite-hq/cli/ignite/pkg/xstrings" - "github.com/ignite-hq/cli/ignite/templates/field/plushhelpers" - "github.com/ignite-hq/cli/ignite/templates/module" + "github.com/ignite/cli/ignite/pkg/gomodulepath" + "github.com/ignite/cli/ignite/pkg/placeholder" + "github.com/ignite/cli/ignite/pkg/xgenny" + "github.com/ignite/cli/ignite/pkg/xstrings" + "github.com/ignite/cli/ignite/templates/field/plushhelpers" + "github.com/ignite/cli/ignite/templates/module" ) // NewStargate returns the generator to scaffold a module inside a Stargate app diff --git a/ignite/templates/module/create/stargate/x/{{moduleName}}/keeper/keeper.go.plush b/ignite/templates/module/create/stargate/x/{{moduleName}}/keeper/keeper.go.plush index 79c74e0756..f67d52e97d 100644 --- a/ignite/templates/module/create/stargate/x/{{moduleName}}/keeper/keeper.go.plush +++ b/ignite/templates/module/create/stargate/x/{{moduleName}}/keeper/keeper.go.plush @@ -9,7 +9,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" paramtypes "github.com/cosmos/cosmos-sdk/x/params/types" "<%= modulePath %>/x/<%= moduleName %>/types" - <%= if (isIBC) { %>"github.com/ignite-hq/cli/ignite/pkg/cosmosibckeeper"<% } %> + <%= if (isIBC) { %>"github.com/ignite/cli/ignite/pkg/cosmosibckeeper"<% } %> ) type ( diff --git a/ignite/templates/module/import/stargate.go b/ignite/templates/module/import/stargate.go index a3ee3832fc..e35b9deac9 100644 --- a/ignite/templates/module/import/stargate.go +++ b/ignite/templates/module/import/stargate.go @@ -7,9 +7,9 @@ import ( "github.com/gobuffalo/genny" "github.com/gobuffalo/plush" - "github.com/ignite-hq/cli/ignite/pkg/placeholder" - "github.com/ignite-hq/cli/ignite/templates/field/plushhelpers" - "github.com/ignite-hq/cli/ignite/templates/module" + "github.com/ignite/cli/ignite/pkg/placeholder" + "github.com/ignite/cli/ignite/templates/field/plushhelpers" + "github.com/ignite/cli/ignite/templates/module" ) // NewStargate returns the generator to scaffold code to import wasm module inside a Stargate app diff --git a/ignite/templates/module/module.go b/ignite/templates/module/module.go index bf543e5739..2c96f2baf9 100644 --- a/ignite/templates/module/module.go +++ b/ignite/templates/module/module.go @@ -4,7 +4,7 @@ import ( "regexp" "strings" - "github.com/ignite-hq/cli/ignite/pkg/xstrings" + "github.com/ignite/cli/ignite/pkg/xstrings" ) // ProtoPackageName creates a protocol buffer package name for an app module. diff --git a/ignite/templates/module/module_test.go b/ignite/templates/module/module_test.go index 1a29fc5afb..b662e65268 100644 --- a/ignite/templates/module/module_test.go +++ b/ignite/templates/module/module_test.go @@ -27,9 +27,9 @@ func TestProtoPackageName(t *testing.T) { }, { name: "path with dash", - app: "ignite-hq/c-li", + app: "ignite/c-li", module: "test", - want: "ignitehq.cli.test", + want: "ignite.cli.test", }, { name: "path with number prefix", @@ -39,9 +39,9 @@ func TestProtoPackageName(t *testing.T) { }, { name: "path with number prefix and dash", - app: "0ignite-hq/cli", + app: "0ignite/cli", module: "test", - want: "_0ignitehq.cli.test", + want: "_0ignite.cli.test", }, { name: "module with dash", diff --git a/ignite/templates/query/options.go b/ignite/templates/query/options.go index 0ae2f1c878..29da94d95d 100644 --- a/ignite/templates/query/options.go +++ b/ignite/templates/query/options.go @@ -1,8 +1,8 @@ package query import ( - "github.com/ignite-hq/cli/ignite/pkg/multiformatname" - "github.com/ignite-hq/cli/ignite/templates/field" + "github.com/ignite/cli/ignite/pkg/multiformatname" + "github.com/ignite/cli/ignite/templates/field" ) // Options ... diff --git a/ignite/templates/query/query.go b/ignite/templates/query/query.go index 518adf0480..b6deb9f9e5 100644 --- a/ignite/templates/query/query.go +++ b/ignite/templates/query/query.go @@ -8,7 +8,7 @@ import ( "github.com/gobuffalo/plush" "github.com/gobuffalo/plushgen" - "github.com/ignite-hq/cli/ignite/templates/field/plushhelpers" + "github.com/ignite/cli/ignite/templates/field/plushhelpers" ) var ( diff --git a/ignite/templates/query/stargate.go b/ignite/templates/query/stargate.go index bde916f6d4..dcb1b6c907 100644 --- a/ignite/templates/query/stargate.go +++ b/ignite/templates/query/stargate.go @@ -7,9 +7,9 @@ import ( "github.com/gobuffalo/genny" - "github.com/ignite-hq/cli/ignite/pkg/gomodulepath" - "github.com/ignite-hq/cli/ignite/pkg/placeholder" - "github.com/ignite-hq/cli/ignite/pkg/xgenny" + "github.com/ignite/cli/ignite/pkg/gomodulepath" + "github.com/ignite/cli/ignite/pkg/placeholder" + "github.com/ignite/cli/ignite/pkg/xgenny" ) // NewStargate returns the generator to scaffold a empty query in a Stargate module diff --git a/ignite/templates/testutil/register.go b/ignite/templates/testutil/register.go index 54e0ceb1b9..242e4741af 100644 --- a/ignite/templates/testutil/register.go +++ b/ignite/templates/testutil/register.go @@ -5,7 +5,7 @@ import ( "github.com/gobuffalo/genny" - "github.com/ignite-hq/cli/ignite/pkg/xgenny" + "github.com/ignite/cli/ignite/pkg/xgenny" ) var ( diff --git a/ignite/templates/testutil/stargate/testutil/network/network.go.plush b/ignite/templates/testutil/stargate/testutil/network/network.go.plush index 2d9d73054f..c08157ff8d 100644 --- a/ignite/templates/testutil/stargate/testutil/network/network.go.plush +++ b/ignite/templates/testutil/stargate/testutil/network/network.go.plush @@ -14,7 +14,7 @@ import ( "github.com/cosmos/cosmos-sdk/testutil/network" sdk "github.com/cosmos/cosmos-sdk/types" authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" - "github.com/ignite-hq/cli/ignite/pkg/cosmoscmd" + "github.com/ignite/cli/ignite/pkg/cosmoscmd" tmrand "github.com/tendermint/tendermint/libs/rand" tmdb "github.com/tendermint/tm-db" diff --git a/ignite/templates/typed/dry/stargate.go b/ignite/templates/typed/dry/stargate.go index c043307577..8fc54f7fd3 100644 --- a/ignite/templates/typed/dry/stargate.go +++ b/ignite/templates/typed/dry/stargate.go @@ -5,8 +5,8 @@ import ( "github.com/gobuffalo/genny" - "github.com/ignite-hq/cli/ignite/pkg/xgenny" - "github.com/ignite-hq/cli/ignite/templates/typed" + "github.com/ignite/cli/ignite/pkg/xgenny" + "github.com/ignite/cli/ignite/templates/typed" ) var ( diff --git a/ignite/templates/typed/genesis.go b/ignite/templates/typed/genesis.go index 2dcd2e47ad..491234bb64 100644 --- a/ignite/templates/typed/genesis.go +++ b/ignite/templates/typed/genesis.go @@ -5,15 +5,15 @@ import ( "fmt" "strings" - "github.com/ignite-hq/cli/ignite/pkg/placeholder" - "github.com/ignite-hq/cli/ignite/pkg/protoanalysis" + "github.com/ignite/cli/ignite/pkg/placeholder" + "github.com/ignite/cli/ignite/pkg/protoanalysis" ) // ProtoGenesisStateMessage is the name of the proto message that represents the genesis state const ProtoGenesisStateMessage = "GenesisState" // PatchGenesisTypeImport patches types/genesis.go content from the issue: -// https://github.com/ignite-hq/cli/issues/992 +// https://github.com/ignite/cli/issues/992 func PatchGenesisTypeImport(replacer placeholder.Replacer, content string) string { patternToCheck := "import (" replacement := fmt.Sprintf(`import ( diff --git a/ignite/templates/typed/gogoproto.go b/ignite/templates/typed/gogoproto.go index d5d75c9aed..68e80062e0 100644 --- a/ignite/templates/typed/gogoproto.go +++ b/ignite/templates/typed/gogoproto.go @@ -4,7 +4,7 @@ import ( "errors" "fmt" - "github.com/ignite-hq/cli/ignite/pkg/protoanalysis" + "github.com/ignite/cli/ignite/pkg/protoanalysis" ) const gogoProtoFile = "gogoproto/gogo.proto" diff --git a/ignite/templates/typed/list/genesis.go b/ignite/templates/typed/list/genesis.go index 15ecb5b2b6..9419cd23b8 100644 --- a/ignite/templates/typed/list/genesis.go +++ b/ignite/templates/typed/list/genesis.go @@ -6,9 +6,9 @@ import ( "github.com/gobuffalo/genny" - "github.com/ignite-hq/cli/ignite/pkg/placeholder" - "github.com/ignite-hq/cli/ignite/templates/module" - "github.com/ignite-hq/cli/ignite/templates/typed" + "github.com/ignite/cli/ignite/pkg/placeholder" + "github.com/ignite/cli/ignite/templates/module" + "github.com/ignite/cli/ignite/templates/typed" ) func genesisModify(replacer placeholder.Replacer, opts *typed.Options, g *genny.Generator) { diff --git a/ignite/templates/typed/list/simulation.go b/ignite/templates/typed/list/simulation.go index 39f639ea2c..0ce45283b7 100644 --- a/ignite/templates/typed/list/simulation.go +++ b/ignite/templates/typed/list/simulation.go @@ -6,8 +6,8 @@ import ( "github.com/gobuffalo/genny" - "github.com/ignite-hq/cli/ignite/pkg/placeholder" - "github.com/ignite-hq/cli/ignite/templates/typed" + "github.com/ignite/cli/ignite/pkg/placeholder" + "github.com/ignite/cli/ignite/templates/typed" ) func moduleSimulationModify(replacer placeholder.Replacer, opts *typed.Options) genny.RunFn { diff --git a/ignite/templates/typed/list/stargate.go b/ignite/templates/typed/list/stargate.go index 49a2470496..ccfe970b3a 100644 --- a/ignite/templates/typed/list/stargate.go +++ b/ignite/templates/typed/list/stargate.go @@ -9,10 +9,10 @@ import ( "github.com/gobuffalo/genny" - "github.com/ignite-hq/cli/ignite/pkg/gomodulepath" - "github.com/ignite-hq/cli/ignite/pkg/placeholder" - "github.com/ignite-hq/cli/ignite/pkg/xgenny" - "github.com/ignite-hq/cli/ignite/templates/typed" + "github.com/ignite/cli/ignite/pkg/gomodulepath" + "github.com/ignite/cli/ignite/pkg/placeholder" + "github.com/ignite/cli/ignite/pkg/xgenny" + "github.com/ignite/cli/ignite/templates/typed" ) var ( diff --git a/ignite/templates/typed/map/simulation.go b/ignite/templates/typed/map/simulation.go index fb77553a53..7dd51142b8 100644 --- a/ignite/templates/typed/map/simulation.go +++ b/ignite/templates/typed/map/simulation.go @@ -6,8 +6,8 @@ import ( "github.com/gobuffalo/genny" - "github.com/ignite-hq/cli/ignite/pkg/placeholder" - "github.com/ignite-hq/cli/ignite/templates/typed" + "github.com/ignite/cli/ignite/pkg/placeholder" + "github.com/ignite/cli/ignite/templates/typed" ) func moduleSimulationModify(replacer placeholder.Replacer, opts *typed.Options) genny.RunFn { diff --git a/ignite/templates/typed/map/stargate.go b/ignite/templates/typed/map/stargate.go index 255679c791..c86b8b0886 100644 --- a/ignite/templates/typed/map/stargate.go +++ b/ignite/templates/typed/map/stargate.go @@ -8,12 +8,12 @@ import ( "github.com/gobuffalo/genny" - "github.com/ignite-hq/cli/ignite/pkg/gomodulepath" - "github.com/ignite-hq/cli/ignite/pkg/placeholder" - "github.com/ignite-hq/cli/ignite/pkg/xgenny" - "github.com/ignite-hq/cli/ignite/templates/field/datatype" - "github.com/ignite-hq/cli/ignite/templates/module" - "github.com/ignite-hq/cli/ignite/templates/typed" + "github.com/ignite/cli/ignite/pkg/gomodulepath" + "github.com/ignite/cli/ignite/pkg/placeholder" + "github.com/ignite/cli/ignite/pkg/xgenny" + "github.com/ignite/cli/ignite/templates/field/datatype" + "github.com/ignite/cli/ignite/templates/module" + "github.com/ignite/cli/ignite/templates/typed" ) var ( diff --git a/ignite/templates/typed/options.go b/ignite/templates/typed/options.go index 4003fb482c..951705030a 100644 --- a/ignite/templates/typed/options.go +++ b/ignite/templates/typed/options.go @@ -1,8 +1,8 @@ package typed import ( - "github.com/ignite-hq/cli/ignite/pkg/multiformatname" - "github.com/ignite-hq/cli/ignite/templates/field" + "github.com/ignite/cli/ignite/pkg/multiformatname" + "github.com/ignite/cli/ignite/templates/field" ) // Options ... diff --git a/ignite/templates/typed/simapp.go b/ignite/templates/typed/simapp.go index b8fb965a08..5736dc9044 100644 --- a/ignite/templates/typed/simapp.go +++ b/ignite/templates/typed/simapp.go @@ -3,8 +3,8 @@ package typed import ( "fmt" - "github.com/ignite-hq/cli/ignite/pkg/multiformatname" - "github.com/ignite-hq/cli/ignite/pkg/placeholder" + "github.com/ignite/cli/ignite/pkg/multiformatname" + "github.com/ignite/cli/ignite/pkg/placeholder" ) func ModuleSimulationMsgModify( diff --git a/ignite/templates/typed/singleton/simulation.go b/ignite/templates/typed/singleton/simulation.go index dad147bd29..dcba4809b8 100644 --- a/ignite/templates/typed/singleton/simulation.go +++ b/ignite/templates/typed/singleton/simulation.go @@ -5,8 +5,8 @@ import ( "github.com/gobuffalo/genny" - "github.com/ignite-hq/cli/ignite/pkg/placeholder" - "github.com/ignite-hq/cli/ignite/templates/typed" + "github.com/ignite/cli/ignite/pkg/placeholder" + "github.com/ignite/cli/ignite/templates/typed" ) func moduleSimulationModify(replacer placeholder.Replacer, opts *typed.Options) genny.RunFn { diff --git a/ignite/templates/typed/singleton/stargate.go b/ignite/templates/typed/singleton/stargate.go index 53c74b1688..4514910fd3 100644 --- a/ignite/templates/typed/singleton/stargate.go +++ b/ignite/templates/typed/singleton/stargate.go @@ -9,11 +9,11 @@ import ( "github.com/gobuffalo/genny" - "github.com/ignite-hq/cli/ignite/pkg/gomodulepath" - "github.com/ignite-hq/cli/ignite/pkg/placeholder" - "github.com/ignite-hq/cli/ignite/pkg/xgenny" - "github.com/ignite-hq/cli/ignite/templates/module" - "github.com/ignite-hq/cli/ignite/templates/typed" + "github.com/ignite/cli/ignite/pkg/gomodulepath" + "github.com/ignite/cli/ignite/pkg/placeholder" + "github.com/ignite/cli/ignite/pkg/xgenny" + "github.com/ignite/cli/ignite/templates/module" + "github.com/ignite/cli/ignite/templates/typed" ) var ( diff --git a/ignite/templates/typed/typed.go b/ignite/templates/typed/typed.go index 7983562efe..ff156875bd 100644 --- a/ignite/templates/typed/typed.go +++ b/ignite/templates/typed/typed.go @@ -6,10 +6,10 @@ import ( "github.com/gobuffalo/plush" "github.com/gobuffalo/plushgen" - "github.com/ignite-hq/cli/ignite/pkg/gomodulepath" - "github.com/ignite-hq/cli/ignite/templates/field/plushhelpers" - "github.com/ignite-hq/cli/ignite/templates/module" - "github.com/ignite-hq/cli/ignite/templates/testutil" + "github.com/ignite/cli/ignite/pkg/gomodulepath" + "github.com/ignite/cli/ignite/templates/field/plushhelpers" + "github.com/ignite/cli/ignite/templates/module" + "github.com/ignite/cli/ignite/templates/testutil" ) func Box(box packd.Walker, opts *Options, g *genny.Generator) error { diff --git a/ignite/version/version.go b/ignite/version/version.go index 642433985f..8383ffae1b 100644 --- a/ignite/version/version.go +++ b/ignite/version/version.go @@ -12,10 +12,10 @@ import ( "github.com/blang/semver" "github.com/google/go-github/v37/github" - "github.com/ignite-hq/cli/ignite/pkg/cmdrunner/exec" - "github.com/ignite-hq/cli/ignite/pkg/cmdrunner/step" - "github.com/ignite-hq/cli/ignite/pkg/gitpod" - "github.com/ignite-hq/cli/ignite/pkg/xexec" + "github.com/ignite/cli/ignite/pkg/cmdrunner/exec" + "github.com/ignite/cli/ignite/pkg/cmdrunner/step" + "github.com/ignite/cli/ignite/pkg/gitpod" + "github.com/ignite/cli/ignite/pkg/xexec" ) const ( @@ -45,7 +45,7 @@ func CheckNext(ctx context.Context) (isAvailable bool, version string, err error latest, _, err := github. NewClient(nil). Repositories. - GetLatestRelease(ctx, "ignite-hq", "cli") + GetLatestRelease(ctx, "ignite", "cli") if err != nil { return false, "", err diff --git a/integration/app/cache_test.go b/integration/app/cache_test.go index d91f65a19e..85dceb4030 100644 --- a/integration/app/cache_test.go +++ b/integration/app/cache_test.go @@ -9,8 +9,8 @@ import ( "github.com/stretchr/testify/require" - "github.com/ignite-hq/cli/ignite/pkg/cmdrunner/step" - envtest "github.com/ignite-hq/cli/integration" + "github.com/ignite/cli/ignite/pkg/cmdrunner/step" + envtest "github.com/ignite/cli/integration" ) func TestCliWithCaching(t *testing.T) { diff --git a/integration/app/cmd_app_test.go b/integration/app/cmd_app_test.go index a9c180db24..91e91fea39 100644 --- a/integration/app/cmd_app_test.go +++ b/integration/app/cmd_app_test.go @@ -10,8 +10,8 @@ import ( "github.com/stretchr/testify/require" - "github.com/ignite-hq/cli/ignite/pkg/cmdrunner/step" - envtest "github.com/ignite-hq/cli/integration" + "github.com/ignite/cli/ignite/pkg/cmdrunner/step" + envtest "github.com/ignite/cli/integration" ) func TestGenerateAnApp(t *testing.T) { diff --git a/integration/app/cmd_ibc_test.go b/integration/app/cmd_ibc_test.go index 8be41ebf73..62fb9db369 100644 --- a/integration/app/cmd_ibc_test.go +++ b/integration/app/cmd_ibc_test.go @@ -7,8 +7,8 @@ import ( "path/filepath" "testing" - "github.com/ignite-hq/cli/ignite/pkg/cmdrunner/step" - envtest "github.com/ignite-hq/cli/integration" + "github.com/ignite/cli/ignite/pkg/cmdrunner/step" + envtest "github.com/ignite/cli/integration" ) func TestCreateModuleWithIBC(t *testing.T) { diff --git a/integration/app/cmd_serve_test.go b/integration/app/cmd_serve_test.go index 2b2523253b..d040b50f30 100644 --- a/integration/app/cmd_serve_test.go +++ b/integration/app/cmd_serve_test.go @@ -11,8 +11,8 @@ import ( "github.com/stretchr/testify/require" - "github.com/ignite-hq/cli/ignite/pkg/cmdrunner/step" - envtest "github.com/ignite-hq/cli/integration" + "github.com/ignite/cli/ignite/pkg/cmdrunner/step" + envtest "github.com/ignite/cli/integration" ) func TestServeStargateWithWasm(t *testing.T) { diff --git a/integration/app/config_test.go b/integration/app/config_test.go index ba68578402..ece287ef96 100644 --- a/integration/app/config_test.go +++ b/integration/app/config_test.go @@ -11,10 +11,10 @@ import ( "github.com/stretchr/testify/require" - "github.com/ignite-hq/cli/ignite/chainconfig" - "github.com/ignite-hq/cli/ignite/pkg/confile" - "github.com/ignite-hq/cli/ignite/pkg/randstr" - envtest "github.com/ignite-hq/cli/integration" + "github.com/ignite/cli/ignite/chainconfig" + "github.com/ignite/cli/ignite/pkg/confile" + "github.com/ignite/cli/ignite/pkg/randstr" + envtest "github.com/ignite/cli/integration" ) func TestOverwriteSDKConfigsAndChainID(t *testing.T) { diff --git a/integration/app/tx_test.go b/integration/app/tx_test.go index 9efa335476..82ee598550 100644 --- a/integration/app/tx_test.go +++ b/integration/app/tx_test.go @@ -14,11 +14,11 @@ import ( "github.com/pkg/errors" "github.com/stretchr/testify/require" - "github.com/ignite-hq/cli/ignite/pkg/cmdrunner" - "github.com/ignite-hq/cli/ignite/pkg/cmdrunner/step" - "github.com/ignite-hq/cli/ignite/pkg/randstr" - "github.com/ignite-hq/cli/ignite/pkg/xurl" - envtest "github.com/ignite-hq/cli/integration" + "github.com/ignite/cli/ignite/pkg/cmdrunner" + "github.com/ignite/cli/ignite/pkg/cmdrunner/step" + "github.com/ignite/cli/ignite/pkg/randstr" + "github.com/ignite/cli/ignite/pkg/xurl" + envtest "github.com/ignite/cli/integration" ) func TestGetTxViaGRPCGateway(t *testing.T) { diff --git a/integration/cosmosgen/cosmosgen_test.go b/integration/cosmosgen/cosmosgen_test.go index 4f979728c8..f526cfb872 100644 --- a/integration/cosmosgen/cosmosgen_test.go +++ b/integration/cosmosgen/cosmosgen_test.go @@ -8,8 +8,8 @@ import ( "github.com/stretchr/testify/require" - "github.com/ignite-hq/cli/ignite/pkg/cmdrunner/step" - envtest "github.com/ignite-hq/cli/integration" + "github.com/ignite/cli/ignite/pkg/cmdrunner/step" + envtest "github.com/ignite/cli/integration" ) func TestCosmosGen(t *testing.T) { diff --git a/integration/env.go b/integration/env.go index f7c259d3f6..50830861e2 100644 --- a/integration/env.go +++ b/integration/env.go @@ -18,15 +18,15 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "github.com/ignite-hq/cli/ignite/chainconfig" - "github.com/ignite-hq/cli/ignite/pkg/availableport" - "github.com/ignite-hq/cli/ignite/pkg/cmdrunner" - "github.com/ignite-hq/cli/ignite/pkg/cmdrunner/step" - "github.com/ignite-hq/cli/ignite/pkg/cosmosfaucet" - "github.com/ignite-hq/cli/ignite/pkg/gocmd" - "github.com/ignite-hq/cli/ignite/pkg/httpstatuschecker" - "github.com/ignite-hq/cli/ignite/pkg/xexec" - "github.com/ignite-hq/cli/ignite/pkg/xurl" + "github.com/ignite/cli/ignite/chainconfig" + "github.com/ignite/cli/ignite/pkg/availableport" + "github.com/ignite/cli/ignite/pkg/cmdrunner" + "github.com/ignite/cli/ignite/pkg/cmdrunner/step" + "github.com/ignite/cli/ignite/pkg/cosmosfaucet" + "github.com/ignite/cli/ignite/pkg/gocmd" + "github.com/ignite/cli/ignite/pkg/httpstatuschecker" + "github.com/ignite/cli/ignite/pkg/xexec" + "github.com/ignite/cli/ignite/pkg/xurl" ) const ( diff --git a/integration/faucet/faucet_test.go b/integration/faucet/faucet_test.go index 40b615e869..c6e9633763 100644 --- a/integration/faucet/faucet_test.go +++ b/integration/faucet/faucet_test.go @@ -14,10 +14,10 @@ import ( "github.com/stretchr/testify/require" "golang.org/x/sync/errgroup" - "github.com/ignite-hq/cli/ignite/pkg/cosmosclient" - "github.com/ignite-hq/cli/ignite/pkg/cosmosfaucet" - "github.com/ignite-hq/cli/ignite/pkg/xurl" - envtest "github.com/ignite-hq/cli/integration" + "github.com/ignite/cli/ignite/pkg/cosmosclient" + "github.com/ignite/cli/ignite/pkg/cosmosfaucet" + "github.com/ignite/cli/ignite/pkg/xurl" + envtest "github.com/ignite/cli/integration" ) const ( diff --git a/integration/list/cmd_list_test.go b/integration/list/cmd_list_test.go index 8a2385c97a..9dd3dcb93e 100644 --- a/integration/list/cmd_list_test.go +++ b/integration/list/cmd_list_test.go @@ -7,8 +7,8 @@ import ( "path/filepath" "testing" - "github.com/ignite-hq/cli/ignite/pkg/cmdrunner/step" - envtest "github.com/ignite-hq/cli/integration" + "github.com/ignite/cli/ignite/pkg/cmdrunner/step" + envtest "github.com/ignite/cli/integration" ) func TestGenerateAnAppWithStargateWithListAndVerify(t *testing.T) { diff --git a/integration/map/cmd_map_test.go b/integration/map/cmd_map_test.go index 73e013bc37..631ae4d918 100644 --- a/integration/map/cmd_map_test.go +++ b/integration/map/cmd_map_test.go @@ -7,8 +7,8 @@ import ( "path/filepath" "testing" - "github.com/ignite-hq/cli/ignite/pkg/cmdrunner/step" - envtest "github.com/ignite-hq/cli/integration" + "github.com/ignite/cli/ignite/pkg/cmdrunner/step" + envtest "github.com/ignite/cli/integration" ) func TestCreateMapWithStargate(t *testing.T) { diff --git a/integration/other_components/cmd_message_test.go b/integration/other_components/cmd_message_test.go index a49de5d26f..ffd41c14f8 100644 --- a/integration/other_components/cmd_message_test.go +++ b/integration/other_components/cmd_message_test.go @@ -7,8 +7,8 @@ import ( "path/filepath" "testing" - "github.com/ignite-hq/cli/ignite/pkg/cmdrunner/step" - envtest "github.com/ignite-hq/cli/integration" + "github.com/ignite/cli/ignite/pkg/cmdrunner/step" + envtest "github.com/ignite/cli/integration" ) func TestGenerateAnAppWithMessage(t *testing.T) { diff --git a/integration/other_components/cmd_query_test.go b/integration/other_components/cmd_query_test.go index d752a6c243..bfe1f7273d 100644 --- a/integration/other_components/cmd_query_test.go +++ b/integration/other_components/cmd_query_test.go @@ -7,8 +7,8 @@ import ( "path/filepath" "testing" - "github.com/ignite-hq/cli/ignite/pkg/cmdrunner/step" - envtest "github.com/ignite-hq/cli/integration" + "github.com/ignite/cli/ignite/pkg/cmdrunner/step" + envtest "github.com/ignite/cli/integration" ) func TestGenerateAnAppWithQuery(t *testing.T) { diff --git a/integration/simulation/simapp_test.go b/integration/simulation/simapp_test.go index da08510728..df219d91ba 100644 --- a/integration/simulation/simapp_test.go +++ b/integration/simulation/simapp_test.go @@ -6,8 +6,8 @@ package simulation_test import ( "testing" - "github.com/ignite-hq/cli/ignite/pkg/cmdrunner/step" - envtest "github.com/ignite-hq/cli/integration" + "github.com/ignite/cli/ignite/pkg/cmdrunner/step" + envtest "github.com/ignite/cli/integration" ) func TestGenerateAnAppAndSimulate(t *testing.T) { diff --git a/integration/single/cmd_singleton_test.go b/integration/single/cmd_singleton_test.go index 00a5d4d797..e6ff2659d7 100644 --- a/integration/single/cmd_singleton_test.go +++ b/integration/single/cmd_singleton_test.go @@ -7,8 +7,8 @@ import ( "path/filepath" "testing" - "github.com/ignite-hq/cli/ignite/pkg/cmdrunner/step" - envtest "github.com/ignite-hq/cli/integration" + "github.com/ignite/cli/ignite/pkg/cmdrunner/step" + envtest "github.com/ignite/cli/integration" ) func TestCreateSingletonWithStargate(t *testing.T) { diff --git a/readme.md b/readme.md index 518a219807..438888aac0 100644 --- a/readme.md +++ b/readme.md @@ -6,7 +6,7 @@ ## Quick start -Open Ignite CLI [in your web browser](https://gitpod.io/#https://github.com/ignite-hq/cli/tree/master) (or open [nightly version](https://gitpod.io/#https://github.com/ignite-hq/cli/)), or [install the latest release](https://docs.ignite.com/guide/install.html). +Open Ignite CLI [in your web browser](https://gitpod.io/#https://github.com/ignite/cli/tree/master) (or open [nightly version](https://gitpod.io/#https://github.com/ignite/cli/)), or [install the latest release](https://docs.ignite.com/guide/install.html). To create and start a blockchain: @@ -24,7 +24,7 @@ To learn how to use Ignite CLI, check out the [Ignite CLI docs](https://docs.ign To install Ignite CLI locally on GNU, Linux, or macOS, see [Install Ignite CLI](https://docs.ignite.com/guide/install.html). -To learn more about building a JavaScript frontend for your Cosmos SDK blockchain, see [ignite-hq/web](https://github.com/ignite-hq/web). +To learn more about building a JavaScript frontend for your Cosmos SDK blockchain, see [ignite/web](https://github.com/ignite/web). ## Questions @@ -34,9 +34,11 @@ For questions and support, join the official [Ignite Discord](https://discord.gg Blockchains created with Ignite CLI use the [Cosmos SDK](https://github.com/cosmos/cosmos-sdk/) framework. To ensure the best possible experience, use the version of Ignite CLI that corresponds to the version of Cosmos SDK that your blockchain is built with. Unless noted otherwise, a row refers to a minor version and all associated patch versions. -| Ignite CLI | Cosmos SDK | IBC | Notes | +| Ignite CLI | Cosmos SDK | IBC | Notes | | -------- | ---------- | -------------------- | ------------------------------------------------ | -| v0.19.2 | v0.44.5 | v2.0.2 | | +| v0.21.1 | v0.45.4 | v2.0.3 | Supports Cosmos SDK v0.46.0-alpha1 and above | +| v0.21.0 | v0.45.4 | v2.0.3 | | +| v0.20.0 | v0.45.3 | v2.0.3 | | | v0.19 | v0.44 | v1.2.2 | | | v0.18 | v0.44 | v1.2.2 | `ignite chain serve` works with v0.44.x chains | | v0.17 | v0.42 | Same with Cosmos SDK | | @@ -47,7 +49,7 @@ To upgrade your blockchain to the newer version of Cosmos SDK, see the [Migratio We welcome contributions from everyone. The `develop` branch contains the development version of the code. You can create a branch from `develop` and create a pull request, or maintain your own fork and submit a cross-repository pull request. -Our [Ignite CLI bounty program](docs/bounty/index.md) provides incentives for your participation and pays rewards. Track new, in-progress, and completed bounties on the [Bounty board](https://github.com/ignite-hq/cli/projects/5) in GitHub. +Our [Ignite CLI bounty program](docs/bounty/index.md) provides incentives for your participation and pays rewards. Track new, in-progress, and completed bounties on the [Bounty board](https://github.com/ignite/cli/projects/5) in GitHub. **Important** Before you start implementing a new Ignite CLI feature, the first step is to create an issue on GitHub that describes the proposed changes. diff --git a/scripts/gen-protoc-gen-dart b/scripts/gen-protoc-gen-dart index 369ac9730e..0b0a2b7f27 100755 --- a/scripts/gen-protoc-gen-dart +++ b/scripts/gen-protoc-gen-dart @@ -34,12 +34,12 @@ if [[ $(basename ${setdir}) = "scripts" ]] ; then if [[ $(basename $(dirname "${setdir}")) = "cli" ]] ; then [[ -d $(dirname "${setdir}/pkg/protoc-gen-dart/data") ]] || mkdir -p "$(dirname "${setdir}")/ignite/pkg/protoc-gen-dart/data" else - echo "Attention: you are running the script out of the startport project please run it this script in: https://github.com/ignite-hq/cli" + echo "Attention: you are running the script out of the startport project please run it this script in: https://github.com/ignite/cli" exit 1 fi else echo "$setdir" - echo "Attention: you are running the script out of the startport project please run it this script in: https://github.com/ignite-hq/cli" + echo "Attention: you are running the script out of the startport project please run it this script in: https://github.com/ignite/cli" exit 1 fi diff --git a/scripts/test-integration b/scripts/test-integration index 8f1b6a347c..21aace2417 100755 --- a/scripts/test-integration +++ b/scripts/test-integration @@ -1,3 +1,3 @@ #!/bin/bash -go test -v -timeout 120m github.com/ignite-hq/cli/integration/... +go test -v -timeout 120m github.com/ignite/cli/integration/... diff --git a/scripts/test-unit b/scripts/test-unit index 0e9afbfe0e..eba3a8c2a4 100755 --- a/scripts/test-unit +++ b/scripts/test-unit @@ -1,3 +1,3 @@ #!/bin/bash -go test -v github.com/ignite-hq/cli/ignite/... +go test -v github.com/ignite/cli/ignite/...