Skip to content

Conversation

@Nalon
Copy link
Collaborator

@Nalon Nalon commented Oct 2, 2025

Update Foundry Starter Kit for @chainlink/contracts v1.5.0 (with OZ remappings)

Summary

Bumps the starter kit to @chainlink/contracts v1.5.0 and adapts to the package’s unvendoring of OpenZeppelin. Foundry projects must now rely on remappings to resolve OpenZeppelin import paths. This PR:

  • Installs the required OpenZeppelin packages under stable aliases
  • Adds remappings so Chainlink and app imports resolve cleanly
  • Aligns the starter kit to the chainlink-evm repo’s 1.5.0 release

What changed

  • Dependencies
    • Upgrade to @chainlink/contracts v1.5.0
    • Install required OpenZeppelin packages due to unvendoring in 1.5.0
  • Remappings
    • Add/update remappings so @openzeppelin/* imports resolve to the aliased OZ directories
    • Ensure Chainlink imports remain stable against the unvendored layout
  • Added codeowners

Nalon added 2 commits October 2, 2025 00:42
The unvendoring of OpenZeppelin contracts in version 1.5.0 of @chainlink/contracts results in developers having to rely on remappings to resolve the OpenZeppelin import paths.
- Install required OpenZeppelin versions with alias
- Remap import paths to the alias OZ directories
- Upgrade to 1.5.0 release of contracts from chainlink-evm repo
Nalon added 2 commits October 6, 2025 13:53
- Added the installation instructions for Chainlink contracts depending on version
- Included OZ dependency installation for versions >=1.5.0
- Corrected the tag used for specific versioning of chainlink-evm
Copy link
Contributor

@thodges-gh thodges-gh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just small things on instruction clarity.

- Modified forge install step
@Nalon Nalon enabled auto-merge (squash) November 4, 2025 08:36
@Nalon Nalon requested a review from thodges-gh November 17, 2025 20:50
@Nalon Nalon merged commit dab893b into smartcontractkit:main Nov 18, 2025
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants