Skip to content

CCIP-13038: Adding APTOS tooling to update feeAggregator and withdraw fee tokens - #580

Open
b-gopalswami wants to merge 3 commits into
developfrom
bg/ccip-13038-fee-tooling
Open

b-gopalswami wants to merge 3 commits into
developfrom
bg/ccip-13038-fee-tooling

Conversation

@b-gopalswami

Copy link
Copy Markdown

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Copilot review overview

🟡 Changes recommended

Withdrawal amounts are silently ignored, and zero fee-aggregator addresses generate transactions guaranteed to abort.

Review effort: Balanced
Findings: 2 Medium severity

Open (2)
What changed in this PR

Adds Aptos tooling for configuring the OnRamp fee aggregator and withdrawing accumulated fee tokens.

Changes:

  • Adds and registers Aptos fee-aggregator operations and adapter sequences.
  • Preserves the existing allowlist admin when updating dynamic configuration.
  • Adds transaction-encoding tests and updates deployment dependencies.
File Description
deployment/​go.mod Updates deployment dependencies.
deployment/​go.sum Refreshes dependency checksums.
deployment/​ccip/​operation/​registry.go Registers fee-aggregator operations.
deployment/​ccip/​operation/​fee_aggregator.go Generates Aptos MCMS transactions.
deployment/​ccip/​operation/​fee_aggregator_test.go Tests transaction encoding.
deployment/​ccip/​adapters/​init.go Registers the Aptos adapter.
deployment/​ccip/​adapters/​fee_aggregator.go Implements configuration and withdrawal sequences.
deployment/​ccip/​adapters/​fee_aggregator_test.go Tests adapter behavior.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread deployment/ccip/adapters/fee_aggregator.go
Comment thread deployment/ccip/adapters/fee_aggregator.go

This branch has not been deployed

No deployments
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