Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
4 changes: 2 additions & 2 deletions .github/actions/setup-stellar-cli/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@ inputs:
version:
description: stellar-cli version
required: false
default: "25.1.0"
default: "28.0.0"
shasum:
description: SHA256 of the release tarball for the requested version
required: false
default: "e6fac619b2ae9b3ecb843a9e8e3bfc94dce79e0b73c63cb1cbbd08682bb0a0ba"
default: "207544486734fccb4df1afc4a7745478f9f1e21688b2f9506f0ef36f60ce3fdc"

runs:
using: composite
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build-push-ecr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@

steps:
- name: Check out code
uses: actions/checkout@v6
uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6.1.0

Check warning on line 46 in .github/workflows/build-push-ecr.yaml

View workflow job for this annotation

GitHub Actions / Validate Workflow Changes

1. Trusted actions should use a major version tag, if available. (trusted-tag-ref / warning)

Check warning on line 46 in .github/workflows/build-push-ecr.yaml

View workflow job for this annotation

GitHub Actions / Validate Workflow Changes

1. Trusted actions should use a major version tag, if available. (trusted-tag-ref / warning)
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@e468171a9de216ec08956ac3ada2f0791b6bd435 # v3.11.1

Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/check-formatting.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,9 @@ jobs:
rustfmt: "true"

- name: Install Just
uses: extractions/setup-just@53165ef7e734c5c07cb06b3c8e7b647c5aa16db3 # v4
uses: taiki-e/install-action@a4d3f3f761dcd95cce1b72cb61cb6d1963438177 # v2.87.30
with:
tool: just@1.59.0

- name: Check Rust formatting
run: just fmt-contracts-check
12 changes: 9 additions & 3 deletions .github/workflows/data-feeds-contracts.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,9 @@ jobs:
workspaces: contracts/data-feeds

- name: Install Just
uses: extractions/setup-just@53165ef7e734c5c07cb06b3c8e7b647c5aa16db3 # v4
uses: taiki-e/install-action@a4d3f3f761dcd95cce1b72cb61cb6d1963438177 # v2.87.30
with:
tool: just@1.59.0

- name: Run tests
run: just test
Expand All @@ -60,7 +62,9 @@ jobs:
workspaces: contracts/data-feeds

- name: Install Just
uses: extractions/setup-just@53165ef7e734c5c07cb06b3c8e7b647c5aa16db3 # v4
uses: taiki-e/install-action@a4d3f3f761dcd95cce1b72cb61cb6d1963438177 # v2.87.30
with:
tool: just@1.59.0

- name: Check formatting
run: just fmt-check
Expand All @@ -86,7 +90,9 @@ jobs:
workspaces: contracts/data-feeds

- name: Install Just
uses: extractions/setup-just@53165ef7e734c5c07cb06b3c8e7b647c5aa16db3 # v4
uses: taiki-e/install-action@a4d3f3f761dcd95cce1b72cb61cb6d1963438177 # v2.87.30
with:
tool: just@1.59.0

- name: Install Stellar CLI
uses: ./.github/actions/setup-stellar-cli
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-contracts.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
uses: Swatinem/rust-cache@779680da715d629ac1d338a641029a2f4372abb5 # v2

- name: Install cargo-llvm-cov
uses: taiki-e/install-action@de6bbd1333b8f331563d54a051e542c7dfef81c3 # v2.68.34
uses: taiki-e/install-action@a4d3f3f761dcd95cce1b72cb61cb6d1963438177 # v2.87.30
with:
tool: cargo-llvm-cov

Expand Down
12 changes: 9 additions & 3 deletions .github/workflows/test-coverage-report.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v5
uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5

Check warning on line 24 in .github/workflows/test-coverage-report.yaml

View workflow job for this annotation

GitHub Actions / Validate Workflow Changes

1. Trusted actions should use a major version tag, if available. (trusted-tag-ref / warning)

Check warning on line 24 in .github/workflows/test-coverage-report.yaml

View workflow job for this annotation

GitHub Actions / Validate Workflow Changes

1. Trusted actions should use a major version tag, if available. (trusted-tag-ref / warning)
with:
fetch-depth: 0

Expand Down Expand Up @@ -51,7 +51,9 @@
chainlink-stellar-go-${{ runner.os }}-

- name: Install just
uses: extractions/setup-just@69d82fb0233557aec017ef13706851d0694e0f1d # v2.0.0
uses: taiki-e/install-action@a4d3f3f761dcd95cce1b72cb61cb6d1963438177 # v2.87.30
with:
tool: just@1.59.0

- name: Run tests (current ref)
run: |
Expand Down Expand Up @@ -109,10 +111,14 @@
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
script: |
// Read branch names from the event payload, not from workflow-expression
// expansion: the head branch name is the PR author's and must never be
// interpolated into this script (it would execute as JS with this token).
const pr = context.payload.pull_request;
const coverage_report = process.env.coverage_report;
await github.rest.issues.createComment({
issue_number: context.issue.number,
owner: context.repo.owner,
repo: context.repo.repo,
body: `Code coverage report:\n| Top package | \`${{ github.base_ref }}\` | \`${{ github.head_ref }}\` | diff |\n${coverage_report}`
body: `Code coverage report:\n| Top package | \`${pr.base.ref}\` | \`${pr.head.ref}\` | diff |\n${coverage_report}`
});
4 changes: 3 additions & 1 deletion .github/workflows/test-e2e-tcapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,9 @@ jobs:
# (gen_interfaces.sh runs stellar contract build), so make build below is a
# warm rebuild. .dockerignore excludes target/ from the image builds' context.
- name: Install just
uses: extractions/setup-just@e33e0265a09d6d736e2ee1e0eb685ef1de4669ff # v3
uses: taiki-e/install-action@a4d3f3f761dcd95cce1b72cb61cb6d1963438177 # v2.87.30
with:
tool: just@1.59.0

# Image-cache strategy mirrors test-e2e.yaml (shared cache keys): the CCV
# key rotates only when the ccv pin moves; the Stellar key hashes the Go
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/test-e2e.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,9 @@ jobs:
# (gen_interfaces.sh runs stellar contract build), so make build below is a
# warm rebuild. .dockerignore excludes target/ from the image builds' context.
- name: Install just
uses: extractions/setup-just@e33e0265a09d6d736e2ee1e0eb685ef1de4669ff # v3
uses: taiki-e/install-action@a4d3f3f761dcd95cce1b72cb61cb6d1963438177 # v2.87.30
with:
tool: just@1.59.0

# The dev images are cached so a cold runner does not pay the full 7-service
# CCV + 2-service Stellar rebuild (~19 min) every run. The CCV image cache key
Expand Down
7 changes: 7 additions & 0 deletions .github/workflows/test-go.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,3 +57,10 @@ jobs:
- name: Run unit tests (capabilities module)
working-directory: capabilities
run: go test -v -race -fullpath -shuffle on ./...

# The /relayer directory is also a separate Go module (relayer/go.mod):
# the Stellar relayer (txm, monitor, chain/client adapters). Its deps
# resolve from the Go proxy, so no local replaces are needed here.
- name: Run unit tests (relayer module)
working-directory: relayer
run: go test -v -race -fullpath -shuffle on ./...
2 changes: 1 addition & 1 deletion Dockerfile.executor
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# syntax=docker/dockerfile:1.7
FROM golang:1.27.1-alpine AS builder
FROM golang:1.27.3-alpine AS builder
WORKDIR /build

# git is needed for module resolution of dependencies that use VCS metadata.
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile.verifier
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# syntax=docker/dockerfile:1.7
FROM golang:1.27.1-alpine AS builder
FROM golang:1.27.3-alpine AS builder
WORKDIR /build

# git is needed for module resolution of dependencies that use VCS metadata.
Expand Down
6 changes: 2 additions & 4 deletions bindings/go.mod
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
module github.com/smartcontractkit/chainlink-stellar/bindings

go 1.26.6
go 1.27.3

require (
github.com/stellar/go-stellar-sdk v0.7.3
github.com/stellar/go-stellar-sdk v0.8.0
github.com/stretchr/testify v1.11.1
)

Expand All @@ -14,7 +14,5 @@ require (
github.com/pkg/errors v0.9.1 // indirect
github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 // indirect
github.com/stellar/go-xdr v0.0.0-20260806060815-dc590f17552a // indirect
golang.org/x/net v0.55.0 // indirect
golang.org/x/sys v0.45.0 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
)
4 changes: 2 additions & 2 deletions bindings/go.sum

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

16 changes: 8 additions & 8 deletions ccv/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/smartcontractkit/chainlink-stellar/ccv

go 1.27.1
go 1.27.3

require (
github.com/BurntSushi/toml v1.6.0
Expand All @@ -16,7 +16,7 @@ require (
github.com/smartcontractkit/chainlink-stellar/bindings v0.0.0-20260930174906-8fac26710632
github.com/smartcontractkit/chainlink-stellar/deployment v0.0.0-00010101000000-000000000000
github.com/smartcontractkit/chainlink-stellar/relayer v0.0.0-00010101000000-000000000000
github.com/stellar/go-stellar-sdk v0.7.3
github.com/stellar/go-stellar-sdk v0.8.0
github.com/stretchr/testify v1.12.1
)

Expand All @@ -36,15 +36,15 @@ require (
github.com/aptos-labs/aptos-go-sdk v1.13.0 // indirect
github.com/avast/retry-go/v4 v4.7.0 // indirect
github.com/aws/aws-sdk-go v1.55.8 // indirect
github.com/aws/aws-sdk-go-v2 v1.42.1 // indirect
github.com/aws/aws-sdk-go-v2 v1.45.1 // indirect
github.com/aws/aws-sdk-go-v2/config v1.32.28 // indirect
github.com/aws/aws-sdk-go-v2/credentials v1.19.27 // indirect
github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.18.30 // indirect
github.com/aws/aws-sdk-go-v2/internal/configsources v1.4.30 // indirect
github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.7.30 // indirect
github.com/aws/aws-sdk-go-v2/internal/v4a v1.4.31 // indirect
github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding v1.13.13 // indirect
github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.13.30 // indirect
github.com/aws/aws-sdk-go-v2/internal/configsources v1.5.1 // indirect
github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.8.1 // indirect
github.com/aws/aws-sdk-go-v2/internal/v4a v1.5.1 // indirect
github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding v1.13.19 // indirect
github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.14.1 // indirect
github.com/aws/aws-sdk-go-v2/service/kms v1.54.0 // indirect
github.com/aws/aws-sdk-go-v2/service/signin v1.3.0 // indirect
github.com/aws/aws-sdk-go-v2/service/sso v1.32.0 // indirect
Expand Down
28 changes: 14 additions & 14 deletions ccv/go.sum

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

16 changes: 8 additions & 8 deletions deployment/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/smartcontractkit/chainlink-stellar/deployment

go 1.27.1
go 1.27.3

require (
github.com/BurntSushi/toml v1.6.0
Expand All @@ -16,7 +16,7 @@ require (
github.com/smartcontractkit/chainlink-protos/job-distributor v0.20.0
github.com/smartcontractkit/chainlink-stellar/bindings v0.0.0-20260930174906-8fac26710632
github.com/smartcontractkit/mcms v0.56.1
github.com/stellar/go-stellar-sdk v0.7.3
github.com/stellar/go-stellar-sdk v0.8.0
github.com/stretchr/testify v1.12.1
)

Expand All @@ -29,15 +29,15 @@ require (
github.com/aptos-labs/aptos-go-sdk v1.13.0 // indirect
github.com/avast/retry-go/v4 v4.7.0 // indirect
github.com/aws/aws-sdk-go v1.55.8 // indirect
github.com/aws/aws-sdk-go-v2 v1.42.1 // indirect
github.com/aws/aws-sdk-go-v2 v1.45.1 // indirect
github.com/aws/aws-sdk-go-v2/config v1.32.28 // indirect
github.com/aws/aws-sdk-go-v2/credentials v1.19.27 // indirect
github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.18.30 // indirect
github.com/aws/aws-sdk-go-v2/internal/configsources v1.4.30 // indirect
github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.7.30 // indirect
github.com/aws/aws-sdk-go-v2/internal/v4a v1.4.31 // indirect
github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding v1.13.13 // indirect
github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.13.30 // indirect
github.com/aws/aws-sdk-go-v2/internal/configsources v1.5.1 // indirect
github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.8.1 // indirect
github.com/aws/aws-sdk-go-v2/internal/v4a v1.5.1 // indirect
github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding v1.13.19 // indirect
github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.14.1 // indirect
github.com/aws/aws-sdk-go-v2/service/kms v1.54.0 // indirect
github.com/aws/aws-sdk-go-v2/service/signin v1.3.0 // indirect
github.com/aws/aws-sdk-go-v2/service/sso v1.32.0 // indirect
Expand Down
Loading
Loading