Skip to content

Conversation

@gustavogama-cll
Copy link
Contributor

@gustavogama-cll gustavogama-cll commented Jan 7, 2026

As requested by the payments team, log the "from", "to" and "data" fields sent on-chain during a fork test.

The PR also adds the first, basic integration test for the fork test feature.


OPT-349

@changeset-bot
Copy link

changeset-bot bot commented Jan 7, 2026

🦋 Changeset detected

Latest commit: 33660b5

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
chainlink-deployments-framework Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@gustavogama-cll gustavogama-cll force-pushed the ggama/add-rawdata-to-from-fork-tests branch 2 times, most recently from 35f3650 to ab9185a Compare January 7, 2026 06:09
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 refactors fork testing infrastructure to improve transaction logging and test coverage. The main changes include extracting fork execution logic into a dedicated function with comprehensive logging, converting environment pointer parameters to value types throughout the codebase, and exposing the container field in CTFAnvilChainProvider for external access in tests.

Key changes:

  • Introduced executeFork function with detailed transaction logging (from, to, data fields)
  • Refactored to pass Environment by value instead of pointer
  • Made Container field public in CTFAnvilChainProvider for test access

Reviewed changes

Copilot reviewed 24 out of 36 changed files in this pull request and generated 4 comments.

Show a summary per file
File Description
engine/cld/legacy/cli/mcmsv2/execute_fork.go New file implementing fork execution with transaction logging
engine/cld/legacy/cli/mcmsv2/execute_fork_test.go New comprehensive test suite for fork execution
engine/cld/legacy/cli/mcmsv2/mcms_v2.go Refactored to use value types and removed fork execution code
engine/cld/legacy/cli/mcmsv2/mcms_v2_test.go Updated to use value types and new helper signatures
chain/evm/provider/ctf_anvil_provider.go Made Container field public
chain/evm/provider/ctf_anvil_provider_test.go Updated references to use public Container field
engine/cld/legacy/cli/mcmsv2/testdata/domains/testdomain/* Test domain scaffolding files
.changeset/public-mugs-agree.md Changeset entry

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

@gustavogama-cll gustavogama-cll force-pushed the ggama/add-rawdata-to-from-fork-tests branch 4 times, most recently from 4ac5e7c to dd03c7e Compare January 7, 2026 22:17
@gustavogama-cll gustavogama-cll force-pushed the ggama/add-rawdata-to-from-fork-tests branch from dd03c7e to 99dd07a Compare January 8, 2026 20:13
@gustavogama-cll gustavogama-cll marked this pull request as ready for review January 8, 2026 21:46
@gustavogama-cll gustavogama-cll requested a review from a team as a code owner January 8, 2026 21:46
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

Copilot reviewed 24 out of 36 changed files in this pull request and generated 2 comments.


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

@gustavogama-cll gustavogama-cll force-pushed the ggama/add-rawdata-to-from-fork-tests branch from 99dd07a to 33660b5 Compare January 9, 2026 03:20
@gustavogama-cll gustavogama-cll changed the title feat: log from, to and raw data in forktests feat(mcms): log "from", "to" and "raw" data in forktests Jan 9, 2026
@gustavogama-cll gustavogama-cll changed the title feat(mcms): log "from", "to" and "raw" data in forktests feat(mcms): log "from", "to" and "raw data" send on-chain during fork tests Jan 9, 2026
@cl-sonarqube-production
Copy link

Quality Gate failed Quality Gate failed

Failed conditions
55.6% Coverage on New Code (required ≥ 80%)

See analysis details on SonarQube

@gustavogama-cll gustavogama-cll added this pull request to the merge queue Jan 9, 2026
@gustavogama-cll gustavogama-cll changed the title feat(mcms): log "from", "to" and "raw data" send on-chain during fork tests feat(mcms): log "from", "to" and "raw data" sent on-chain during fork tests Jan 9, 2026
Merged via the queue into main with commit 3791c84 Jan 9, 2026
15 of 16 checks passed
@gustavogama-cll gustavogama-cll deleted the ggama/add-rawdata-to-from-fork-tests branch January 9, 2026 16:35
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