Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
aljo242 committed Sep 24, 2024
1 parent a6c710b commit 77d2b69
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 4 additions & 2 deletions tests/integration/connect_setup.go
Original file line number Diff line number Diff line change
Expand Up @@ -387,7 +387,8 @@ func PassProposal(chain *cosmos.CosmosChain, propId string, timeout time.Duratio
// AddCurrencyPairs creates + submits the proposal to add the given currency-pairs to state, votes for the prop w/ all nodes,
// and waits for the proposal to pass.
func (s *ConnectIntegrationSuite) AddCurrencyPairs(chain *cosmos.CosmosChain, user cosmos.User, price float64,
tickers ...mmtypes.Ticker) error {
tickers ...mmtypes.Ticker,
) error {
creates := make([]mmtypes.Market, len(tickers))
for i, ticker := range tickers {
creates[i] = mmtypes.Market{
Expand Down Expand Up @@ -426,7 +427,8 @@ func (s *ConnectIntegrationSuite) AddCurrencyPairs(chain *cosmos.CosmosChain, us
}

func (s *ConnectIntegrationSuite) RemoveMarket(chain *cosmos.CosmosChain, user cosmos.User,
markets []connecttypes.CurrencyPair) error {
markets []connecttypes.CurrencyPair,
) error {
marketString := make([]string, len(markets))
for i, market := range markets {
marketString[i] = market.String()
Expand Down
2 changes: 0 additions & 2 deletions tests/integration/connect_suite.go
Original file line number Diff line number Diff line change
Expand Up @@ -399,7 +399,6 @@ func (s *ConnectOracleIntegrationSuite) TestOracleModule() {
_, err = QueryMarket(s.chain, disabledCP)
s.Require().Error(err)
})

}

func translateGRPCAddr(chain *cosmos.CosmosChain) string {
Expand Down Expand Up @@ -799,7 +798,6 @@ func (s *ConnectOracleIntegrationSuite) TestMultiplePriceFeeds() {
s.Require().Equal(int64(110000000), resp.Price.Int64())
}
})

}

func getIDForCurrencyPair(ctx context.Context, client oracletypes.QueryClient, cp connecttypes.CurrencyPair) (uint64, error) {
Expand Down

0 comments on commit 77d2b69

Please sign in to comment.