Skip to content

Commit

Permalink
(fix) Fixed failing test(fix) Fixed failing test(fix) Fixed failing t…
Browse files Browse the repository at this point in the history
…est(fix) Fixed failing test(fix) Fixed failing test(fix) Fixed failing test(fix) Fixed failing test(fix) Fixed failing test(fix) Fixed failing test
  • Loading branch information
abel committed Jan 25, 2024
1 parent 6a0e929 commit 43c14f7
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions client/chain/chain_test_support.go
Original file line number Diff line number Diff line change
Expand Up @@ -183,18 +183,18 @@ func (c *MockChainClient) ComputeOrderHashes(spotOrders []exchangetypes.SpotOrde
}

func (c *MockChainClient) SpotOrder(defaultSubaccountID eth.Hash, network common.Network, d *SpotOrderData) *exchangetypes.SpotOrder {
return c.CreateSpotOrder(defaultSubaccountID, network, d, MarketsAssistant{})
return c.CreateSpotOrder(defaultSubaccountID, d, MarketsAssistant{})

Check warning on line 186 in client/chain/chain_test_support.go

View check run for this annotation

Codecov / codecov/patch

client/chain/chain_test_support.go#L186

Added line #L186 was not covered by tests
}

func (c *MockChainClient) CreateSpotOrder(defaultSubaccountID eth.Hash, network common.Network, d *SpotOrderData, marketsAssistant MarketsAssistant) *exchangetypes.SpotOrder {
func (c *MockChainClient) CreateSpotOrder(defaultSubaccountID eth.Hash, d *SpotOrderData, marketsAssistant MarketsAssistant) *exchangetypes.SpotOrder {

Check warning on line 189 in client/chain/chain_test_support.go

View check run for this annotation

Codecov / codecov/patch

client/chain/chain_test_support.go#L189

Added line #L189 was not covered by tests
return &exchangetypes.SpotOrder{}
}

func (c *MockChainClient) DerivativeOrder(defaultSubaccountID eth.Hash, network common.Network, d *DerivativeOrderData) *exchangetypes.DerivativeOrder {
return c.CreateDerivativeOrder(defaultSubaccountID, network, d, MarketsAssistant{})
return c.CreateDerivativeOrder(defaultSubaccountID, d, MarketsAssistant{})

Check warning on line 194 in client/chain/chain_test_support.go

View check run for this annotation

Codecov / codecov/patch

client/chain/chain_test_support.go#L194

Added line #L194 was not covered by tests
}

func (c *MockChainClient) CreateDerivativeOrder(defaultSubaccountID eth.Hash, network common.Network, d *DerivativeOrderData, marketAssistant MarketsAssistant) *exchangetypes.DerivativeOrder {
func (c *MockChainClient) CreateDerivativeOrder(defaultSubaccountID eth.Hash, d *DerivativeOrderData, marketAssistant MarketsAssistant) *exchangetypes.DerivativeOrder {

Check warning on line 197 in client/chain/chain_test_support.go

View check run for this annotation

Codecov / codecov/patch

client/chain/chain_test_support.go#L197

Added line #L197 was not covered by tests
return &exchangetypes.DerivativeOrder{}
}

Expand Down

0 comments on commit 43c14f7

Please sign in to comment.