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

core/chains/evm: simpler evm config #16187

Merged
merged 1 commit into from
Feb 3, 2025
Merged

core/chains/evm: simpler evm config #16187

merged 1 commit into from
Feb 3, 2025

Conversation

jmank88
Copy link
Contributor

@jmank88 jmank88 commented Feb 1, 2025

Towards https://smartcontract-it.atlassian.net/browse/CRE-163

This EVM code doesn't really need the full general AppConfig, and even the one root-level method EVMRPCEnabled() is just derived from the EVM chains config, so we are able to remove some interfaces and drop package dependencies.

Copy link
Contributor

github-actions bot commented Feb 1, 2025

I see you updated files related to core. Please run pnpm changeset in the root directory to add a changeset as well as in the text include at least one of the following tags:

  • #added For any new functionality added.
  • #breaking_change For any functionality that requires manual action for the node to boot.
  • #bugfix For bug fixes.
  • #changed For any change to the existing functionality.
  • #db_update For any feature that introduces updates to database schema.
  • #deprecation_notice For any upcoming deprecation functionality.
  • #internal For changesets that need to be excluded from the final changelog.
  • #nops For any feature that is NOP facing and needs to be in the official Release Notes for the release.
  • #removed For any functionality/config that is removed.
  • #updated For any functionality that is updated.
  • #wip For any change that is not ready yet and external communication about it should be held off till it is feature complete.

🎖️ No JIRA issue number found in: PR title, commit message, or branch name. Please include the issue ID in one of these.

pavel-raykov
pavel-raykov previously approved these changes Feb 1, 2025
@jmank88 jmank88 requested review from samsondav, a team and MichelleSausa and removed request for a team February 1, 2025 14:24
Copy link
Contributor

github-actions bot commented Feb 1, 2025

Flakeguard Summary

Ran new or updated tests between develop and 4122bdf (evm-config).

View Flaky Detector Details | Compare Changes

Found Flaky Tests ❌

Name Pass Ratio Panicked? Timed Out? Race? Runs Successes Failures Skips Package Package Panicked? Avg Duration Code Owners
TestTxm_Reset 0.00% false false false 3 0 3 0 github.com/smartcontractkit/chainlink/v2/core/chains/evm/txmgr false 5.076666666s @smartcontractkit/bix-framework, @smartcontractkit/core

Artifacts

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

Copy link
Contributor

github-actions bot commented Feb 1, 2025

AER Report: CI Core ran successfully ✅

aer_workflow , commit

AER Report: Operator UI CI ran successfully ✅

aer_workflow , commit

pavel-raykov
pavel-raykov previously approved these changes Feb 1, 2025
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Renamed without _internal

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Actually moved to integration_test.go, but showing diff because I renamed the _internal version.

Copy link
Contributor Author

@jmank88 jmank88 Feb 2, 2025

Choose a reason for hiding this comment

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

This file has a lot of baggage and won't be able to move anywhere as-is. Some of the tests can be simplified (e.g. keystore stuff), but others are using the job pipeline and I don't fully understand why.

type ChainScoped struct {
lggr logger.Logger
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Unused. We could probably simplify further now, by shedding the constructors and using direct isntantiation struct instead.

@jmank88 jmank88 requested a review from RensR February 3, 2025 11:53
@jmank88 jmank88 added this pull request to the merge queue Feb 3, 2025
Merged via the queue into develop with commit 0d051fe Feb 3, 2025
204 of 214 checks passed
@jmank88 jmank88 deleted the evm-config branch February 3, 2025 14:00
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