Skip to content

[CLD-281]: fix(cldf): remove chain fields on environment struct #17966

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

Merged
merged 1 commit into from
Jun 3, 2025

Conversation

graham-chainlink
Copy link
Collaborator

There should be no more usage on these deprecated chain fields. All access should be via env.BlockChains.EVMChains() etc.

JIRA: https://smartcontract-it.atlassian.net/browse/CLD-281

@graham-chainlink graham-chainlink force-pushed the ggoh/cld-281/remove-chain-fields branch 5 times, most recently from 4463919 to 9ce3896 Compare June 2, 2025 16:15
jkongie
jkongie previously approved these changes Jun 2, 2025
giogam
giogam previously approved these changes Jun 2, 2025
@graham-chainlink graham-chainlink force-pushed the ggoh/cld-281/remove-chain-fields branch from 9ce3896 to 10ee376 Compare June 3, 2025 03:38
@graham-chainlink graham-chainlink marked this pull request as ready for review June 3, 2025 03:50
@graham-chainlink graham-chainlink requested review from a team as code owners June 3, 2025 03:50
jkongie
jkongie previously approved these changes Jun 3, 2025
@graham-chainlink graham-chainlink added this pull request to the merge queue Jun 3, 2025
github-merge-queue bot pushed a commit that referenced this pull request Jun 3, 2025
fix(cldf): remove chain fields on environment struct

There should be no more usage on these deprecated chain fields.
All access should be via env.BlockChains.EVMChains() etc.

JIRA: https://smartcontract-it.atlassian.net/browse/CLD-281
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Jun 3, 2025
@graham-chainlink graham-chainlink added this pull request to the merge queue Jun 3, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Jun 3, 2025
There should be no more usage on these deprecated chain fields.
All access should be via env.BlockChains.EVMChains() etc.

JIRA: https://smartcontract-it.atlassian.net/browse/CLD-281
@graham-chainlink graham-chainlink force-pushed the ggoh/cld-281/remove-chain-fields branch from 10ee376 to b68de58 Compare June 3, 2025 08:57
@cl-sonarqube-production
Copy link

Quality Gate failed Quality Gate failed

Failed conditions
20.0% Duplication on New Code (required ≤ 10%)

See analysis details on SonarQube

Copy link
Contributor

github-actions bot commented Jun 3, 2025

Flakeguard Summary

Ran new or updated tests between develop and b68de58 (ggoh/cld-281/remove-chain-fields).

View Flaky Detector Details | Compare Changes

Found Flaky Tests ❌

5 Results
Name Pass Ratio Panicked? Timed Out? Race? Runs Successes Failures Skips Package Package Panicked? Avg Duration Code Owners
TestDeployLinkTokenZk 33.3333% false false false 3 1 2 0 github.com/smartcontractkit/chainlink/deployment/common/changeset false 22.123333333s @smartcontractkit/ccip-tooling, @smartcontractkit/ccip-offchain, @smartcontractkit/keystone, @smartcontractkit/core, @smartcontractkit/deployment-automation, @smartcontractkit/cld-team
TestDeployMCMSWithTimelockV2 33.3333% false false true 3 1 2 0 github.com/smartcontractkit/chainlink/deployment/common/changeset false 44.18s @smartcontractkit/ccip-tooling, @smartcontractkit/ccip-offchain, @smartcontractkit/keystone, @smartcontractkit/core, @smartcontractkit/deployment-automation, @smartcontractkit/cld-team
TestMCMSSignFireDrillChangeset 0% false false true 3 0 3 0 github.com/smartcontractkit/chainlink/deployment/common/changeset false 58.145s @smartcontractkit/ccip-tooling, @smartcontractkit/ccip-offchain, @smartcontractkit/keystone, @smartcontractkit/core, @smartcontractkit/deployment-automation, @smartcontractkit/cld-team
TestSetConfigMCMSV2EVM/MCMS_disabled 33.3333% false false false 3 1 2 0 github.com/smartcontractkit/chainlink/deployment/common/changeset false 46.333333333s @smartcontractkit/ccip-tooling, @smartcontractkit/ccip-offchain, @smartcontractkit/keystone, @smartcontractkit/core, @smartcontractkit/deployment-automation, @smartcontractkit/cld-team
TestSetConfigMCMSV2Solana/MCMS_disabled 0% false false false 3 0 3 0 github.com/smartcontractkit/chainlink/deployment/common/changeset false 55.696666666s @smartcontractkit/ccip-tooling, @smartcontractkit/ccip-offchain, @smartcontractkit/keystone, @smartcontractkit/core, @smartcontractkit/deployment-automation, @smartcontractkit/cld-team

Artifacts

For detailed logs of the failed tests, please refer to the artifact failed-test-results-with-logs.json.

@graham-chainlink graham-chainlink added this pull request to the merge queue Jun 3, 2025
Merged via the queue into develop with commit 7e8c560 Jun 3, 2025
138 of 144 checks passed
@graham-chainlink graham-chainlink deleted the ggoh/cld-281/remove-chain-fields branch June 3, 2025 10:08
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.

4 participants