Closed 0xSachinK closed 2 years ago
(Closing and re-opening to see if that fixes semantic release bot failure)
@cgewecke
getRedemptionAdjustments
in the redemption flow? Can you give a specific example? We do have tests for getRedemptionAdjustments as part of unit tests.How do we use getRedemptionAdjustments in the redemption flow? Can you give a specific example? We do have tests for getRedemptionAdjustments as part of unit tests
I'm thinking of something that models what happens at set-ui...
// Displayed
units = slippageIssuanceModule
.callStatic
.getRequiredComponentRedemptionUnitsOffChain(setToken, quantity);
// Real
slippageIssuanceModule.redeem(setToken, quantity)
// Test
Does displayed units match the redeem transaction outcome?
Does that make sense?
@cgewecke Added in 9b88be4
Edited PR description to track all fixes. Rebased branch to master.
:tada: This PR is included in version 0.9.0-hhat.1 :tada:
The release is available on:
Your semantic-release bot :package::rocket:
Review suggestions
issuance
tests in 7fa3e3egetRedemptionAdjustment
in a redemption flow to test the UI flow (Added in 9b88be4)Additions to unit tests