Skip to content

Commit 2f706d5

Browse files
authored
v0.2.1 Release (#12)
* 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/contracts@v1.1.1 * 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
1 parent b3cc0c4 commit 2f706d5

15 files changed

+10828
-6403
lines changed

.gitmodules

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,6 @@
44
[submodule "lib/ccip"]
55
path = lib/ccip
66
url = https://github.com/smartcontractkit/ccip
7+
[submodule "lib/chainlink-brownie-contracts"]
8+
path = lib/chainlink-brownie-contracts
9+
url = https://github.com/smartcontractkit/chainlink-brownie-contracts

CHANGELOG.md

Lines changed: 66 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,70 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
## [0.2.1] - Upcoming release
9+
10+
### Dependencies
11+
12+
| Package | Version |
13+
| ------------------------- | ------- |
14+
| @chainlink/contracts-ccip | 1.4.0 |
15+
| @chainlink/contracts | 1.1.1 |
16+
17+
### Services
18+
19+
- [x] Chainlink CCIP
20+
- [x] Chainlink Data Feeds
21+
- [ ] Chainlink VRF 2
22+
- [ ] Chainlink VRF 2.5
23+
24+
### Added
25+
26+
- Support for Chainlink Data Feeds by adding `MockV3Aggregator.sol` and `MockOffchainAggregator.sol` mock contracts
27+
- Showcase tests for testing in a forking actual networks environment
28+
29+
## [0.2.1-beta] - 26 June 2024
30+
31+
### Dependencies
32+
33+
| Package | Version |
34+
| ------------------------- | ------- |
35+
| @chainlink/contracts-ccip | 1.4.0 |
36+
| @chainlink/contracts | 1.1.1 |
37+
38+
### Services
39+
40+
- [x] Chainlink CCIP
41+
- [x] Chainlink Data Feeds
42+
- [ ] Chainlink VRF 2
43+
- [ ] Chainlink VRF 2.5
44+
45+
### Fixed
46+
47+
- Bug in propose & confirm aggregator flow that could lead to aggregator being set to `address(0)`
48+
- The `maxAnswer` variable in the `MockOffchainAggregator.sol` contract was set to an incorrect value
49+
- Bug in the `MockOffchainAggregator.sol` contract where the `minAnswer` could've been set to the value greater than `maxAnswer`
50+
51+
## [0.2.0-beta] - 24 June 2024
52+
53+
### Dependencies
54+
55+
| Package | Version |
56+
| ------------------------- | ------- |
57+
| @chainlink/contracts-ccip | 1.4.0 |
58+
| @chainlink/contracts | 1.1.1 |
59+
60+
### Services
61+
62+
- [x] Chainlink CCIP
63+
- [x] Chainlink Data Feeds
64+
- [ ] Chainlink VRF 2
65+
- [ ] Chainlink VRF 2.5
66+
67+
### Added
68+
69+
- Mock Data Feeds contracts to test in a local environment
70+
- Showcase tests for testing in a forking actual networks environment
71+
872
## [0.1.0] - 03 June 2024
973

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

2690
[0.1.0]: https://github.com/smartcontractkit/chainlink-local/releases/tag/v0.1.0
91+
[0.2.0-beta]: https://github.com/smartcontractkit/chainlink-local/releases/tag/v0.2.0-beta
92+
[0.2.1-beta]: https://github.com/smartcontractkit/chainlink-local/releases/tag/v0.2.1-beta

foundry.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,6 @@ test = 'test'
66
cache_path = 'cache_forge'
77
remappings = [
88
'@chainlink/contracts-ccip/=lib/ccip/contracts/',
9+
'@chainlink/contracts/=lib/chainlink-brownie-contracts/contracts/',
910
'@chainlink/local/src/=src/',
1011
]

0 commit comments

Comments
 (0)