-
Notifications
You must be signed in to change notification settings - Fork 85
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
centrifuge: Anemoy pool currency migration #1566
Conversation
@@ -187,8 +187,8 @@ where | |||
)] | |||
#[cfg_attr(feature = "std", derive(Serialize, Deserialize))] | |||
pub struct TrancheCurrency { | |||
pub(crate) pool_id: PoolId, | |||
pub(crate) tranche_id: TrancheId, | |||
pub pool_id: PoolId, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
any objections to open these fields visibility? by having them pub(crate)
I would have to import he TrancheCurrencyT
trait to call generate
to build an instance of this type which is quite an overkill imo. let me know if I am not overseeing any requirement 👍
Implemented the sanity checks for orders under the Anemoy pool and tested again with
Still have to implement the check for the pool value being 0. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good!
This PR is now feature-complete. Just testing it one last time 👍 Edit Looking good:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The migration LGTM! I would like to raise my concerns about making the pallet-investment
storages public.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! Thanks for adding the post-merge issue!
Description
We want to migrate the
currency
of theAnemoy
pool fromLpEthUSDC
to (Polkadot-native)USDC
on Centrifuge.ForeignAsset(100,001)
(LpEthUSDC
) toForeignAsset(6)
(Circle’s USDC native on Polkadot
)To Do
InvestOrders
,RedeemOrders
,ActiveInvestOrders
andActiveRedeemOrders
.0