Skip to content

Commit

Permalink
modify gov proposal (sets don't loop assets)
Browse files Browse the repository at this point in the history
  • Loading branch information
toteki committed Sep 12, 2023
1 parent 87232e4 commit 59fb3cc
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions tests/e2e/e2e_leverage_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -115,16 +115,17 @@ func (s *E2ETest) TestLeverageBasics() {
)
s.Run(
"leverage add special pairs", func() {
sets := []leveragetypes.SpecialAssetSet{
pairs := []leveragetypes.SpecialAssetPair{
{
// a set allowing UMEE to borrow more of itself
Assets: []string{appparams.BondDenom},
Borrow: appparams.BondDenom,
Collateral: appparams.BondDenom,
CollateralWeight: sdk.MustNewDecFromStr("0.75"),
LiquidationThreshold: sdk.MustNewDecFromStr("0.8"),
},
}
s.Require().NoError(
grpc.LeverageSpecialPairsUpdate(s.Umee, sets, []leveragetypes.SpecialAssetPair{}),
grpc.LeverageSpecialPairsUpdate(s.Umee, []leveragetypes.SpecialAssetSet{}, pairs),
)
},
)
Expand Down

0 comments on commit 59fb3cc

Please sign in to comment.