-
Notifications
You must be signed in to change notification settings - Fork 204
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
add RedeemStake to autopilot #1012
Conversation
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! 👍🏻 Excited to test this with the outpost.
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! mostly nit's
So much easier to reason about without the transfer back haha
I'll review the unit tests tomorrow!
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.
Coverage on the tests looks good! But they are a bit bloated - I can take a pass at slimming them down if it'd help!
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 great to me! A couple of nit suggestions, but overall very clean flow 🙂
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.
Looking very good! Added some light comments, main ones are potential issues with IsStAssetDenom
and HostZoneDenomFromStAssetDenom
, and testing the case where you redeem twice in one day.
fb597d6
to
63b9124
Compare
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 new integration test looks great, thanks for adding that!
Closes: #771
Context and purpose of the change
Add
RedeemStake
to autopilot.Brief Changelog
RedeemStake
RedeemStake