Skip to content

OEV-1803 Remove Meter() TODO post core bump - #557

Open
mostlyconsistent wants to merge 1 commit into
developfrom
mkysel/remove-meter-todo
Open

mostlyconsistent wants to merge 1 commit into
developfrom
mkysel/remove-meter-todo

Conversation

@mostlyconsistent

@mostlyconsistent mostlyconsistent commented Sep 15, 2026

Copy link
Copy Markdown
Contributor

Makes legacyevm.ChainOpts.Meter required and drops the beholder.GetMeter() fallback in newChain

The fallback was a temporary bridge added with evm_chain_config_info (#548): chainlink core did not pass a meter, so chains silently fell back to the global beholder meter. smartcontractkit/chainlink#23726 has landed and core now wires Meter: beholder.GetMeter() explicitly in application.go, so the TODO can go and the dependency becomes explicit rather than implicit global state.

@github-actions

Copy link
Copy Markdown
Contributor

👋 mostlyconsistent, thanks for creating this pull request!

To help reviewers, please consider creating future PRs as drafts first. This allows you to self-review and make any final changes before notifying the team.

Once you're ready, you can mark it as "Ready for review" to request feedback. Thanks!

@github-actions

Copy link
Copy Markdown
Contributor

📊 API Diff Results

No changes detected for module github.com/smartcontractkit/chainlink-evm

View full report

Comment on lines +187 to +189
if o.Meter == nil {
err = errors.Join(err, errors.New("nil Meter"))
}

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

It might be better to wait a bit before making this strictly required, since there is still a chance that we need to patch an older release with a newer chainlink-evm.

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