Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Send ccip exec report info to chain writer. #15708

Draft
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

winder
Copy link
Contributor

@winder winder commented Dec 16, 2024

Decode execute report info from ReportWithInfo and pass to chain writer. This info includes commit report data (merkle roots) for the messages executed by the report.

@winder winder requested review from a team as code owners December 16, 2024 16:30
@winder winder marked this pull request as draft December 16, 2024 16:30
Copy link
Contributor

I see you updated files related to core. Please run pnpm changeset in the root directory to add a changeset as well as in the text include at least one of the following tags:

  • #added For any new functionality added.
  • #breaking_change For any functionality that requires manual action for the node to boot.
  • #bugfix For bug fixes.
  • #changed For any change to the existing functionality.
  • #db_update For any feature that introduces updates to database schema.
  • #deprecation_notice For any upcoming deprecation functionality.
  • #internal For changesets that need to be excluded from the final changelog.
  • #nops For any feature that is NOP facing and needs to be in the official Release Notes for the release.
  • #removed For any functionality/config that is removed.
  • #updated For any functionality that is updated.
  • #wip For any change that is not ready yet and external communication about it should be held off till it is feature complete.

🎖️ No JIRA issue number found in: PR title, commit message, or branch name. Please include the issue ID in one of these.

Copy link
Contributor

AER Report: CI Core

aer_workflow , commit , Clean Go Tidy & Generate , Detect Changes , Scheduled Run Frequency , Flakeguard Root Project / Get Tests To Run , lint , Core Tests (go_core_tests) , Core Tests (go_core_tests_integration) , Core Tests (go_core_ccip_deployment_tests) , Core Tests (go_core_race_tests) , Core Tests (go_core_fuzz) , Flakeguard Deployment Project / Get Tests To Run , Flakeguard Root Project / Run Tests (github.com/smartcontractkit/chainlink/v2/core/capabilities/ccip/ocrimpls, ubuntu-latest) , Flakeguard Deployment Project / Run Tests , Flakeguard Deployment Project / Report , Flakey Test Detection , SonarQube Scan , Flakeguard Root Project / Report

1. Invalid operation: cannot index function:

[A 1 <= 10 words sentence that describes the error]:[job id where the error happened]

Source of Error:
# github.com/smartcontractkit/chainlink/v2/core/capabilities/ccip/oraclecreator
core/capabilities/ccip/oraclecreator/plugin.go:295:52: invalid operation: cannot index ocrimpls.NewExecContractTransmitter (value of type func(cw "github.com/smartcontractkit/chainlink-common/pkg/types".ContractWriter, fromAccount "github.com/smartcontractkit/libocr/offchainreporting2plus/types".Account, offrampAddress string) ocr3types.ContractTransmitter[[]byte])

Why: The error occurs because the code attempts to index a function ocrimpls.NewExecContractTransmitter, which is not a valid operation in Go. Functions cannot be indexed like arrays or slices.

Suggested fix: Ensure that ocrimpls.NewExecContractTransmitter is called correctly and its return value is used appropriately. If indexing is required, the function should return a type that supports indexing, such as a slice or map.

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.

1 participant