Skip to content

Commit cd3bfb8

Browse files
authored
The v0.2.2 release (#24)
* 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 * Support for CCIP v1.5 and preparing for 0.2.2-beta release (#19) * feat: Add new changes to support CCIP v1.5 version * forge: Update ccip * chore: Add CCIP v1.5 config details to Register for all available testnet lanes. Prepare for 0.2.2-beta.0 release (#21) * fix: Use the latest version of EVM2EVMOffRamp contract in the switchChainAndRouteMessage function of CCIPLocalSimulatorFork (#23) * chore: Prepare repo for the 0.2.2 release - Bump @chainlink/contracts-ccip to v1.5.0 - Delete DOCUMENTATION.md and related assets, and point to official documentation at README - Update CHANGELOG
1 parent d97d6e9 commit cd3bfb8

35 files changed

+4064
-3166
lines changed

CHANGELOG.md

Lines changed: 187 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,174 @@
33
All notable changes to this project will be documented in this file.
44

55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6-
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
6+
and this project adheres to
7+
[Semantic Versioning](https://semver.org/spec/v2.0.0.html).
8+
9+
## [0.2.2] - 15 October 2024
10+
11+
### Dependencies
12+
13+
| Package | Version |
14+
| ------------------------- | ------- |
15+
| @chainlink/contracts-ccip | 1.5.0 |
16+
| @chainlink/contracts | 1.1.1 |
17+
18+
### Services
19+
20+
- [x] Chainlink CCIP
21+
- [x] Chainlink CCIP v1.5
22+
- [x] Chainlink Data Feeds
23+
- [ ] Chainlink Automation
24+
- [ ] Chainlink VRF 2
25+
- [ ] Chainlink VRF 2.5
26+
27+
### Added
28+
29+
- Support for Chainlink CCIP v1.5 (bumped `@chainlink/contracts-ccip` to
30+
`1.5.0`)
31+
- Added CCIP v1.5 config details to `Register.sol` for all available testnet
32+
lanes
33+
- Set EVM Version strictly to `paris` for all contracts
34+
- Added `supportNewTokenViaOwner` and `supportNewTokenViaGetCCIPAdmin` functions
35+
to `CCIPLocalSimulator.sol` instead of `supportNewToken` function
36+
- Added `rmnProxyAddress`, `tokenAdminRegistryAddress` and
37+
`registryModuleOwnerCustomAddress` to the `NetworkDetails` struct of the
38+
`Register.sol` smart contract
39+
- Added unit tests for new functions in the `CCIPLocalSimulator.sol` contract
40+
- Added e2e test for new changes in the `CCIPLocalSimulatorFork.sol` contract.
41+
There is a test with ERC-20 token with an `owner()` function implemented and
42+
Burn & Mint Pool, and test with ERC-20 token with a `getCCIPAdmin()` function
43+
implemented and Lock & Release Pool
44+
- Genereted new docs artifacts
45+
46+
### Changed
47+
48+
- Bumped Solidity compiler version from 0.8.19 to 0.8.24
49+
- The `getSupportedTokens()` function now only exists in the
50+
`CCIPLocalSimulator.sol` contract, it has been removed from the CCIP's
51+
`Router.sol` contract. Calling that function from the `Router.sol` contract in
52+
the Forking mode will now revert
53+
- Added `uint32[] memory tokenGasOverrides` as function parameter to the
54+
`executeSingleMessage` function in the `CCIPLocalSimulatorFork.sol` contract
55+
to reflect new changes in the CCIP's `EVM2EVMOffRamp.sol` smart contract
56+
- Bumped pragma solidity version of `BasicTokenSender.sol`,
57+
`CCIPReceiver_Unsafe.sol`, `ProgrammableTokenTransfers` and
58+
`ProgrammableDefensiveTokenTransfers.sol` contracts from the `src/test` folder
59+
from `0.8.19` to `0.8.24`
60+
61+
### Removed
62+
63+
- Removed `supportNewToken` function from `CCIPLocalSimulator.sol`
64+
- Removed `CCIPLocalSimulatorV0.sol` and `MockEvm2EvmOffRamp.sol` contracts as
65+
they have not being used for a while
66+
- Removed `DOCUMENTATION.md` file since the official documentation is now
67+
available at https://docs.chain.link/chainlink-local
68+
- Removed `remix-001.png` and `remix-002.png` images from the `assets` folder,
69+
because they are no longer needed
70+
71+
## [0.2.2-beta.1] - 10 October 2024
72+
73+
### Dependencies
74+
75+
| Package | Version |
76+
| ------------------------- | ------------ |
77+
| @chainlink/contracts-ccip | 1.5.0-beta.1 |
78+
| @chainlink/contracts | 1.1.1 |
79+
80+
### Services
81+
82+
- [x] Chainlink CCIP
83+
- [x] Chainlink CCIP v1.5
84+
- [x] Chainlink Data Feeds
85+
- [ ] Chainlink Automation
86+
- [ ] Chainlink VRF 2
87+
- [ ] Chainlink VRF 2.5
88+
89+
### Changed
90+
91+
- Bumped the version of `@chainlink/contracts-ccip` NPM package to
92+
`1.5.0-beta.1` to test that release
93+
- Fixed the bug in the `CCIPLocalSimulatorFork.sol` where the
94+
`switchChainAndRouteMessage` function was used the outdated EVM2EVMOffRamp
95+
contract
96+
- Genereted new docs artifacts
97+
98+
## [0.2.2-beta.0] - 04 October 2024
99+
100+
### Dependencies
101+
102+
| Package | Version |
103+
| ------------------------- | ------------ |
104+
| @chainlink/contracts-ccip | 1.5.0-beta.0 |
105+
| @chainlink/contracts | 1.1.1 |
106+
107+
### Services
108+
109+
- [x] Chainlink CCIP
110+
- [x] Chainlink CCIP v1.5
111+
- [x] Chainlink Data Feeds
112+
- [ ] Chainlink Automation
113+
- [ ] Chainlink VRF 2
114+
- [ ] Chainlink VRF 2.5
115+
116+
### Added
117+
118+
- Added CCIP v1.5 config details to `Register.sol` for all available testnet
119+
lanes
120+
121+
## [0.2.2-beta] - 12 September 2024
122+
123+
### Dependencies
124+
125+
| Package | Version |
126+
| ------------------------- | ------------ |
127+
| @chainlink/contracts-ccip | 1.5.0-beta.0 |
128+
| @chainlink/contracts | 1.1.1 |
129+
130+
### Services
131+
132+
- [x] Chainlink CCIP
133+
- [x] Chainlink CCIP v1.5
134+
- [x] Chainlink Data Feeds
135+
- [ ] Chainlink VRF 2
136+
- [ ] Chainlink VRF 2.5
137+
138+
### Added
139+
140+
- Support for Chainlink CCIP v1.5 (bumped `@chainlink/contracts-ccip` to
141+
`1.5.0-beta.0`)
142+
- Set EVM Version strictly to `paris` for all contracts
143+
- Added `supportNewTokenViaOwner` and `supportNewTokenViaGetCCIPAdmin` functions
144+
to `CCIPLocalSimulator.sol` instead of `supportNewToken` function
145+
- Added `rmnProxyAddress`, `tokenAdminRegistryAddress` and
146+
`registryModuleOwnerCustomAddress` to the `NetworkDetails` struct of the
147+
`Register.sol` smart contract
148+
- Added unit tests for new functions in the `CCIPLocalSimulator.sol` contract
149+
- Added e2e test for new changes in the `CCIPLocalSimulatorFork.sol` contract.
150+
There is a test with ERC-20 token with an `owner()` function implemented and
151+
Burn & Mint Pool, and test with ERC-20 token with a `getCCIPAdmin()` function
152+
implemented and Lock & Release Pool
153+
154+
### Changed
155+
156+
- Bumped Solidity compiler version from 0.8.19 to 0.8.24
157+
- The `getSupportedTokens()` function now only exists in the
158+
`CCIPLocalSimulator.sol` contract, it has been removed from the CCIP's
159+
`Router.sol` contract. Calling that function from the `Router.sol` contract in
160+
the Forking mode will now revert
161+
- Added `uint32[] memory tokenGasOverrides` as function parameter to the
162+
`executeSingleMessage` function in the `CCIPLocalSimulatorFork.sol` contract
163+
to reflect new changes in the CCIP's `EVM2EVMOffRamp.sol` smart contract
164+
- Bumped pragma solidity version of `BasicTokenSender.sol`,
165+
`CCIPReceiver_Unsafe.sol`, `ProgrammableTokenTransfers` and
166+
`ProgrammableDefensiveTokenTransfers.sol` contracts from the `src/test` folder
167+
from `0.8.19` to `0.8.24`
168+
169+
### Removed
170+
171+
- Removed `supportNewToken` function from `CCIPLocalSimulator.sol`
172+
- Removed `CCIPLocalSimulatorV0.sol` and `MockEvm2EvmOffRamp.sol` contracts as
173+
they have not being used for a while
7174

8175
## [0.2.1] - 5 July 2024
9176

@@ -23,7 +190,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
23190

24191
### Added
25192

26-
- Support for Chainlink Data Feeds by adding `MockV3Aggregator.sol` and `MockOffchainAggregator.sol` mock contracts
193+
- Support for Chainlink Data Feeds by adding `MockV3Aggregator.sol` and
194+
`MockOffchainAggregator.sol` mock contracts
27195
- Showcase tests for testing in a forking actual networks environment
28196

29197
## [0.2.1-beta] - 26 June 2024
@@ -44,9 +212,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
44212

45213
### Fixed
46214

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`
215+
- Bug in propose & confirm aggregator flow that could lead to aggregator being
216+
set to `address(0)`
217+
- The `maxAnswer` variable in the `MockOffchainAggregator.sol` contract was set
218+
to an incorrect value
219+
- Bug in the `MockOffchainAggregator.sol` contract where the `minAnswer`
220+
could've been set to the value greater than `maxAnswer`
50221

51222
## [0.2.0-beta] - 24 June 2024
52223

@@ -88,6 +259,15 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
88259
- Initial release of the project
89260

90261
[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
262+
[0.2.0-beta]:
263+
https://github.com/smartcontractkit/chainlink-local/releases/tag/v0.2.0-beta
264+
[0.2.1-beta]:
265+
https://github.com/smartcontractkit/chainlink-local/releases/tag/v0.2.1-beta
93266
[0.2.1]: https://github.com/smartcontractkit/chainlink-local/releases/tag/v0.2.1
267+
[0.2.2-beta]:
268+
https://github.com/smartcontractkit/chainlink-local/releases/tag/v0.2.2-beta
269+
[0.2.2-beta.0]:
270+
https://github.com/smartcontractkit/chainlink-local/releases/tag/v0.2.2-beta.0
271+
[0.2.2-beta.1]:
272+
https://github.com/smartcontractkit/chainlink-local/releases/tag/v0.2.2-beta.1
273+
[0.2.2]: https://github.com/smartcontractkit/chainlink-local/releases/tag/v0.2.2

0 commit comments

Comments
 (0)