Skip to content

Conversation

@pavel-raykov
Copy link
Contributor

@pavel-raykov pavel-raykov commented Jan 26, 2026

@github-actions
Copy link
Contributor

✅ API Diff Results - No breaking changes


📄 View full apidiff report

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR moves EVM relay read-related files from the chainlink core repository to chainlink-evm as part of dependency refactoring work.

Changes:

  • Adds batch calling infrastructure with dynamic limit retry logic for EVM RPC calls
  • Introduces bindings registry system for managing contract readers and event bindings
  • Implements multi-event type querying capabilities
  • Adds CCIP v1.6.0 gobindings (onramp/offramp) for optimized event decoding
  • Includes comprehensive error handling and filtering mechanisms

Reviewed changes

Copilot reviewed 22 out of 22 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
pkg/read/batch.go Implements batch caller with dynamic retry and parallel execution support
pkg/read/bindings.go Provides bindings registry for managing contract readers and addresses
pkg/read/contract.go Manages contract-level bindings and filter registration
pkg/read/event.go Core event binding implementation with log decoding and filtering
pkg/read/method.go Method binding for contract read operations
pkg/read/multieventtype.go Multi-event type query support with validation
pkg/read/filter.go Synced filter management for log poller registration
pkg/read/errors.go Custom error types for read operations
pkg/read/lookup.go Read identifier lookup utilities
pkg/read/bindings/offramp/offramp.go CCIP v1.6.0 offramp gobindings
pkg/read/bindings/onramp/onramp.go CCIP v1.6.0 onramp gobindings
pkg/read/mocks/*.go Generated mock implementations
pkg/read/*_test.go Test coverage for batch caller, bindings, events, and multi-event types
go.mod Adds chainlink-protos/cre/go and golang.org/x/sync dependencies

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

func Test_DecodeHardcodedType(t *testing.T) {
t.Parallel()

t.Run("decode hardcoded type offramp CoommitReportAccess success", func(t *testing.T) {
Copy link

Copilot AI Jan 26, 2026

Choose a reason for hiding this comment

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

Corrected spelling of 'CoommitReportAccess' to 'CommitReportAccess'.

Suggested change
t.Run("decode hardcoded type offramp CoommitReportAccess success", func(t *testing.T) {
t.Run("decode hardcoded type offramp CommitReportAccess success", func(t *testing.T) {

Copilot uses AI. Check for mistakes.
require.True(t, bytes.Equal(fixtLog.Message.FeeToken.Bytes(), out.Message.FeeToken[:]))
require.Len(t, out.Message.TokenAmounts, len(fixtLog.Message.TokenAmounts))
})
t.Run("decode hardcoded tupe offramp ExecutionStateChange success", func(t *testing.T) {
Copy link

Copilot AI Jan 26, 2026

Choose a reason for hiding this comment

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

Corrected spelling of 'tupe' to 'type'.

Suggested change
t.Run("decode hardcoded tupe offramp ExecutionStateChange success", func(t *testing.T) {
t.Run("decode hardcoded type offramp ExecutionStateChange success", func(t *testing.T) {

Copilot uses AI. Check for mistakes.
func convertOnRampCCIPMessage(m onramp.InternalEVM2AnyRampMessage) ccipocr3.Message {
var out ccipocr3.Message

// header population. NOTE OnRamp and MsgHash will be populater by the CR caller
Copy link

Copilot AI Jan 26, 2026

Choose a reason for hiding this comment

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

Corrected spelling of 'populater' to 'populated'.

Suggested change
// header population. NOTE OnRamp and MsgHash will be populater by the CR caller
// header population. NOTE OnRamp and MsgHash will be populated by the CR caller

Copilot uses AI. Check for mistakes.
@pavel-raykov pavel-raykov merged commit c5f27bb into develop Jan 26, 2026
33 checks passed
@pavel-raykov pavel-raykov deleted the move-read branch January 26, 2026 17:06
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