Skip to content

feat(deployment): Integrate Aptos to curse/uncurse CS #18361

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

Open
wants to merge 11 commits into
base: develop
Choose a base branch
from

Conversation

rodrigombsoares
Copy link
Contributor

@rodrigombsoares rodrigombsoares commented Jun 27, 2025

Summary

Add Aptos support on curse/uncurse changesets. We don't have DeployerGroup support for Aptos, it uses OperationsAPI. AptosCursableChain implementing CursableChain and runs operations to curse/uncurse returning MCMS operations that are then added to the final proposal.

Features

  • AptosCursableChain implementing CursableChain interface
  • Proposal aggregation to output Aptos in the same Proposal as EVM and Solana
  • Validation for Aptos

Testing

  • Smoke tests on integration-tests/smoke/ccip/ccip_cs_rmn_curse_uncurse_test.go
    There's a separate test for Aptos since initializing an env with Aptos chain for all the current CurseTestCase would increase CI time.

@rodrigombsoares rodrigombsoares force-pushed the feat-aptos-curse branch 2 times, most recently from ba7c50e to 22066c7 Compare July 7, 2025 22:19
Comment on lines -71 to -74
if err != nil {
return fmt.Errorf("failed to load onchain state: %w", err)
}

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Duplicated

carte7000
carte7000 previously approved these changes Jul 17, 2025
@cl-sonarqube-production
Copy link

Quality Gate failed Quality Gate failed

Failed conditions
28.1% Duplication on New Code (required ≤ 10%)

See analysis details on SonarQube

cldf_chain "github.com/smartcontractkit/chainlink-deployments-framework/chain"

aptosCCIP "github.com/smartcontractkit/chainlink-aptos/bindings/ccip"
aptosOffRamp "github.com/smartcontractkit/chainlink-aptos/bindings/ccip_offramp"
Copy link
Contributor

Choose a reason for hiding this comment

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

Looks like the bindings aren't versioned. Solana does it the same way and it recently became a problem. I'd recommend something like the way it's done for EVM bindings

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.

4 participants