Skip to content

Commit

Permalink
v0.2.1 Release (#12)
Browse files Browse the repository at this point in the history
* feat: Add Mock Data Feeds contracts

* feat: Add MockOffchainAggregator contract that expose minAnswer and maxAnswer functions. Add functionality to MockV3Aggregator to change underlying aggregator

* chore: Forge install @chainlink/[email protected]

* feat: Add mock data feeds smoke test

* chore: List upcoming release in Changelog

* feat: Add unit tests for mock data feeds contracts

* feat: Add smoke test for mock data feeds using Hardhat

* feat: Add forking test example and prepare for beta release

* fix: Fix bugs from the v0.2.0-beta release
chore: Prepare for the v0.2.1-beta release

* chore: Duplicate publish-beta-release.yml file from the main branch

* chore: Announce v0.2.1 release candidate

* fix: Nit changes from a PR review
  • Loading branch information
andrejrakic authored Jul 5, 2024
1 parent b3cc0c4 commit 2f706d5
Show file tree
Hide file tree
Showing 15 changed files with 10,828 additions and 6,403 deletions.
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,6 @@
[submodule "lib/ccip"]
path = lib/ccip
url = https://github.com/smartcontractkit/ccip
[submodule "lib/chainlink-brownie-contracts"]
path = lib/chainlink-brownie-contracts
url = https://github.com/smartcontractkit/chainlink-brownie-contracts
66 changes: 66 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,70 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [0.2.1] - Upcoming release

### Dependencies

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

### Services

- [x] Chainlink CCIP
- [x] 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

## [0.2.1-beta] - 26 June 2024

### Dependencies

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

### Services

- [x] Chainlink CCIP
- [x] Chainlink Data Feeds
- [ ] Chainlink VRF 2
- [ ] Chainlink VRF 2.5

### Fixed

- Bug in propose & confirm aggregator flow that could lead to aggregator being set to `address(0)`
- The `maxAnswer` variable in the `MockOffchainAggregator.sol` contract was set to an incorrect value
- Bug in the `MockOffchainAggregator.sol` contract where the `minAnswer` could've been set to the value greater than `maxAnswer`

## [0.2.0-beta] - 24 June 2024

### Dependencies

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

### Services

- [x] Chainlink CCIP
- [x] Chainlink Data Feeds
- [ ] Chainlink VRF 2
- [ ] Chainlink VRF 2.5

### Added

- Mock Data Feeds contracts to test in a local environment
- Showcase tests for testing in a forking actual networks environment

## [0.1.0] - 03 June 2024

### Dependencies
Expand All @@ -24,3 +88,5 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Initial release of the project

[0.1.0]: https://github.com/smartcontractkit/chainlink-local/releases/tag/v0.1.0
[0.2.0-beta]: https://github.com/smartcontractkit/chainlink-local/releases/tag/v0.2.0-beta
[0.2.1-beta]: https://github.com/smartcontractkit/chainlink-local/releases/tag/v0.2.1-beta
1 change: 1 addition & 0 deletions foundry.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,6 @@ test = 'test'
cache_path = 'cache_forge'
remappings = [
'@chainlink/contracts-ccip/=lib/ccip/contracts/',
'@chainlink/contracts/=lib/chainlink-brownie-contracts/contracts/',
'@chainlink/local/src/=src/',
]
Loading

0 comments on commit 2f706d5

Please sign in to comment.