Skip to content

Commit

Permalink
linter
Browse files Browse the repository at this point in the history
  • Loading branch information
Unique-Divine committed Dec 28, 2023
1 parent 5121341 commit 0090d2f
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions x/perp/v2/keeper/admin_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ import (
)

func (s *TestSuiteAdmin) TestAdmin_WithdrawFromPerpFund() {

fundModule := func(amount sdkmath.Int, ctx sdk.Context, nibiru *app.NibiruApp) {
coins := sdk.NewCoins(sdk.NewCoin(perptypes.TestingCollateralDenomNUSD, amount))
err := testapp.FundModuleAccount(
Expand Down Expand Up @@ -471,7 +470,11 @@ func (s *TestSuiteAdmin) DoShiftSwapInvariantTest(pair asset.Pair) error {

func (s *TestSuiteAdmin) DoWithdrawFromPerpFundTest(toAddr string) error {
wantCoin := sdk.NewInt64Coin("perpfundtest", 25)
testapp.FundModuleAccount(s.nibiru.BankKeeper, s.ctx, types.PerpFundModuleAccount, sdk.NewCoins(wantCoin))
s.NoError(
testapp.FundModuleAccount(
s.nibiru.BankKeeper, s.ctx, types.PerpFundModuleAccount,
sdk.NewCoins(wantCoin)),
)
_, err := s.perpMsgServer.WithdrawFromPerpFund(
sdk.WrapSDKContext(s.ctx), &perptypes.MsgWithdrawFromPerpFund{
Sender: s.addrAdmin.String(),
Expand Down

0 comments on commit 0090d2f

Please sign in to comment.