Skip to content

Combine enhancements #8257

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 12 commits into
base: main
Choose a base branch
from
Open
13 changes: 6 additions & 7 deletions .github/workflows/e2emodule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ on:
merge_group:
pull_request:
paths:
- '.github/workflows/e2emodule.yml'
- 'e2e/**'
- ".github/workflows/e2emodule.yml"
- "e2e/**"

permissions:
contents: read
Expand All @@ -17,16 +17,15 @@ jobs:
steps:
- uses: actions/setup-go@v5
with:
go-version: '1.23'
cache-dependency-path: 'e2e/go.sum'
go-version: "1.23"
cache-dependency-path: "e2e/go.sum"
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: golangci/[email protected]
with:
version: v2.0
only-new-issues: true
args: --timeout 5m
working-directory: e2e/

tests:
Expand All @@ -35,8 +34,8 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: '1.23'
cache-dependency-path: 'e2e/go.sum'
go-version: "1.23"
cache-dependency-path: "e2e/go.sum"
- name: Go Test
run: |
cd e2e
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/golangci-feature.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
steps:
- uses: actions/setup-go@v5
with:
go-version: '1.23'
go-version: "1.23"
- uses: actions/checkout@v4
with:
fetch-depth: 0
Expand All @@ -31,4 +31,3 @@ jobs:
with:
version: v2.0
only-new-issues: true
args: --timeout 10m
3 changes: 1 addition & 2 deletions .github/workflows/golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
steps:
- uses: actions/setup-go@v5
with:
go-version: '1.23'
go-version: "1.23"
- uses: actions/checkout@v4
with:
fetch-depth: 0
Expand All @@ -27,4 +27,3 @@ jobs:
with:
version: v2.0
only-new-issues: true
args: --timeout 10m
9 changes: 4 additions & 5 deletions .github/workflows/wasm-client.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,27 +16,26 @@ jobs:
steps:
- uses: actions/setup-go@v5
with:
go-version: '1.23'
go-version: "1.23"
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: golangci/[email protected]
with:
version: v2.0
only-new-issues: true
args: --timeout 10m
working-directory: modules/light-clients/08-wasm

build:
runs-on: depot-ubuntu-22.04-4
strategy:
matrix:
go-arch: ['amd64', 'arm64']
go-arch: ["amd64", "arm64"]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: '1.23'
go-version: "1.23"
# Install cross compiler for ARM64. Export CC env variable.
- name: Install compiler for arm64.
run: |
Expand All @@ -55,7 +54,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: '1.23'
go-version: "1.23"
- name: Go Test
run: |
cd modules/light-clients/08-wasm
Expand Down
8 changes: 5 additions & 3 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@ run:
linters:
default: none
enable:
- copyloopvar
- errcheck
- exhaustive
- goconst
- gocritic
- gosec
Expand Down Expand Up @@ -101,13 +103,13 @@ linters:
text: Use of weak random number generator
- linters:
- gosec
text: 'G115: integer overflow conversion'
text: "G115: integer overflow conversion"
- linters:
- staticcheck
text: 'SA1019:'
text: "SA1019:"
- linters:
- gosec
text: 'G115: integer overflow conversion'
text: "G115: integer overflow conversion"
paths:
- third_party$
- builtin$
Expand Down
2 changes: 1 addition & 1 deletion e2e/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/cosmos/ibc-go/e2e

go 1.23.6
go 1.24

replace github.com/strangelove-ventures/interchaintest/v8 => github.com/gjermundgaraba/interchaintest/v8 v8.0.0-20250302163936-9fca2b7de400

Expand Down
2 changes: 1 addition & 1 deletion e2e/tests/core/02-client/client_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -485,7 +485,7 @@ func createMaliciousTMHeader(chainID string, blockHeight int64, trustedHeight cl
AppHash: tmhash.Sum([]byte(invalidHashValue)),
LastResultsHash: tmhash.Sum([]byte(invalidHashValue)),
EvidenceHash: tmhash.Sum([]byte(invalidHashValue)),
ProposerAddress: tmValSet.Proposer.Address, //nolint:staticcheck
ProposerAddress: tmValSet.Proposer.Address,
}

hhash := tmHeader.Hash()
Expand Down
Loading
Loading