Skip to content

chore: swap aptos state loading funcs with cld-changesets#22312

Merged
gustavogama-cll merged 1 commit intodevelopfrom
ecpablo/remove-aptos-state-funcs
May 8, 2026
Merged

chore: swap aptos state loading funcs with cld-changesets#22312
gustavogama-cll merged 1 commit intodevelopfrom
ecpablo/remove-aptos-state-funcs

Conversation

@ecPablo
Copy link
Copy Markdown
Contributor

@ecPablo ecPablo commented May 5, 2026

Removes aptos state loading files and usages swapping it with cld-changesets.

AI Summary

This pull request refactors how MCMS addresses for Aptos chains are loaded by removing the local implementation and switching to a shared utility. The main goal is to reduce code duplication and centralize the logic for fetching MCMS addresses for Aptos, improving maintainability.

Key changes:

Refactoring and Code Reuse

  • Removed the local implementation of LoadMCMSAddressesAptos from deployment/common/changeset/state/aptos.go, deleting the entire file.
  • Updated imports in set_config_mcms.go to use aptosstate.LoadMCMSAddresses from the shared cld-changesets package instead of the deleted local version.

Usage Updates

  • Replaced all calls to the old LoadMCMSAddressesAptos function in set_config_mcms.go with the new shared function, ensuring all MCMS address loading for Aptos now uses the centralized implementation. [1] [2]

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 5, 2026

✅ No conflicts with other open PRs targeting develop

@cl-sonarqube-production
Copy link
Copy Markdown

@trunk-io
Copy link
Copy Markdown

trunk-io Bot commented May 5, 2026

Static BadgeStatic BadgeStatic BadgeStatic Badge

View Full Report ↗︎Docs

@ecPablo ecPablo marked this pull request as ready for review May 8, 2026 00:54
@ecPablo ecPablo requested a review from a team as a code owner May 8, 2026 00:55
Copilot AI review requested due to automatic review settings May 8, 2026 00:55

This comment was marked as resolved.

@gustavogama-cll gustavogama-cll enabled auto-merge May 8, 2026 01:24
@gustavogama-cll gustavogama-cll added this pull request to the merge queue May 8, 2026
Merged via the queue into develop with commit a0f6b73 May 8, 2026
212 of 213 checks passed
@gustavogama-cll gustavogama-cll deleted the ecpablo/remove-aptos-state-funcs branch May 8, 2026 11:40
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