Skip to content

Commit

Permalink
chore: marketmap cleanup (#338)
Browse files Browse the repository at this point in the history
* proto

* fix

* comment

* comment out test

* fix

* fix

---------

Co-authored-by: David Terpay <[email protected]>
  • Loading branch information
Alex Johnson and davidterpay authored Apr 10, 2024
1 parent 6c480f0 commit 653e213
Show file tree
Hide file tree
Showing 15 changed files with 323 additions and 317 deletions.
2 changes: 1 addition & 1 deletion api/slinky/marketmap/v1/market.pulsar.go

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

8 changes: 4 additions & 4 deletions api/slinky/marketmap/v1/query.pulsar.go

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

62 changes: 31 additions & 31 deletions api/slinky/marketmap/v1/tx.pulsar.go

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

32 changes: 17 additions & 15 deletions api/slinky/marketmap/v1/tx_grpc.pb.go

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

2 changes: 1 addition & 1 deletion proto/slinky/marketmap/v1/market.proto
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ message ProviderConfig {
string off_chain_ticker = 2;

// NormalizeByPair is the currency pair for this ticker to be normalized by.
// For example, if the desired Ticker is BTD/USD, this market could be reached
// For example, if the desired Ticker is BTC/USD, this market could be reached
// using: OffChainTicker = BTC/USDT NormalizeByPair = USDT/USD This field is
// optional and nullable.
slinky.types.v1.CurrencyPair normalize_by_pair = 3;
Expand Down
2 changes: 1 addition & 1 deletion proto/slinky/marketmap/v1/query.proto
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ message MarketMapResponse {
message MarketRequest {
// CurrencyPair is the currency pair associated with the market being
// requested.
slinky.types.v1.CurrencyPair currency_pair = 3
slinky.types.v1.CurrencyPair currency_pair = 1
[ (gogoproto.nullable) = false ];
}

Expand Down
5 changes: 3 additions & 2 deletions proto/slinky/marketmap/v1/tx.proto
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,9 @@ service Msg {
// UpdateMarkets updates markets from the given message.
rpc UpdateMarkets(MsgUpdateMarkets) returns (MsgUpdateMarketsResponse);

// Params defines a method for updating the x/marketmap module parameters.
rpc Params(MsgParams) returns (MsgParamsResponse);
// UpdateParams defines a method for updating the x/marketmap module
// parameters.
rpc UpdateParams(MsgParams) returns (MsgParamsResponse);

// RemoveMarketAuthorities defines a method for removing market authorities
// from the x/marketmap module. the signer must be the admin.
Expand Down
Loading

0 comments on commit 653e213

Please sign in to comment.