v0.2.2-beta
Pre-release
Pre-release
andrejrakic
released this
12 Sep 11:58
·
10 commits
to develop
since this release
v0.2.2-beta Release
This release adds a tentative support for CCIP v1.5.
Added
- Support for Chainlink CCIP v1.5 (bumped
@chainlink/contracts-ccip
to
1.5.0-beta.0
) - Set EVM Version strictly to
paris
for all contracts - Added
supportNewTokenViaOwner
andsupportNewTokenViaGetCCIPAdmin
functions
toCCIPLocalSimulator.sol
instead ofsupportNewToken
function - Added
rmnProxyAddress
,tokenAdminRegistryAddress
and
registryModuleOwnerCustomAddress
to theNetworkDetails
struct of the
Register.sol
smart contract - Added unit tests for new functions in the
CCIPLocalSimulator.sol
contract - Added e2e test for new changes in the
CCIPLocalSimulatorFork.sol
contract.
There is a test with ERC-20 token with anowner()
function implemented and
Burn & Mint Pool, and test with ERC-20 token with agetCCIPAdmin()
function
implemented and Lock & Release Pool
Changed
- Bumped Solidity compiler version from 0.8.19 to 0.8.24
- The
getSupportedTokens()
function now only exists in the
CCIPLocalSimulator.sol
contract, it has been removed from the CCIP's
Router.sol
contract. Calling that function from theRouter.sol
contract in
the Forking mode will now revert - Added
uint32[] memory tokenGasOverrides
as function parameter to the
executeSingleMessage
function in theCCIPLocalSimulatorFork.sol
contract
to reflect new changes in the CCIP'sEVM2EVMOffRamp.sol
smart contract - Bumped pragma solidity version of
BasicTokenSender.sol
,
CCIPReceiver_Unsafe.sol
,ProgrammableTokenTransfers
and
ProgrammableDefensiveTokenTransfers.sol
contracts from thesrc/test
folder
from0.8.19
to0.8.24
Removed
- Removed
supportNewToken
function fromCCIPLocalSimulator.sol
- Removed
CCIPLocalSimulatorV0.sol
andMockEvm2EvmOffRamp.sol
contracts as
they have not being used for a while
Testing the release
To test this release install @chainlink-local using the following commands:
Foundry (git)
forge install smartcontractkit/chainlink-local@v0.2.2-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.2-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.2-beta/src/ccip/CCIPLocalSimulator.sol";
PRs included
- Automated API Reference Generation and Index File Creation by @aelmanaa in #14
- Support for CCIP v1.5 and preparing for 0.2.2-beta release by @andrejrakic in #19
New Contributors
Full Changelog: v0.2.1...v0.2.2-beta