Skip to content

Commit b87acd2

Browse files
authoredJan 30, 2025··
chore: rm tools/hubl (#23562)
1 parent 97c61cf commit b87acd2

33 files changed

+7
-2695
lines changed
 

‎.github/CODEOWNERS

-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@
3535
/store/ @cosmos/sdk-core-dev
3636
/store/v2/ @cosmos/sdk-core-dev
3737
/types/mempool/ @cosmos/sdk-core-dev
38-
/tools/hubl @julienrbrt @JulianToledano @cosmos/sdk-core-dev
3938
/tools/cosmovisor @julienrbrt @cosmos/sdk-core-dev
4039
/tools/confix @julienrbrt @cosmos/sdk-core-dev
4140
/tests/integration/aminojson @cosmos/sdk-core-dev

‎.github/dependabot.yml

-9
Original file line numberDiff line numberDiff line change
@@ -160,15 +160,6 @@ updates:
160160
labels:
161161
- "A:automerge"
162162
- dependencies
163-
- package-ecosystem: gomod
164-
directory: "/tools/hubl"
165-
schedule:
166-
interval: weekly
167-
day: thursday
168-
time: "02:15"
169-
labels:
170-
- "A:automerge"
171-
- dependencies
172163
- package-ecosystem: gomod
173164
directory: "/collections"
174165
schedule:

‎.github/pr_labeler.yml

-2
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@
55
- tools/confix/**/*
66
"C:Cosmovisor":
77
- tools/cosmovisor/**/*
8-
"C:Hubl":
9-
- tools/hubl/**/*
108
"C:Keys":
119
- client/keys/**/*
1210
"C:Simulations":

‎.github/workflows/build.yml

-2
Original file line numberDiff line numberDiff line change
@@ -46,5 +46,3 @@ jobs:
4646
run: GOARCH=${{ matrix.go-arch }} make cosmovisor
4747
- name: Build Confix
4848
run: GOARCH=${{ matrix.go-arch }} make confix
49-
- name: Build Hubl
50-
run: GOARCH=${{ matrix.go-arch }} make hubl

‎.github/workflows/test.yml

-31
Original file line numberDiff line numberDiff line change
@@ -630,37 +630,6 @@ jobs:
630630
with:
631631
projectBaseDir: tools/confix/
632632

633-
test-hubl:
634-
runs-on: ubuntu-latest
635-
steps:
636-
- uses: actions/checkout@v4
637-
- uses: actions/setup-go@v5
638-
with:
639-
go-version: "1.23"
640-
check-latest: true
641-
cache: true
642-
cache-dependency-path: tools/hubl/go.sum
643-
- uses: technote-space/get-diff-action@v6.1.2
644-
id: git_diff
645-
with:
646-
PATTERNS: |
647-
tools/hubl/**/*.go
648-
tools/hubl/go.mod
649-
tools/hubl/go.sum
650-
- name: tests
651-
if: env.GIT_DIFF
652-
run: |
653-
cd tools/hubl
654-
go test -mod=readonly -timeout 30m -coverprofile=coverage.out -covermode=atomic -tags='norace ledger test_ledger_mock' ./...
655-
- name: sonarcloud
656-
if: ${{ env.GIT_DIFF && !github.event.pull_request.draft && env.SONAR_TOKEN != null }}
657-
uses: SonarSource/sonarcloud-github-action@master
658-
env:
659-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
660-
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
661-
with:
662-
projectBaseDir: tools/hubl/
663-
664633
test-store:
665634
runs-on: ubuntu-latest
666635
steps:

‎CHANGELOG.md

+4
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,10 @@ Every module contains its own CHANGELOG.md. Please refer to the module you are i
4949

5050
### Bug Fixes
5151

52+
### Removed
53+
54+
* (tools/hub) [#23562](https://github.com/cosmos/cosmos-sdk/pull/23562) Remove `tools/hubl`. A similar tool will be maintained in [ignite](https://www.github.com/ignite/cli).
55+
5256
### API Breaking Changes
5357

5458
* (x/params) [#22995](https://github.com/cosmos/cosmos-sdk/pull/22995) Remove `x/params`. Migrate to the new params system introduced in `v0.47` as demonstrated [here](https://github.com/cosmos/cosmos-sdk/blob/main/UPGRADING.md#xparams).

‎ROADMAP.md

+2-3
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ Welcome to the Cosmos SDK's team roadmap.
3131
* [x] Multi-chain command **(Done)**
3232
* Release a cmd line tool that can be pointed a grpc endpoint which then can produce cmd lines to interact with the chain
3333
* [x] Auto-cli tx support
34-
* Tx support for auto-cli/hubl
34+
* Tx support for auto-cli
3535
* This would fully remove the need for application developers to write cli commands for their modules
3636
* [ ] [Consensus Key Rotation](https://github.com/cosmos/cosmos-sdk/issues/5231)
3737

@@ -121,9 +121,8 @@ Issue: https://github.com/cosmos/iavl/issues/548
121121

122122
### Client UX
123123

124-
* [ ] Hubl/AutoCLI
124+
* [ ] AutoCLI
125125
* Objective:
126-
* Allow users to sign and submit transactions using hubl
127126
* Add module support for autocli
128127
* Deprecate/remove legacy cli (optional)
129128
* Progress:

‎UPGRADING.md

-2
Original file line numberDiff line numberDiff line change
@@ -1236,8 +1236,6 @@ For example, assuming you put all your proto files in subfolders inside your roo
12361236

12371237
If you are using a custom folder structure for your proto files, please reorganize them so that their OS path matches their proto package name.
12381238

1239-
This is to allow the proto FileDescriptSets to be correctly registered, and this standardized OS import paths allows [Hubl](https://github.com/cosmos/cosmos-sdk/tree/main/tools/hubl) to reflectively talk to any chain.
1240-
12411239
#### `{accepts,implements}_interface` proto annotations
12421240

12431241
The SDK is normalizing the strings inside the Protobuf `accepts_interface` and `implements_interface` annotations. We require them to be fully-scoped names. They will soon be used by code generators like Pulsar and Telescope to match which messages can or cannot be packed inside `Any`s.

‎client/v2/README.md

+1-5
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ The keyring is then converted to the `client/v2/autocli/keyring` interface.
9494
If no keyring is provided, the `autocli` generated command will not be able to sign transactions, but will still be able to query the chain.
9595

9696
:::tip
97-
The Cosmos SDK keyring and Hubl keyring both implement the `client/v2/autocli/keyring` interface, thanks to the following wrapper:
97+
The Cosmos SDK keyring implements the `client/v2/autocli/keyring` interface, thanks to the following wrapper:
9898

9999
```go
100100
keyring.NewAutoCLIKeyring(kb)
@@ -283,10 +283,6 @@ According to the [Cobra documentation](https://pkg.go.dev/github.com/spf13/cobra
283283

284284
`autocli` lets you generate CLI to your Cosmos SDK-based applications without any cobra boilerplate. It allows you to easily generate CLI commands and flags from your protobuf messages, and provides many options for customising the behavior of your CLI application.
285285

286-
To further enhance your CLI experience with Cosmos SDK-based blockchains, you can use `hubl`. `hubl` is a tool that allows you to query any Cosmos SDK-based blockchain using the new AutoCLI feature of the Cosmos SDK. With `hubl`, you can easily configure a new chain and query modules with just a few simple commands.
287-
288-
For more information on `hubl`, including how to configure a new chain and query a module, see the [Hubl documentation](https://docs.cosmos.network/main/build/tooling/hubl).
289-
290286
# Off-Chain
291287

292288
Off-chain is a `client/v2` package providing functionalities for allowing to sign and verify files with two commands:

‎docs/.gitignore

-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ docs/architecture
44
docs/rfc
55
docs/tooling/01-cosmovisor.md
66
docs/tooling/02-confix.md
7-
docs/tooling/03-hubl.md
87
docs/core/17-autocli.md
98
docs/packages/01-depinject.md
109
docs/packages/02-collections.md

‎docs/build/tooling/README.md

-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ This includes tools for development, operating a node, and ease of use of a Cosm
1111

1212
* [Cosmovisor](./01-cosmovisor.md)
1313
* [Confix](./02-confix.md)
14-
* [Hubl](./03-hubl.md)
1514
* [Rosetta](https://docs.cosmos.network/main/run-node/rosetta)
1615

1716
## Other Tools

‎docs/post.sh

-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
find build/modules ! -name '_category_.json' -type f -exec rm -rf {} +
44
rm -rf build/tooling/01-cosmovisor.md
55
rm -rf build/tooling/02-confix.md
6-
rm -rf build/tooling/03-hubl.md
76
rm -rf build/packages/01-depinject.md
87
rm -rf build/packages/02-collections.md
98
rm -rf build/packages/03-orm.md

‎docs/pre.sh

-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@ cat ../x/README.md | sed 's/\.\.\/\/build\/building-modules\/README\.md/\/buildi
2828
## Add tooling documentation
2929
cp ../tools/cosmovisor/README.md ./build/tooling/01-cosmovisor.md
3030
cp ../tools/confix/README.md ./build/tooling/02-confix.md
31-
cp ../tools/hubl/README.md ./build/tooling/03-hubl.md
3231

3332
## Add package documentation
3433
cp ../client/v2/README.md ./learn/advanced/17-autocli.md

‎go.work.example

-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ use (
2525
./runtime/v2
2626
./tools/cosmovisor
2727
./tools/confix
28-
./tools/hubl
2928
./tools/benchmark
3029
./x/accounts
3130
./x/accounts/defaults/base

‎scripts/build/build.mk

-4
Original file line numberDiff line numberDiff line change
@@ -149,10 +149,6 @@ cosmovisor:
149149
confix:
150150
$(MAKE) -C tools/confix confix
151151

152-
#? hubl: Build hubl
153-
hubl:
154-
$(MAKE) -C tools/hubl hubl
155-
156152
.PHONY: build build-linux-amd64 build-linux-arm64 cosmovisor confix
157153

158154
#? mocks: Generate mock file

‎tools/hubl/.gitignore

-1
This file was deleted.

‎tools/hubl/CHANGELOG.md

-32
This file was deleted.

‎tools/hubl/Makefile

-12
This file was deleted.

‎tools/hubl/README.md

-73
This file was deleted.

‎tools/hubl/cmd/hubl/main.go

-16
This file was deleted.

‎tools/hubl/go.mod

-165
This file was deleted.

‎tools/hubl/go.sum

-1,054
This file was deleted.

‎tools/hubl/internal/compat.go

-298
This file was deleted.

‎tools/hubl/internal/config/config.go

-108
This file was deleted.

‎tools/hubl/internal/flags/flags.go

-18
This file was deleted.

‎tools/hubl/internal/keyring.go

-147
This file was deleted.

‎tools/hubl/internal/load.go

-201
This file was deleted.

‎tools/hubl/internal/registry.go

-104
This file was deleted.

‎tools/hubl/internal/remote.go

-262
This file was deleted.

‎tools/hubl/internal/root.go

-39
This file was deleted.

‎tools/hubl/internal/util.go

-43
This file was deleted.

‎tools/hubl/internal/version.go

-42
This file was deleted.

‎tools/hubl/sonar-project.properties

-16
This file was deleted.

0 commit comments

Comments
 (0)
Please sign in to comment.