-
Notifications
You must be signed in to change notification settings - Fork 79
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
feat: remove recovery module #109
feat: remove recovery module #109
Conversation
// Set the ICS4 wrappers for claims and recovery middlewares | ||
app.RecoveryKeeper.SetICS4Wrapper(app.IBCKeeper.ChannelKeeper) | ||
// Set the ICS4 wrappers for onboarding middleware | ||
// SET ONBOARDING MIDDLEWARE ICS4 WRAPPER |
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.
Should set onboarding keeper ICS4Wrapper here
@@ -542,7 +504,7 @@ func NewCanto( | |||
var transferStack porttypes.IBCModule | |||
|
|||
transferStack = transfer.NewIBCModule(app.TransferKeeper) | |||
transferStack = recovery.NewIBCMiddleware(*app.RecoveryKeeper, transferStack) | |||
// ADD ONBOARDING MIDDLEWARE TO TRANSFER STACK |
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.
Add onboarding to transfer stack
app.TransferKeeper = ibctransferkeeper.NewKeeper( | ||
appCodec, keys[ibctransfertypes.StoreKey], app.GetSubspace(ibctransfertypes.ModuleName), app.RecoveryKeeper, | ||
appCodec, keys[ibctransfertypes.StoreKey], app.GetSubspace(ibctransfertypes.ModuleName), app.IBCKeeper.ChannelKeeper, |
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.
Must add app.OnboardingKeeper instead of placeholder app.IBCKeeper.ChannelKeeper
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.
I'll add this to onboarding module PR
@poorphd can you review this PR? |
Everything LGTM. I will update onboarding PR once this gets merged. |
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
Description
This pull request removes the x/recovery module from canto. This module is no longer used after issues regarding different key types were solved.
App.go is prepped for easy merging of x/onboarding (#103).
Author Checklist
All items are required. Please add a note to the item if the item is not applicable and
please add links to any relevant follow up issues.
I have...
Reviewers Checklist
All items are required. Please add a note if the item is not applicable and please add
your handle next to the items reviewed if you only reviewed selected items.
I have...