Skip to content

Commit 016bcb6

Browse files
Merge branch 'main' into tamjid/code-style
2 parents 4a0abc2 + a5ad744 commit 016bcb6

File tree

22 files changed

+43
-33
lines changed

22 files changed

+43
-33
lines changed

Makefile

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -335,13 +335,6 @@ benchmark:
335335
### Linting ###
336336
###############################################################################
337337

338-
#? setup-pre-commit: Set pre commit git hook
339-
setup-pre-commit:
340-
@cp .git/hooks/pre-commit .git/hooks/pre-commit.bak 2>/dev/null || true
341-
@echo "Installing pre-commit hook..."
342-
@ln -sf ../../scripts/hooks/pre-commit.sh .git/hooks/pre-commit
343-
@echo "Pre-commit hook was installed at .git/hooks/pre-commit"
344-
345338
#? lint: Run golangci-lint on all modules
346339
lint:
347340
@echo "--> Running linter"
@@ -352,10 +345,9 @@ lint-fix:
352345
@echo "--> Running linter"
353346
@./scripts/go-lint-all.sh --fix
354347

355-
#? format: Run gofumpt and misspell
348+
#? format: Run gofumpt
356349
format:
357-
find . -name '*.go' -type f -not -path "./vendor*" -not -path "*.git*" -not -path "./docs/client/statik/statik.go" -not -path "./tests/mocks/*" -not -name '*.pb.go' -not -name '*.pb.gw.go' | xargs gofumpt -w
358-
find . -name '*.go' -type f -not -path "./vendor*" -not -path "*.git*" -not -path "./docs/client/statik/statik.go" -not -path "./tests/mocks/*" -not -name '*.pb.go' -not -name '*.pb.gw.go' | xargs misspell -w
350+
find . -name '*.go' -type f -not -path "./vendor*" -not -path "*.git*" -not -path "./tests/mocks/*" -not -name '*.pb.go' -not -name '*.pb.gw.go' | xargs gofumpt -w
359351
.PHONY: format
360352

361353
.PHONY: lint lint-fix format
@@ -364,7 +356,7 @@ format:
364356
### Protobuf ###
365357
###############################################################################
366358

367-
protoVer=0.14.0
359+
protoVer=0.17.0
368360
protoImageName=ghcr.io/cosmos/proto-builder:$(protoVer)
369361
protoImage=$(DOCKER) run --rm -v $(CURDIR):/workspace --workdir /workspace $(protoImageName)
370362

e2e/ci-e2e-config.yaml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,16 @@
22
# Many of these fields can be overridden with environment variables.
33
# All fields that support this have the corresponding environment variable name in a comment beside the field.
44

5-
# | Environment Variable | Description | Default Value |
6-
# |----------------------|-------------------------------------------|------------------------------|
7-
# | CHAIN_IMAGE | The image that will be used for the chain | ghcr.io/cosmos/ibc-go-simd |
8-
# | CHAIN_A_TAG | The tag used for chain A | N/A (must be set) |
9-
# | CHAIN_B_TAG | The tag used for chain B | N/A (must be set) |
10-
# | CHAIN_C_TAG | The tag used for chain C | N/A (optional; fallback to A)|
11-
# | CHAIN_D_TAG | The tag used for chain D | N/A (optional; fallback to A)|
12-
# | CHAIN_BINARY | The binary used in the container | simd |
13-
# | RELAYER_TAG | The tag used for the relayer | 1.10.4 |
14-
# | RELAYER_ID | The type of relayer to use (rly/hermes) | hermes |
5+
# | Environment Variable | Description | Default Value |
6+
# |----------------------|-------------------------------------------|-------------------------------|
7+
# | CHAIN_IMAGE | The image that will be used for the chain | ghcr.io/cosmos/ibc-go-simd |
8+
# | CHAIN_A_TAG | The tag used for chain A | N/A (must be set) |
9+
# | CHAIN_B_TAG | The tag used for chain B | N/A (must be set) |
10+
# | CHAIN_C_TAG | The tag used for chain C | N/A (optional; fallback to A) |
11+
# | CHAIN_D_TAG | The tag used for chain D | N/A (optional; fallback to A) |
12+
# | CHAIN_BINARY | The binary used in the container | simd |
13+
# | RELAYER_TAG | The tag used for the relayer | luca_joss-update-docker-build |
14+
# | RELAYER_ID | The type of relayer to use (rly/hermes) | hermes |
1515

1616
# see sample.config.yaml for a bare minimum configuration example.
1717
# set env E2E_CONFIG_PATH to point to this file to use it.
@@ -51,7 +51,7 @@ activeRelayer: hermes # override with RELAYER_ID
5151
relayers:
5252
- id: hermes
5353
image: ghcr.io/informalsystems/hermes
54-
tag: "1.10.4"
54+
tag: "luca_joss-update-docker-build" # v1.13.1 had to be built manually
5555
- id: rly
5656
image: ghcr.io/cosmos/relayer
5757
tag: "latest"

e2e/sample.config.extended.yaml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,16 @@
22
# Many of these fields can be overridden with environment variables.
33
# All fields that support this have the corresponding environment variable name in a comment beside the field.
44

5-
# | Environment Variable | Description | Default Value |
6-
# |----------------------|-------------------------------------------|------------------------------|
7-
# | CHAIN_IMAGE | The image that will be used for the chain | ghcr.io/cosmos/ibc-go-simd |
8-
# | CHAIN_A_TAG | The tag used for chain A | N/A (must be set) |
9-
# | CHAIN_B_TAG | The tag used for chain B | N/A (must be set) |
10-
# | CHAIN_C_TAG | The tag used for chain C | Optional (fallback to A) |
11-
# | CHAIN_D_TAG | The tag used for chain D | Optional (fallback to A) |
12-
# | CHAIN_BINARY | The binary used in the container | simd |
13-
# | RELAYER_TAG | The tag used for the relayer | 1.10.4 |
14-
# | RELAYER_ID | The type of relayer to use (rly/hermes) | hermes |
5+
# | Environment Variable | Description | Default Value |
6+
# |----------------------|-------------------------------------------|-------------------------------|
7+
# | CHAIN_IMAGE | The image that will be used for the chain | ghcr.io/cosmos/ibc-go-simd |
8+
# | CHAIN_A_TAG | The tag used for chain A | N/A (must be set) |
9+
# | CHAIN_B_TAG | The tag used for chain B | N/A (must be set) |
10+
# | CHAIN_C_TAG | The tag used for chain C | Optional (fallback to A) |
11+
# | CHAIN_D_TAG | The tag used for chain D | Optional (fallback to A) |
12+
# | CHAIN_BINARY | The binary used in the container | simd |
13+
# | RELAYER_TAG | The tag used for the relayer | luca_joss-update-docker-build |
14+
# | RELAYER_ID | The type of relayer to use (rly/hermes) | hermes |
1515

1616
# see sample.config.yaml for a bare minimum configuration example.
1717
# set env E2E_CONFIG_PATH to point to this file to use it.

e2e/testsuite/testconfig.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ const (
7171
defaultRlyTag = "latest"
7272

7373
// defaultHermesTag is the tag that will be used if no relayer tag is specified for hermes.
74-
defaultHermesTag = "1.10.4"
74+
defaultHermesTag = "luca_joss-update-docker-build" // v1.13.1 had to be built manually
7575
// defaultChainTag is the tag that will be used for the chains if none is specified.
7676
defaultChainTag = "main"
7777
// defaultConfigFileName is the default filename for the config file that can be used to configure

modules/apps/27-interchain-accounts/controller/types/query.pb.go

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

modules/apps/27-interchain-accounts/controller/types/tx.pb.go

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

modules/apps/27-interchain-accounts/host/types/query.pb.go

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

modules/apps/27-interchain-accounts/host/types/tx.pb.go

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

modules/apps/transfer/types/query.pb.go

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

modules/apps/transfer/types/tx.pb.go

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)