Skip to content

feat(deployment):chain adapter aptos for product extensions #17536

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

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

Conversation

ajaskolski
Copy link
Contributor

@ajaskolski ajaskolski commented Apr 30, 2025

This pull request refactors the Aptos chain integration in the deployment framework by introducing a new ChainAdapterAptos type to encapsulate Chainlink-specific logic. It replaces the older PAptosChain type and updates related methods to improve clarity and maintainability.

Refactoring Aptos chain integration:

  • Introduced ChainAdapterAptos type: Replaced the PAptosChain type with ChainAdapterAptos, which extends deployment.AptosChain and provides Chainlink-specific functionality, such as interacting with CCIP modules. Added a constructor NewChainAdapterAptos to initialize this type. (deployment/aptos_chain.go, deployment/aptos_chain.goL5-R28)

  • Updated method calls to use ChainAdapterAptos: Refactored the OffRampPermissionLessExecutionThresholdSeconds function to use the new ChainAdapterAptos type and its methods for retrieving dynamic configuration, replacing the older PAptosChain logic. (deployment/ccip/changeset/state.go, deployment/ccip/changeset/state.goL764-R780)

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