Skip to content

Commit

Permalink
[Fix mock gen pt 2] oracle client mock in its own file (#1195)
Browse files Browse the repository at this point in the history
* oracle client mock in its own file

* remove the dupe
  • Loading branch information
jonfung-dydx authored Mar 18, 2024
1 parent cbf85cb commit ab14ab8
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 107 deletions.
2 changes: 1 addition & 1 deletion protocol/mocks/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,6 @@ mock-gen:
@go run github.com/vektra/mockery/v2 --name=PriceUpdateGenerator --dir=./app/prepare/prices --recursive --output=./mocks
@go run github.com/vektra/mockery/v2 --name=PriceFetcher --dir=./daemons/slinky/client --recursive --output=./mocks
@go run github.com/vektra/mockery/v2 --name=MarketPairFetcher --dir=./daemons/slinky/client --recursive --output=./mocks
@go run github.com/vektra/mockery/v2 --name=OracleClient --dir=$(GOPATH)/pkg/mod/github.com/skip-mev/slinky@$(SLINKY_VERSION)/service/clients/oracle --filename=oracle_client.go --recursive --output=./mocks
@go run github.com/vektra/mockery/v2 --name=OracleClient --dir=$(GOPATH)/pkg/mod/github.com/skip-mev/slinky@$(SLINKY_VERSION)/service/clients/oracle --recursive --output=./mocks
@go run github.com/vektra/mockery/v2 --name=ExtendVoteHandler --dir=$(GOPATH)/pkg/mod/github.com/dydxprotocol/cosmos-sdk@$(COSMOS_VERSION)/types --recursive --output=./mocks
@go run github.com/vektra/mockery/v2 --name=UpdateMarketPriceTxDecoder --dir=./app/process --recursive --output=./mocks
2 changes: 1 addition & 1 deletion protocol/mocks/OracleClient.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

105 changes: 0 additions & 105 deletions protocol/mocks/oracle_client.go

This file was deleted.

0 comments on commit ab14ab8

Please sign in to comment.