Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[UNTRACKED] Allow users of this repository as a submodule to override the foundry version to use #55

Conversation

jhilaire-circle
Copy link
Contributor

Summary

Allow users of this repository as a submodule to override the foundry version to use

Detail

This repository is used as a submodule elsewhere to build evm contracts, at the same time these other repositories install said contracts using a locally managed foundry version. when the versions don't align the builds can sometimes fail causing the need to cascade update the foundry version everywhere.

Allowing the Dockefile to use a build argument means other downstream repositories can update the version at their own pace without having to update this repository first.

Testing

covered by existing tests

Documentation

Story: UNTRACKED

@jhilaire-circle jhilaire-circle merged commit 5f1901a into circlefin:master Dec 20, 2024
5 checks passed
grantmike pushed a commit to grantmike/evm-cctp-contracts that referenced this pull request Jan 23, 2025
…irclefin#55)

- Add flag in DeployProxiesV2 script to determine whether to read
`remoteTokenMessengerAddresses` from env variable.
- Add logic to use deterministic Create2 address calculation if not
reading from env.
- Update UT to test the false case. True case will most likely not get
used.
- TODO: Figure out a way to set flag to true based on test selector
before `setUp()` is run to test the true case
grantmike pushed a commit to grantmike/evm-cctp-contracts that referenced this pull request Jan 23, 2025
…sing from env (circlefin#55)

- Add flag in DeployProxiesV2 script to determine whether to read
`remoteTokenMessengerAddresses` from env variable.
- Add logic to use deterministic Create2 address calculation if not
reading from env.
- Update UT to test the false case. True case will most likely not get
used.
- TODO: Figure out a way to set flag to true based on test selector
before `setUp()` is run to test the true case
grantmike pushed a commit to grantmike/evm-cctp-contracts that referenced this pull request Jan 23, 2025
…sing from env (circlefin#55)

- Add flag in DeployProxiesV2 script to determine whether to read
`remoteTokenMessengerAddresses` from env variable.
- Add logic to use deterministic Create2 address calculation if not
reading from env.
- Update UT to test the false case. True case will most likely not get
used.
- TODO: Figure out a way to set flag to true based on test selector
before `setUp()` is run to test the true case
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.

3 participants