8000 chore: Updating types based on new marketmap schema by davidterpay · Pull Request #155 · skip-mev/connect · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
This repository was archived by the owner on Mar 24, 2025. It is now read-only.

chore: Updating types based on new marketmap schema #155

Merged
merged 6 commits into from
Feb 21, 2024

Conversation

davidterpay
Copy link
Contributor
@davidterpay davidterpay commented Feb 20, 2024

Closes BLO-859

@davidterpay davidterpay marked this pull request as ready for review February 20, 2024 22:50
@aljo242
Copy link
Contributor
aljo242 commented Feb 21, 2024

needs format and tests failing

}

// ValidateBasic performs basic validation on the provider market map.
func (pmm ProviderMarketMap) ValidateBasic() error {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
func (pmm ProviderMarketMap) ValidateBasic() error {
func (pmm *ProviderMarketMap) ValidateBasic() error {

Comment on lines 22 to +23
// market is the config for the Binance API.
market mmtypes.MarketConfig
market types.ProviderMarketMap
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These comments could be a bit more specific.

"market is the market config for the Binance API"

"api is the api config for the Binance API"

Copy link
Contributor
@aljo242 aljo242 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm - just some minor stuff

Copy link
Contributor
@aljo242 aljo242 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm - just some minor stuff

@davidterpay davidterpay merged commit ee6c6ff into terpay/remove-market-config Feb 21, 2024
davidterpay added a commit that referenced this pull request Feb 21, 2024
* init

* rm mapstructure

* chore: swapping types in the main oracle to use ticker (#133)

* type swap

* alias

* alias

* use constants in tests

* chore: Updating API providers with new types (#139)

* binance

* coinbase and coingecko

* nits

* static

* type alias maximalism

* format

* chore: Updating all WS providers with new types (#143)

* coinbase and coingecko

* nits

* bitfinex

* bitstamp

* bybit

* nits

* nit

* websocket first pass

* nits

* format

* chore: Updating types based on new marketmap schema (#155)

* init

* testing

* more testing

* cr

* chore: Updating provider factories with new market map configuration (#162)

* init

* testing

* more testing

* cr

* init

* nits

* update

* nits

---------

Co-authored-by: aljo242 <alex@skip.money>

* chore: Updating conversion aggregation function (#164)

* init

* testing

* more testing

* cr

* init

* nits

* init

* nits

* e2e fixes

* cr nits

---------

Co-authored-by: Alex Johnson <alex@skip.money>
aljo242 pushed a commit that referenced this pull request Feb 22, 2024
* init

* rm mapstructure

* chore: swapping types in the main oracle to use ticker (#133)

* type swap

* alias

* alias

* use constants in tests

* chore: Updating API providers with new types (#139)

* binance

* coinbase and coingecko

* nits

* static

* type alias maximalism

* format

* chore: Updating all WS providers with new types (#143)

* coinbase and coingecko

* nits

* bitfinex

* bitstamp

* bybit

* nits

* nit

* websocket first pass

* nits

* format

* chore: Updating types based on new marketmap schema (#155)

* init

* testing

* more testing

* cr

* chore: Updating provider factories with new market map configuration (#162)

* init

* testing

* more testing

* cr

* init

* nits

* update

* nits

---------

Co-authored-by: aljo242 <alex@skip.money>

* chore: Updating conversion aggregation function (#164)

* init

* testing

* more testing

* cr

* init

* nits

* init

* nits

* e2e fixes

* cr nits

---------

Co-authored-by: Alex Johnson <alex@skip.money>
aljo242 pushed a commit that referenced this pull request Feb 22, 2024
* gen new

* msg

* fix

* add test

* fix

* gen new proto

* generalize

* fix

* format

* test

* fully test

* update

* fix

* ok

* ok

* Update x/marketmap/keeper/msg_server.go

Co-authored-by: David Terpay <35130517+davidterpay@users.noreply.github.com>

* Update x/marketmap/keeper/msg_server.go

Co-authored-by: David Terpay <35130517+davidterpay@users.noreply.github.com>

* refactor: remove market config from oracle and providers (#132)

* init

* rm mapstructure

* chore: swapping types in the main oracle to use ticker (#133)

* type swap

* alias

* alias

* use constants in tests

* chore: Updating API providers with new types (#139)

* binance

* coinbase and coingecko

* nits

* static

* type alias maximalism

* format

* chore: Updating all WS providers with new types (#143)

* coinbase and coingecko

* nits

* bitfinex

* bitstamp

* bybit

* nits

* nit

* websocket first pass

* nits

* format

* chore: Updating types based on new marketmap schema (#155)

* init

* testing

* more testing

* cr

* chore: Updating provider factories with new market map configuration (#162)

* init

* testing

* more testing

* cr

* init

* nits

* update

* nits

---------

Co-authored-by: aljo242 <alex@skip.money>

* chore: Updating conversion aggregation function (#164)

* init

* testing

* more testing

* cr

* init

* nits

* init

* nits

* e2e fixes

* cr nits

---------

Co-authored-by: Alex Johnson <alex@skip.money>

* update

* godoc

* update validation

* feat: emit events for creating market (#163)

* constants

* create market event

---------

Co-authored-by: David Terpay <35130517+davidterpay@users.noreply.github.com>
@zrbecker zrbecker deleted the terpay/type-update branch November 5, 2024 21:06
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0