Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
37 commits
Select commit Hold shift + click to select a range
9a14c10
RANE-4333 emit plugin relayer config
gheorghestrimtu Feb 11, 2026
1eb632e
Update workflow configurations and dependencies for integration tests…
gheorghestrimtu Feb 11, 2026
1377f31
chore: update dependencies and improve test setup
gheorghestrimtu Feb 12, 2026
0777059
refactor: remove redundant chainlink checkout and local replace steps…
gheorghestrimtu Feb 12, 2026
d9210c5
chore: update Go version to 1.25.3 and adjust related configurations
gheorghestrimtu Feb 12, 2026
5ddb690
chore: downgrade Go version to 1.21 in shell.nix and wasmd.nix
gheorghestrimtu Feb 12, 2026
6ccff8e
Update dependencies in integration-tests
gheorghestrimtu Feb 12, 2026
c583cc6
fix: add install-mode to golangci-lint action configuration
gheorghestrimtu Feb 12, 2026
c068e87
chore: update Go version to 1.25 in shell.nix and wasmd.nix
gheorghestrimtu Feb 12, 2026
5c587d4
fix: update Go package reference in shell.nix and wasmd.nix for compa…
gheorghestrimtu Feb 12, 2026
c28a68f
fix(ci): drop -coverpkg from relay unit test targets to avoid missing…
gheorghestrimtu Feb 12, 2026
db14abc
fix(ci): run relay coverage only on packages with tests to avoid covd…
gheorghestrimtu Feb 12, 2026
fb73500
chore(deps): align Go module versions across root, ops, and integrati…
gheorghestrimtu Feb 12, 2026
bcc01e6
fix(ops): upgrade x/oauth2 to v0.32.0 to resolve dependency-review vu…
gheorghestrimtu Feb 12, 2026
2f1c062
fix(ci): set DOCKER_API_VERSION to "1.44" in Gauntlet Run Tests
gheorghestrimtu Feb 12, 2026
c9e5f30
make generate
gheorghestrimtu Feb 12, 2026
f30c481
fix(cosmwasm): parse array-encoded OCR2 config digests in reader
gheorghestrimtu Feb 12, 2026
ed2e5f9
chore(integration-tests): tidy go.mod require blocks
gheorghestrimtu Feb 13, 2026
d6bda4e
chore(integration-tests): normalize go.mod require ordering
gheorghestrimtu Feb 13, 2026
f0a13fb
test(cosmos-client): tag wasmd tests as integration and run them expl…
gheorghestrimtu Feb 13, 2026
1b49202
ci: re-enable contracts lint workflow job
gheorghestrimtu Feb 13, 2026
87d1a4f
fix(contracts): remove redundant into_iter calls in ocr2 config zips
gheorghestrimtu Feb 13, 2026
d8dabc7
chore(ci): trigger workflows
gheorghestrimtu Feb 13, 2026
e267520
ci: pin Go 1.25.7 and restore relay coverage targets to ./pkg/cosmos/...
gheorghestrimtu Feb 13, 2026
3c65ac5
make gomodtidy
gheorghestrimtu Feb 13, 2026
6458f6a
ci(relay): run unit/race tests with setup-go (1.25.7) instead of nix …
gheorghestrimtu Feb 13, 2026
2f72f13
ci(relay): keep Nix-based tests, update nixpkgs, and pin Go toolchain…
gheorghestrimtu Feb 13, 2026
f70d0e3
chore(nix): update rust-overlay lock to match nixpkgs and fix relay n…
gheorghestrimtu Feb 13, 2026
fe51afb
ci(contracts): allow tarpaulin_include cfg in cargo check/clippy
gheorghestrimtu Feb 16, 2026
6970f40
ci(contracts): enable nix fallback and allow tarpaulin_include in che…
gheorghestrimtu Feb 16, 2026
e0caf0a
fix(nix): pin devshell Node to v20 LTS for gauntlet native deps build
gheorghestrimtu Feb 16, 2026
53ae169
fix(gauntlet): switch Ledger transport to hid-noevents to avoid usb n…
gheorghestrimtu Feb 16, 2026
362138c
chore: trigger ci
gheorghestrimtu Feb 16, 2026
ad6fe8a
test(integration): align deps with root module and fix Cosmos SDK API…
gheorghestrimtu Feb 16, 2026
e923f10
chore(deps): bump ibc-go to v8.7.0 to address dependency-review vulne…
gheorghestrimtu Feb 16, 2026
e0427f5
ci(gauntlet): disable cachix substituter in GitHub Actions
gheorghestrimtu Feb 16, 2026
dcc7f2d
refactor(cosmos): embed UnimplementedRelayer for forward-compatible i…
gheorghestrimtu Feb 17, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 9 additions & 7 deletions .github/workflows/contracts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,18 +34,16 @@ jobs:
# https://github.com/smartcontractkit/chainlink-cosmos/issues/15

- name: Run unit tests
run: nix develop -c cargo unit-test --locked
run: nix develop --option fallback true -c cargo unit-test --locked
env:
RUST_BACKTRACE: 1

- name: Compile WASM contract
run: nix develop -c cargo wasm --locked
run: nix develop --option fallback true -c cargo wasm --locked
env:
RUSTFLAGS: "-C link-arg=-s"

contracts_lint:
# TODO: reenable linting once we've updated contract syntax
if: false
name: Contracts Lint
runs-on: ubuntu-latest
steps:
Expand All @@ -68,13 +66,17 @@ jobs:
run: rm -rf ~/.cargo/bin

- name: Run cargo fmt
run: nix develop -c cargo fmt --all -- --check
run: nix develop --option fallback true -c cargo fmt --all -- --check

- name: Run cargo check
run: nix develop -c cargo check
run: nix develop --option fallback true -c cargo check
env:
RUSTFLAGS: "--check-cfg=cfg(tarpaulin_include)"

- name: Run cargo clippy
run: nix develop -c cargo clippy -- -D warnings
run: nix develop --option fallback true -c cargo clippy -- -D warnings
env:
RUSTFLAGS: "--check-cfg=cfg(tarpaulin_include)"

# TODO: Add schema checks
# https://github.com/smartcontractkit/chainlink-terra/issues/17
10 changes: 9 additions & 1 deletion .github/workflows/gauntlet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ jobs:
with:
name: chainlink-cosmos
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
useDaemon: false
skipAddingSubstituter: true
- run: nix develop -c yarn install --frozen-lockfile
- run: nix develop -c yarn build

Expand All @@ -41,6 +43,8 @@ jobs:
with:
name: chainlink-cosmos
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
useDaemon: false
skipAddingSubstituter: true
- run: nix develop -c yarn install --frozen-lockfile
- run: nix develop -c yarn lint:format

Expand All @@ -61,6 +65,8 @@ jobs:
with:
name: chainlink-cosmos
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
useDaemon: false
skipAddingSubstituter: true
- run: nix develop -c yarn install --frozen-lockfile
- run: nix develop -c yarn eslint
- name: Upload eslint report
Expand All @@ -74,6 +80,7 @@ jobs:
name: Gauntlet Run Tests
env:
CI: true
DOCKER_API_VERSION: "1.44"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # v4.1.5
Expand All @@ -87,6 +94,8 @@ jobs:
with:
name: chainlink-cosmos
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
useDaemon: false
skipAddingSubstituter: true
- name: Cache Wasmd Artifacts
uses: actions/cache@v4
id: cache-wasmd-artifacts
Expand All @@ -109,4 +118,3 @@ jobs:
with:
name: typescript-test-coverage
path: ./coverage/lcov.info

1 change: 1 addition & 0 deletions .github/workflows/golangci-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ jobs:
uses: golangci/golangci-lint-action@a4f60bb28d35aeee14e6880718e0c85ff1882e64 # v6.0.1
with:
version: v${{ steps.tool-versions.outputs.golangci-lint_version }}
install-mode: goinstall
args: --timeout=5m0s --tests=false --out-format checkstyle:golangci-lint-report.xml
only-new-issues: true
- name: Print lint report artifact
Expand Down
7 changes: 7 additions & 0 deletions .github/workflows/relay.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ jobs:
runs-on: ubuntu-latest
env:
DATABASE_URL: postgres://postgres@localhost:5432/postgres?sslmode=disable
GOTOOLCHAIN: go1.25.7+auto
services:
postgres:
image: postgres
Expand Down Expand Up @@ -44,6 +45,12 @@ jobs:
- name: Run unit tests
run: nix develop -c make test_relay_unit

- name: Verify wasmd binary is available
run: nix develop -c wasmd version

- name: Run integration-tagged tests
run: nix develop -c go test -v ./pkg/cosmos/client -run TestIntegration -tags integration

- name: Run tests with the race detector enabled
run: nix develop -c make test_relay_unit_race

Expand Down
2 changes: 1 addition & 1 deletion .tool-versions
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
rust 1.67.1
nodejs 18.6.0
yarn 1.22.19
golang 1.23.3
golang 1.25.7
python 3.9.13

# Tools
Expand Down
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -98,11 +98,11 @@ build_relay:

# Unit test without race detection
test_relay_unit: build_relay
go test -v -covermode=atomic ./pkg/cosmos/... -coverpkg=./... -coverprofile=unit_coverage.txt
go test -v -covermode=atomic ./pkg/cosmos/... -coverprofile=unit_coverage.txt

# Unit test with race detection
test_relay_unit_race: build_relay
go test -v -covermode=atomic ./pkg/cosmos/... -race -count=10 -coverpkg=./... -coverprofile=race_coverage.txt
go test -v -covermode=atomic ./pkg/cosmos/... -race -count=10 -coverprofile=race_coverage.txt


# copied over from starknet, replace as needed
Expand Down Expand Up @@ -140,7 +140,7 @@ gomodtidy: gomods

.PHONY: mockery
mockery: $(mockery) ## Install mockery.
go install github.com/vektra/mockery/v2@v2.43.2
go install github.com/vektra/mockery/v2@v2.53.5

.PHONY: rm-mocked
rm-mocked:
Expand Down
4 changes: 2 additions & 2 deletions contracts/ocr2/src/contract.rs
Original file line number Diff line number Diff line change
Expand Up @@ -576,8 +576,8 @@ pub fn execute_propose_config(
proposal.f = f;
proposal.oracles = signers
.into_iter()
.zip(transmitters.into_iter())
.zip(payees.into_iter())
.zip(transmitters)
.zip(payees)
.map(|((signers, transmitters), payees)| (signers, transmitters, payees))
.collect();

Expand Down
52 changes: 9 additions & 43 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading