Skip to content

v0.2.1

Compare
Choose a tag to compare
@andrejrakic andrejrakic released this 05 Jul 11:31
· 8 commits to main since this release
ba1f463

v0.2.1 Release - 5 July 2024

This release adds support for Chainlink Data Feeds to Chainlink Local.

Documentation for this release is available at:

Testing the release

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

Foundry (git)

forge install smartcontractkit/[email protected]

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

Hardhat (npm)

npm install @chainlink/[email protected]

and then create the following contract and compile it:

pragma solidity ^0.8.0;

import {MockV3Aggregator} from "@chainlink/local/src/data-feeds/MockV3Aggregator.sol";

Remix IDE

pragma solidity ^0.8.0;

import {MockV3Aggregator} from "https://github.com/smartcontractkit/chainlink-local/blob/v0.2.1/src/data-feeds/MockV3Aggregator.sol";

Changelog

Dependencies

Package Version
@chainlink/contracts-ccip 1.4.0
@chainlink/contracts 1.1.1

Services

  • Chainlink CCIP
  • Chainlink Data Feeds
  • Chainlink VRF 2
  • Chainlink VRF 2.5

Added

  • Support for Chainlink Data Feeds by adding MockV3Aggregator.sol and MockOffchainAggregator.sol mock contracts
  • Showcase tests for testing in a forking actual networks environment