Skip to content

USDC Token Pool Liquidity migration changeset#1603

Open
0xsuryansh wants to merge 15 commits intodevelopfrom
liquidity-migration
Open

USDC Token Pool Liquidity migration changeset#1603
0xsuryansh wants to merge 15 commits intodevelopfrom
liquidity-migration

Conversation

@0xsuryansh
Copy link
Member

No description provided.

@0xsuryansh 0xsuryansh requested a review from a team as a code owner January 27, 2026 08:19
@0xsuryansh 0xsuryansh marked this pull request as draft January 27, 2026 08:19
@0xsuryansh 0xsuryansh marked this pull request as ready for review January 27, 2026 14:50
return MigrateHybridLockReleaseLiquidityOutput{}, err
}

addresses := make([]datastore.AddressRef, 0)

Choose a reason for hiding this comment

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

This is not populated because the sequence doesn't deploy anything right?

Copy link
Member Author

Choose a reason for hiding this comment

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

yes

@0xsuryansh 0xsuryansh marked this pull request as draft February 2, 2026 11:10
# Conflicts:
#	ccv/chains/evm/deployment/go.mod
#	ccv/chains/evm/deployment/go.sum
@0xsuryansh 0xsuryansh marked this pull request as ready for review February 2, 2026 19:04
@0xsuryansh 0xsuryansh requested a review from a team as a code owner February 2, 2026 19:04
# Conflicts:
#	ccv/chains/evm/deployment/go.mod
#	ccv/chains/evm/deployment/go.sum
@github-actions
Copy link

github-actions bot commented Feb 2, 2026

Metric liquidity-migration develop
Coverage 69.8% 69.5%

if err != nil {
return MigrateHybridLockReleaseLiquidityOutput{}, fmt.Errorf("failed to get authorized callers for lockbox %s (chain %d): %w", lockBox, sel, err)
}
if containsAddress(callersReport.Output, siloedPoolAddr) {
Copy link
Contributor

Choose a reason for hiding this comment

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

slices.Contains?

},
})
if err != nil {
return MigrateHybridLockReleaseLiquidityOutput{}, fmt.Errorf("failed to authorize siloed pool on lockbox %s (chain %d): %w", lockBox, sel, err)
Copy link
Contributor

Choose a reason for hiding this comment

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

Isn't this already done in the initial setup of the SiloedUSDC?

Comment on lines +153 to +154
withdrawAmount := new(big.Int).Mul(lockedReport.Output, big.NewInt(int64(input.LiquidityWithdrawPercent)))
withdrawAmount.Div(withdrawAmount, big.NewInt(100))
Copy link
Contributor

Choose a reason for hiding this comment

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

Could we have a test that confirms that this liquidity transfer works as expected?

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