Skip to content

CCIP - add ExtraDataCodecBundle protobuf and client/server support#1548

Merged
archseer merged 2 commits intomainfrom
ogt/extra-data-codec-registry-interface-v3
Sep 29, 2025
Merged

CCIP - add ExtraDataCodecBundle protobuf and client/server support#1548
archseer merged 2 commits intomainfrom
ogt/extra-data-codec-registry-interface-v3

Conversation

@ogtownsend
Copy link
Contributor

@ogtownsend ogtownsend commented Sep 15, 2025

@github-actions
Copy link

github-actions bot commented Sep 15, 2025

apidiff results - backwards-incompatible changes detected ❌

Module: github-com-smartcontractkit-chainlink-common

Status: ❌ 2 incompatible, 3 compatible

Incompatible Changes (2)

Element Change
./pkg/types/ccipocr3.ExtraDataCodec removed
./pkg/types/ccipocr3.PriceReader.GetFeeQuoterTokenUpdates changed from func(context.Context, []UnknownEncodedAddress, ChainSelector) (map[UnknownEncodedAddress]TimestampedUnixBig, error) to func(context.Context, []UnknownAddress) (map[UnknownEncodedAddress]TimestampedUnixBig, error)

(Full summary: https://github.com/smartcontractkit/chainlink-common/actions/runs/18044589751/#summary-51352120666)

@ogtownsend ogtownsend force-pushed the ogt/extra-data-codec-registry-interface-v3 branch from 089e4b2 to 7e822af Compare September 15, 2025 20:13
@ogtownsend ogtownsend force-pushed the ogt/extra-data-codec-registry-interface-v3 branch from 7e822af to d3306c1 Compare September 16, 2025 15:25
@ogtownsend ogtownsend force-pushed the ogt/extra-data-codec-registry-interface-v3 branch from ebd888e to 4542724 Compare September 17, 2025 19:06
@ogtownsend ogtownsend marked this pull request as ready for review September 17, 2025 19:06
@ogtownsend ogtownsend requested review from a team as code owners September 17, 2025 19:06
@ogtownsend ogtownsend marked this pull request as draft September 23, 2025 21:12
Comment on lines +773 to +798
if extraDataCodecRes.Closer != nil {
extraDataCodecRes.Close()
}
return nil, err
}

// Sync persisted sync requests after provider has initted accessor
for contractName, addressBytes := range rargs.SyncedAddresses {
err = provider.ChainAccessor().Sync(ctx, contractName, addressBytes)
if err != nil {
if extraDataCodecRes.Closer != nil {
extraDataCodecRes.Close()
}
return nil, err
}
}

const name = "CCIPProvider"
resources := []net.Resource{{Closer: provider, Name: name}}
if extraDataCodecRes.Closer != nil {
resources = append(resources, extraDataCodecRes)
}

id, _, err := r.ServeNew(name, func(s *grpc.Server) {
ccipocr3.RegisterProviderServices(s, provider)
}, net.Resource{Closer: provider, Name: name})
ccipocr3loop.RegisterProviderServices(s, provider)
}, resources...)
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Hey @jmank88 does this closing logic seem correct to you?

Copy link
Contributor

Choose a reason for hiding this comment

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

Yeah, I think so

@archseer archseer enabled auto-merge (squash) September 29, 2025 14:00
@archseer archseer merged commit 1f5fbda into main Sep 29, 2025
19 of 22 checks passed
@archseer archseer deleted the ogt/extra-data-codec-registry-interface-v3 branch September 29, 2025 15:45
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.

6 participants