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

Remove Solidity 0.6 & 0.7 code #12578

Merged
merged 14 commits into from
Mar 27, 2024
Merged

Remove Solidity 0.6 & 0.7 code #12578

merged 14 commits into from
Mar 27, 2024

Conversation

RensR
Copy link
Contributor

@RensR RensR commented Mar 25, 2024

This PR removes all Solidity source code that isn't >=0.8.x

Since 0.6 and 0.7 do have gethwrappers, we keep the wrappers themselves around, but we remove the generation commands.

Copy link
Contributor

I see you updated files related to core. Please run pnpm changeset in the root directory to add a changeset.

Copy link
Contributor

I see you updated files related to contracts. Please run pnpm changeset in the contracts directory to add a changeset.

@@ -26,15 +26,14 @@ jobs:
- 'contracts/**/*'
- '.github/workflows/solidity.yml'
- '.github/workflows/solidity-foundry.yml'
old_sol:
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Afaik @smartcontractkit/keepers has some frozen code that should be included here so I'll keep this logic around. I've added the deprecated interface folder here for now, as no files should be added there

@RensR RensR marked this pull request as ready for review March 25, 2024 22:12
@RensR RensR requested review from a team as code owners March 25, 2024 22:12
jmank88
jmank88 previously approved these changes Mar 25, 2024
[VRF Coordinator](../../../contracts/src/v0.6/VRFCoordinator.sol), using the
[VRF Coordinator](../../../contracts/src/v0.8/vrf/VRFCoordinatorV2.sol), using the
Copy link
Contributor

Choose a reason for hiding this comment

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

This is a misleading link, maybe link to https://github.com/smartcontractkit/chainlink-contracts-deprecated/blob/main/contracts/src/v0.6/VRFCoordinator.sol instead since its the right contract?

Copy link
Contributor

Choose a reason for hiding this comment

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

I think this can be axed, it seems to be a VRF V1 consumer, not V2 or V2.5.

Copy link
Contributor

Choose a reason for hiding this comment

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

Can axe this, this is VRF v1. Not even sure how this is working after you axed all the V1 contracts?

jinhoonbang
jinhoonbang previously approved these changes Mar 26, 2024
Copy link
Contributor

@jinhoonbang jinhoonbang left a comment

Choose a reason for hiding this comment

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

LGTM once Makram's comments are addressed.

Curious. are there reasons for not removing v0.4 and v0.5 contracts?

erikburt
erikburt previously approved these changes Mar 26, 2024
@erikburt
Copy link
Collaborator

Curious. are there reasons for not removing v0.4 and v0.5 contracts?

Removed in #12569

@RensR
Copy link
Contributor Author

RensR commented Mar 27, 2024

@jinhoonbang they are already gone ;)

RensR added 2 commits March 27, 2024 10:13
# Conflicts:
#	core/gethwrappers/generation/generated-wrapper-dependency-versions-do-not-edit.txt
@cl-sonarqube-production
Copy link

@RensR RensR added this pull request to the merge queue Mar 27, 2024
Merged via the queue into develop with commit ffd4922 Mar 27, 2024
116 checks passed
@RensR RensR deleted the rm-sol-0.6-&-0.7 branch March 27, 2024 09:52
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.

5 participants