Skip to content

Conversation

@pavel-raykov
Copy link
Contributor

@pavel-raykov pavel-raykov commented Dec 5, 2025

Supports smartcontractkit/chainlink-ccip#1530

Also:

  • inlined chainAddressNonce to the only place where it is used
  • renamed PriceUpdates -> AccessorPriceUpdates due to name collision in the package github.com/smartcontractkit/chainlink-common/pkg/types/ccipocr3

@github-actions
Copy link

github-actions bot commented Dec 5, 2025

✅ API Diff Results - No breaking changes


📄 View full apidiff report

@pavel-raykov pavel-raykov changed the title [CRE-491] Move common ccip types to chainlink-common ccip* dirs. [CRE-491] Move common ccip accessor types to chainlink-common dirs. Dec 5, 2025
@pavel-raykov pavel-raykov changed the title [CRE-491] Move common ccip accessor types to chainlink-common dirs. [CRE-491] Move event ccip types to chainlink-common dirs. Dec 5, 2025
@pavel-raykov pavel-raykov changed the title [CRE-491] Move event ccip types to chainlink-common dirs. [CRE-491] Move event ccip types to chainlink-common. Dec 5, 2025
@github-actions
Copy link

github-actions bot commented Jan 5, 2026

This PR is stale because it has been open 30 days with no activity.
Remove the stale label or comment or this will be closed in 7 days.

@github-actions github-actions bot added the Stale label Jan 5, 2026
@github-actions github-actions bot removed the Stale label Jan 6, 2026
@pavel-raykov pavel-raykov changed the title [CRE-491] Move event ccip types to chainlink-common. [CRE-491] Move chainaccessor event ccip types to chainlink-common. Jan 6, 2026
ogtownsend
ogtownsend previously approved these changes Jan 6, 2026
@pavel-raykov pavel-raykov marked this pull request as ready for review January 7, 2026 09:39
Copilot AI review requested due to automatic review settings January 7, 2026 09:39
@pavel-raykov pavel-raykov requested a review from a team as a code owner January 7, 2026 09:39
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 CCIP chain accessor event types from the chainlink-ccip repository to chainlink-common, making them available as shared types. The changes include renaming PriceUpdates to AccessorPriceUpdates to avoid package name collision and inlining chainAddressNonce to its single usage location.

  • Introduces new event types (SendRequestedEvent, CommitReportAcceptedEvent, ExecutionStateChangedEvent) and their supporting structures
  • Renames PriceUpdates to AccessorPriceUpdates to prevent naming conflicts

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

)

// ---------------------------------------------------
// The following types match the structs defined in the EVM contracts are used to decode these
Copy link

Copilot AI Jan 7, 2026

Choose a reason for hiding this comment

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

Grammatical error in comment. Should read 'The following types match the structs defined in the EVM contracts and are used to decode these'.

Suggested change
// The following types match the structs defined in the EVM contracts are used to decode these
// The following types match the structs defined in the EVM contracts and are used to decode these

Copilot uses AI. Check for mistakes.
MessageHash Bytes32
State uint8
ReturnData Bytes
GasUsed big.Int
Copy link

Copilot AI Jan 7, 2026

Choose a reason for hiding this comment

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

The GasUsed field should be a pointer *big.Int instead of big.Int to be consistent with other big.Int fields in this file (UsdPerToken and UsdPerUnitGas) and to avoid copying large values.

Suggested change
GasUsed big.Int
GasUsed *big.Int

Copilot uses AI. Check for mistakes.
@pavel-raykov pavel-raykov added this pull request to the merge queue Jan 7, 2026
Merged via the queue into main with commit 223976d Jan 7, 2026
36 checks passed
@pavel-raykov pavel-raykov deleted the move-accessor branch January 7, 2026 10:03
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