Skip to content
Closed
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
2 changes: 1 addition & 1 deletion .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "LayerZero Devtools",
"image": "ghcr.io/layerzero-labs/devtools-dev-base:shankar-ci-upgrade",
"image": "ghcr.io/layerzero-labs/devtools-dev-base:solana-examples-update-anchor-version-try-diff-toolchain-version",
"mounts": ["type=volume,target=${containerWorkspaceFolder}/node_modules"],
"runArgs": ["--env-file", ".env"],
"features": {
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/reusable-publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:

# We'll run the job on the prebuilt base image
container:
image: ghcr.io/layerzero-labs/devtools-dev-base:shankar-ci-upgrade
image: ghcr.io/layerzero-labs/devtools-dev-base:solana-examples-update-anchor-version-try-diff-toolchain-version

steps:
- name: Checkout repo
Expand Down
20 changes: 10 additions & 10 deletions .github/workflows/reusable-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:

# We'll run the job on the prebuilt base image
container:
image: ghcr.io/layerzero-labs/devtools-dev-base:shankar-ci-upgrade
image: ghcr.io/layerzero-labs/devtools-dev-base:solana-examples-update-anchor-version-try-diff-toolchain-version

steps:
- name: Checkout repo
Expand Down Expand Up @@ -107,11 +107,11 @@ jobs:
JEST_TIMEOUT: 60_000 # Increase timeout for ARM builds
TEST_TIMEOUT: 600_000 # 10 minutes timeout for long-running tests
# We'll use the prebuilt base image
DEVTOOLS_BASE_IMAGE: ghcr.io/layerzero-labs/devtools-dev-base:shankar-ci-upgrade
DEVTOOLS_BASE_IMAGE: ghcr.io/layerzero-labs/devtools-dev-base:solana-examples-update-anchor-version-try-diff-toolchain-version
# And the prebuilt hardhat EVM node image
DEVTOOLS_EVM_NODE_IMAGE: ghcr.io/layerzero-labs/devtools-dev-node-evm-hardhat:shankar-ci-upgrade
DEVTOOLS_EVM_NODE_IMAGE: ghcr.io/layerzero-labs/devtools-dev-node-evm-hardhat:solana-examples-update-anchor-version-try-diff-toolchain-version
# And the prebuilt TON node image
DEVTOOLS_TON_NODE_IMAGE: ghcr.io/layerzero-labs/devtools-dev-node-ton-my-local-ton:shankar-ci-upgrade
DEVTOOLS_TON_NODE_IMAGE: ghcr.io/layerzero-labs/devtools-dev-node-ton-my-local-ton:solana-examples-update-anchor-version-try-diff-toolchain-version
# Provided we have good quality Solana RPCs, we can enable Solana tests
#
# FIXME The Solana tests need to be ported to either use a stable deployment
Expand Down Expand Up @@ -175,17 +175,17 @@ jobs:
LAYERZERO_EXAMPLES_REPOSITORY_URL: https://github.com/${{ github.repository }}.git
LAYERZERO_EXAMPLES_REPOSITORY_REF: ${{ github.ref }}
# We'll use the prebuilt base image
DEVTOOLS_BASE_IMAGE: ghcr.io/layerzero-labs/devtools-dev-base:shankar-ci-upgrade
DEVTOOLS_BASE_IMAGE: ghcr.io/layerzero-labs/devtools-dev-base:solana-examples-update-anchor-version-try-diff-toolchain-version
# And the prebuilt hardhat EVM node image
DEVTOOLS_EVM_NODE_IMAGE: ghcr.io/layerzero-labs/devtools-dev-node-evm-hardhat:shankar-ci-upgrade
DEVTOOLS_EVM_NODE_IMAGE: ghcr.io/layerzero-labs/devtools-dev-node-evm-hardhat:solana-examples-update-anchor-version-try-diff-toolchain-version
# Using the local Aptos testnet node
DEVTOOLS_APTOS_NODE_IMAGE: ghcr.io/layerzero-labs/devtools-dev-node-aptos-local-testnet:shankar-ci-upgrade
DEVTOOLS_APTOS_NODE_IMAGE: ghcr.io/layerzero-labs/devtools-dev-node-aptos-local-testnet:solana-examples-update-anchor-version-try-diff-toolchain-version
# Using the local TON node - i do not know if this is working
DEVTOOLS_TON_NODE_IMAGE: ghcr.io/layerzero-labs/devtools-dev-node-ton-my-local-ton:shankar-ci-upgrade
DEVTOOLS_TON_NODE_IMAGE: ghcr.io/layerzero-labs/devtools-dev-node-ton-my-local-ton:solana-examples-update-anchor-version-try-diff-toolchain-version
# Using the local Initia node
DEVTOOLS_INITIA_NODE_IMAGE: ghcr.io/layerzero-labs/devtools-dev-node-initia-localnet:shankar-ci-upgrade
DEVTOOLS_INITIA_NODE_IMAGE: ghcr.io/layerzero-labs/devtools-dev-node-initia-localnet:solana-examples-update-anchor-version-try-diff-toolchain-version
# Using the local Solana test validator - may fail due to RPC issues
DEVTOOLS_SOLANA_NODE_IMAGE: ghcr.io/layerzero-labs/devtools-dev-node-solana-test-validator:shankar-ci-upgrade
DEVTOOLS_SOLANA_NODE_IMAGE: ghcr.io/layerzero-labs/devtools-dev-node-solana-test-validator:solana-examples-update-anchor-version-try-diff-toolchain-version


# We'll collect the docker compose logs from all containers on failure
Expand Down
7 changes: 7 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,14 @@ RUN apt-get install --yes \
ARG RUST_TOOLCHAIN_VERSION=1.84.1
RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs \
| sh -s -- -y --profile minimal --default-toolchain ${RUST_TOOLCHAIN_VERSION}
# Ensure stable is installed and available
RUN rustup toolchain install 1.84.1
# Pre-install nightly toolchains used by Anchor IDL builds
# Install both a pinned nightly and the moving 'nightly' channel with required components
ARG RUST_NIGHTLY_VERSION=nightly-2025-05-01
RUN rustup toolchain install ${RUST_NIGHTLY_VERSION} && \
rustup component add --toolchain ${RUST_NIGHTLY_VERSION} cargo rustfmt clippy
ENV RUSTUP_TOOLCHAIN=${RUST_NIGHTLY_VERSION}
RUN rustc --version

### Setup go
Expand Down
2 changes: 1 addition & 1 deletion examples/lzapp-migration/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

## Requirements

- Rust `nightly-2025-05-01`
- Rust `1.84.1`
- Anchor `0.31.1`
- Solana CLI `2.2.20`
- Docker `28.3.0`
Expand Down
43 changes: 41 additions & 2 deletions examples/lzapp-migration/pnpm-lock.yaml

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

2 changes: 1 addition & 1 deletion examples/oapp-solana/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ For a more thorough walkthrough of how a Solana OApp works, refer to [Solana OAp

## Requirements

- Rust `nightly-2025-05-01`
- Rust `1.84.1`
- Anchor `v0.31.1`
- Solana CLI `v2.2.20`
- Docker
Expand Down
43 changes: 41 additions & 2 deletions examples/oapp-solana/pnpm-lock.yaml

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

2 changes: 1 addition & 1 deletion examples/oapp-solana/rust-toolchain.toml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
[toolchain]
channel = "nightly-2025-05-01"
channel = "1.84.1"
2 changes: 1 addition & 1 deletion examples/oft-solana/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@

## Requirements

- Rust `nightly-2025-05-01`
- Rust `1.84.1`
- Anchor `0.31.1`
- Solana CLI `2.2.20`
- Docker `28.3.0`
Expand Down
50 changes: 45 additions & 5 deletions examples/oft-solana/pnpm-lock.yaml

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

2 changes: 1 addition & 1 deletion examples/oft-solana/rust-toolchain.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
[toolchain]
channel = "nightly-2025-05-01"
channel = "1.84.1"
components = ["rustfmt", "clippy"]
Loading