Skip to content

Fix a pointer comparison for Chain SetFrom - #558

Merged
nolag merged 1 commit into
developfrom
rtinianov_fixPointerCompare
Sep 15, 2026
Merged

nolag merged 1 commit into
developfrom
rtinianov_fixPointerCompare

Conversation

@nolag

@nolag nolag commented Sep 15, 2026

Copy link
Copy Markdown
Contributor

No description provided.

@nolag
nolag requested a review from a team as a code owner September 15, 2026 18:13
Copilot AI lite review requested due to automatic review settings September 15, 2026 18:13
@github-actions

Copy link
Copy Markdown
Contributor

👋 nolag, 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

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🟢 Approval recommended

No unresolved review comments remain, and the changes include comprehensive test coverage.

Pull request overview

Fixes Chain.SetFrom to match key-specific configurations by address value instead of pointer identity.

Changes:

  • Adds nil-safe address comparison.
  • Adds merge, append, and override coverage.
File summaries
File Description
pkg/config/toml/defaults.go Corrects key-specific matching logic.
pkg/config/toml/defaults_test.go Adds coverage for Chain.SetFrom behavior.
Review details
  • Files reviewed: 2/2 changed files
  • Comments generated: 0
  • Review effort level: Lite

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@nolag
nolag merged commit 1238882 into develop Sep 15, 2026
36 checks passed
@nolag
nolag deleted the rtinianov_fixPointerCompare branch September 15, 2026 18:38
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