Skip to content

v0.2.9-beta

Pre-release
Pre-release

Choose a tag to compare

@andrejrakic andrejrakic released this 06 May 17:18
· 16 commits to develop since this release
643284b

chainlink local logo

v0.2.9-beta Release - 6 May 2026

This release fixes the algorithm for handling multiple offramps in ccipLocalSimulatorFork

Changelog

Dependencies

Package Version
@chainlink/contracts-ccip 1.6.2
@chainlink/contracts 1.5.0

Fixed

  • CCIPLocalSimulatorFork.switchChainAndRouteMessage now pairs the destination OffRamp with the source OnRamp by reading getSourceChainConfig (v1.6+) and getStaticConfig (pre-v1.6), and falls back to trying other OffRamps with the same sourceChainSelector when execution fails or no deterministic match is found.

Testing the release

To test this release install @chainlink-local using the following commands:

Foundry (git)

forge install smartcontractkit/chainlink-local@v0.2.9-beta

and then set remappings to: @chainlink/local/=lib/chainlink-local/ in either remappings.txt or foundry.toml file

Hardhat (npm)

npm install @chainlink/local@v0.2.9-beta

and then create the following contract and compile it:

// SPDX-License-Identifier: MIT
pragma solidity ^0.8.24;

import {CCIPLocalSimulator} from "@chainlink/local/src/ccip/CCIPLocalSimulator.sol";

Remix IDE

// SPDX-License-Identifier: MIT
pragma solidity ^0.8.24;

import {CCIPLocalSimulator} from "https://github.com/smartcontractkit/chainlink-local/blob/v0.2.9-beta/src/ccip/CCIPLocalSimulator.sol";

PRs included

  • Improve the algorithm for handling multiple offramps in ccipLocalSimulatorFork by @andrejrakic in #59

Full Changelog: v0.2.8...v0.2.9-beta