8000 feat(`x/marketmap`): keeper methods by aljo242 · Pull Request #270 · 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.

feat(x/marketmap): keeper methods #270

Merged
merged 80 commits into from
Apr 4, 2024
Merged

Conversation

aljo242
Copy link
Contributor
@aljo242 aljo242 commented Mar 22, 2024

Closes BLO-1032

@aljo242 aljo242 changed the base branch from refactor/mm-genesis to feat/market-map-2 April 4, 2024 12:49
@aljo242 aljo242 merged commit 3d4ef68 into feat/market-map-2 Apr 4, 2024
@aljo242 aljo242 deleted the refactor/mm-keeper branch April 4, 2024 14:51
// specified by its provider configs are valid and in state.
func (k *Keeper) IsMarketValid(ctx sdk.Context, market types.Market) error {
// check that all markets already exist in the keeper store:
for _, providerConfig := range market.ProviderConfigs {

Choose a reason for hiding this comment

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

can we reuse some of the ValidateBasic logic here?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Not here. This is some additional stateful validation that requires us to use the keeper. We need to verify that for each new market added, if they are Normalizing by another market (normalizeBy), does that normalizeBy exist in state. Any other stateless validation will already have been done by now by ValidateBasic().

Copy link
Contributor Author

Choose a reason for hiding this comment

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

This protects us from the case where in state we have:

  • BTC/USD
  • MOG/USD

and we want to add a new market which is:

  • ETH/USD (fed by an ETH/USDT feed, normalized by USDT/USD)

Only at a stateful verification stage, can we verify that the required USDT/USD exists.


// GetAllMarkets returns the set of Market objects currently stored in state
// as a map[TickerString] -> Markets.
func (k *Keeper) GetAllMarkets(ctx sdk.Context) (map[string]types.Market, error) {

Choose a reason for hiding this comment

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

how does this return type differ from collections.Map[types.TickerString, types.Market]

Copy link
Contributor Author

Choose a reason for hiding this comment

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

So, a collections.Map stores data in the KVstore in a map-like fashion. The access pattern is a Get which returns a single item, or to iterate through the collection which would let you return a list, or map. Here, we return a map.

2934

aljo242 pushed a commit that referenced this pull request Apr 10, 2024
* new market

* gen

* fix

* wip

* dep

* ok

* tidy

* update

* cute

* clean

* params

* fix

* len

* cp

* init

* ok

* cute

* add

* errors

* fix

* keeper test

* nice

* cdc

* msg
:

* msg

* clean

* update

* fix tests

* query

* query setup

* query

* query

* init hooks

* add to keeper

* test

* add hooks

* genesis hook

* fix

* this is my legacy

* ok

* lint

* init

* market query

* types

* events

* proto

* module defs

* beautify

* Update x/mm2/types/market.go

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

* Update x/mm2/types/market.go

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

* fix

* test

* newline

* remove

* test

* fix

* fix

* fix

* fix

* beautify

* merchandise

* fix

* fix

* fix

* fix

* fix

* get params

* test

* comment

* export func

* test

* invalid bech32

* check

* bet

* format

* expand tests

* feat(`x/marketmap`): init types and validation (#266)

* clean

* new market

* gen

* fix

* wip

* dep

* update

* cute

* clean

* len

* cp

* ok

* nice

* Update x/mm2/types/market.go

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

* Update x/mm2/types/market.go

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

* fix

* test

* comment

* expand tests

* better errors

---------

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

* fix

* feat(`x/marketmap`): params type (#267)

* clean

* new market

* gen

* fix

* wip

* dep

* update

* cute

* clean

* params

* fix

* len

* cp

* ok

* nice

* Update x/mm2/types/market.go

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

* Update x/mm2/types/market.go

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

* fix

* test

* newline

* remove

* comment

* expand tests

* fix

---------

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

* feat(`x/marketmap`):  genesis and validation (#268)

* bye

* fix

* 0 len

* fix

* fix vuln

* fixington

* fix

* nolint

* check

* fix

* feat(`x/marketmap`): keeper methods (#270)

* clean

* new market

* gen

* fix

* wip

* dep

* update

* cute

* clean

* params

* fix

* len

* cp

* init

* ok

* cute

* add

* errors

* fix

* keeper test

* nice

* Update x/mm2/types/market.go

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

* Update x/mm2/types/market.go

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

* fix

* test

* newline

* remove

* test

* fix

* beautify

* merchandise

* comment

* export func

* test

* expand tests

* fix

* bye

* fix

* fix vuln

* check

---------

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

* feat(`x/marketmap`): tx and msg service (#273)

* clean

* new market

* gen

* fix

* wip

* dep

* update

* cute

* clean

* params

* fix

* len

* cp

* init

* ok

* cute

* add

* errors

* fix

* keeper test

* nice

* cdc

* msg
:

* msg

* clean

* update

* fix tests

* Update x/mm2/types/market.go

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

* Update x/mm2/types/market.go

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

* fix

* test

* newline

* remove

* test

* fix

* fix

* beautify

* merchandise

* fix

* comment

* export func

* test

* invalid bech32

* check

* bet

* format

* expand tests

* fix

* bye

* fix

* 0 len

* fix

* fix vuln

* fixington

* nolint

* check

---------

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

* feat(`x/marketmap`): query server (#275)

* clean

* new market

* gen

* fix

* wip

* dep

* update

* cute

* clean

* params

* fix

* len

* cp

* init

* ok

* cute

* add

* errors

* fix

* keeper test

* nice

* cdc

* msg
:

* msg

* clean

* update

* fix tests

* query

* query setup

* query

* query

* Update x/mm2/types/market.go

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

* Update x/mm2/types/market.go

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

* fix

* test

* newline

* remove

* test

* fix

* fix

* fix

* beautify

* merchandise

* fix

* fix

* comment

* export func

* test

* invalid bech32

* check

* bet

* format

* expand tests

* fix

* bye

* fix

* 0 len

* fix

* fix vuln

* fixington

* fix

* nolint

* check

---------

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

* feat(`x/marktmap`): keeper genesis (#276)

* clean

* new market

* gen

* fix

* wip

* dep

* update

* cute

* clean

* params

* fix

* len

* cp

* init

* ok

* cute

* add

* errors

* fix

* keeper test

* nice

* cdc

* msg
:

* msg

* clean

* update

* fix tests

* query

* query setup

* query

* query

* test

* Update x/mm2/types/market.go

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

* Update x/mm2/types/market.go

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

* fix

* test

* newline

* remove

* test

* fix

* fix

* fix

* fix

* beautify

* merchandise

* fix

* fix

* fix

* get params

* test

* comment

* export func

* test

* invalid bech32

* check

* bet

* format

* expand tests

* fix

* bye

* fix

* 0 len

* fix

* fix vuln

* fixington

* fix

* nolint

* check

* fix

---------

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

* fix

* feat(`x/marketmap`): keeper hooks (#279)

* clean

* new market

* gen

* fix

* wip

* dep

* update

* cute

* clean

* params

* fix

* len

* cp

* init

* ok

* cute

* add

* errors

* fix

* keeper test

* nice

* cdc

* msg
:

* msg

* clean

* update

* fix tests

* query

* query setup

* query

* query

* init hooks

* add to keeper

* test

* add hooks

* genesis hook

* fix

* this is my legacy

* ok

* lint

* Update x/mm2/types/market.go

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

* Update x/mm2/types/market.go

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

* fix

* test

* newline

* remove

* test

* fix

* fix

* fix

* fix

* beautify

* merchandise

* fix

* fix

* fix

* fix

* get params

* test

* comment

* export func

* test

* invalid bech32

* check

* bet

* format

* expand tests

* fix

* bye

* fix

* 0 len

* fix

* fix vuln

* fixington

* fix

* nolint

* check

* fix

* fix

---------

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

* feat(`x/marketmap`): query cli (#280)

* init

* market query

* fix

* feat(`x/marketmap`): events (#281)

* types

* events

---------

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

* feat(`x/marketmap`): add `Admin` param (#293)

* add admin

* fix

* better check

* revert

* update proto

* clean

* fix

* set

* test

* fix

* test

* fix

* proto

* best

* capacity

* ok

* refactor: Provider Ticker Interface (PR1) (#322)

* init

* init

* remove code that should not be here

* remove code that should not be here v2

* testing nit

* cr

* removing decimals from if

* refactor: API Price Providers with Provider Ticker Interface (PR2) (#325)

* init

* more changes

* api providers

* more nits

* cr

* cr 2

* remove dec

* refactor: WebSocket Providers with ProviderTickers interface (PR3) (#328)

* init

* more changes

* api providers

* more nits

* cr

* cr 2

* init

* nits

* factory methods

* oracle math done

* done with build

* done with build

* done with dydx basic changes

* updating

* update

* dydx provider done

* done with oracle testing

* done with providers

* build

* configs

* config nit

* nits

* update aggregator

* refactor: marketmap full conversion (#333)

* wip

* suite

* renames

* renames

* all tests passing

* lint pass

* fix e2e

* fix?

* fix

* fix

* fix

* fixed forever

* ok

* nits

* tidy

* remove GetProvider

* refactor: `mm2` -> `marketmap` (#334)

* wip

* suite

* renames

* renames

* all tests passing

* lint pass

* fix e2e

* temp

* bye

* gen

* fix

* fmt

* regen mocks

* fix?

* fix

* fix

* fix

---------

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

---------

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

* chore: Cleaning up deadcode (#337)

* init

* nit

* tidy other readmes

* more nits

* chore: `marketmap` cleanup (#338)

* proto

* fix

* comment

* comment out test

* fix

* fix

---------

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

* ok

* sure

* tidy all

* readme

---------

Co-authored-by: David Terpay <35130517+davidterpay@users.noreply.github.com>
beer-1 pushed a commit to beer-1/slinky that referenced this pull request Apr 11, 2024
* new market

* gen

* fix

* wip

* dep

* ok

* tidy

* update

* cute

* clean

* params

* fix

* len

* cp

* init

* ok

* cute

* add

* errors

* fix

* keeper test

* nice

* cdc

* msg
:

* msg

* clean

* update

* fix tests

* query

* query setup

* query

* query

* init hooks

* add to keeper

* test

* add hooks

* genesis hook

* fix

* this is my legacy

* ok

* lint

* init

* market query

* types

* events

* proto

* module defs

* beautify

* Update x/mm2/types/market.go

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

* Update x/mm2/types/market.go

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

* fix

* test

* newline

* remove

* test

* fix

* fix

* fix

* fix

* beautify

* merchandise

* fix

* fix

* fix

* fix

* fix

* get params

* test

* comment

* export func

* test

* invalid bech32

* check

* bet

* format

* expand tests

* feat(`x/marketmap`): init types and validation (skip-mev#266)

* clean

* new market

* gen

* fix

* wip

* dep

* update

* cute

* clean

* len

* cp

* ok

* nice

* Update x/mm2/types/market.go

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

* Update x/mm2/types/market.go

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

* fix

* test

* comment

* expand tests

* better errors

---------

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

* fix

* feat(`x/marketmap`): params type (skip-mev#267)

* clean

* new market

* gen

* fix

* wip

* dep

* update

* cute

* clean

* params

* fix

* len

* cp

* ok

* nice

* Update x/mm2/types/market.go

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

* Update x/mm2/types/market.go

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

* fix

* test

* newline

* remove

* comment

* expand tests

* fix

---------

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

* feat(`x/marketmap`):  genesis and validation (skip-mev#268)

* bye

* fix

* 0 len

* fix

* fix vuln

* fixington

* fix

* nolint

* check

* fix

* feat(`x/marketmap`): keeper methods (skip-mev#270)

* clean

* new market

* gen

* fix

* wip

* dep

* update

* cute

* clean

* params

* fix

* len

* cp

* init

* ok

* cute

* add

* errors

* fix

* keeper test

* nice

* Update x/mm2/types/market.go

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

* Update x/mm2/types/market.go

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

* fix

* test

* newline

* remove

* test

* fix

* beautify

* merchandise

* comment

* export func

* test

* expand tests

* fix

* bye

* fix

* fix vuln

* check

---------

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

* feat(`x/marketmap`): tx and msg service (skip-mev#273)

* clean

* new market

* gen

* fix

* wip

* dep

* update

* cute

* clean

* params

* fix

* len

* cp

* init

* ok

* cute

* add

* errors

* fix

* keeper test

* nice

* cdc

* msg
:

* msg

* clean

* update

* fix tests

* Update x/mm2/types/market.go

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

* Update x/mm2/types/market.go

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

* fix

* test

* newline

* remove

* test

* fix

* fix

* beautify

* merchandise

* fix

* comment

* export func

* test

* invalid bech32

* check

* bet

* format

* expand tests

* fix

* bye

* fix

* 0 len

* fix

* fix vuln

* fixington

* nolint

* check

---------

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

* feat(`x/marketmap`): query server (skip-mev#275)

* clean

* new market

* gen

* fix

* wip

* dep

* update

* cute

* clean

* params

* fix

* len

* cp

* init

* ok

* cute

* add

* errors

* fix

* keeper test

* nice

* cdc

* msg
:

* msg

* clean

* update

* fix tests

* query

* query setup

* query

* query

* Update x/mm2/types/market.go

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

* Update x/mm2/types/market.go

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

* fix

* test

* newline

* remove

* test

* fix

* fix

* fix

* beautify

* merchandise

* fix

* fix

* comment

* export func

* test

* invalid bech32

* check

* bet

* format

* expand tests

* fix

* bye

* fix

* 0 len

* fix

* fix vuln

* fixington

* fix

* nolint

* check

---------

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

* feat(`x/marktmap`): keeper genesis (skip-mev#276)

* clean

* new market

* gen

* fix

* wip

* dep

* update

* cute

* clean

* params

* fix

* len

* cp

* init

* ok

* cute

* add

* errors

* fix

* keeper test

* nice

* cdc

* msg
:

* msg

* clean

* update

* fix tests

* query

* query setup

* query

* query

* test

* Update x/mm2/types/market.go

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

* Update x/mm2/types/market.go

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

* fix

* test

* newline

* remove

* test

* fix

* fix

* fix

* fix

* beautify

* merchandise

* fix

* fix

* fix

* get params

* test

* comment

* export func

* test

* invalid bech32

* check

* bet

* format

* expand tests

* fix

* bye

* fix

* 0 len

* fix

* fix vuln

* fixington

* fix

* nolint

* check

* fix

---------

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

* fix

* feat(`x/marketmap`): keeper hooks (skip-mev#279)

* clean

* new market

* gen

* fix

* wip

* dep

* update

* cute

* clean

* params

* fix

* len

* cp

* init

* ok

* cute

* add

* errors

* fix

* keeper test

* nice

* cdc

* msg
:

* msg

* clean

* update

* fix tests

* query

* query setup

* query

* query

* init hooks

* add to keeper

* test

* add hooks

* genesis hook

* fix

* this is my legacy

* ok

* lint

* Update x/mm2/types/market.go

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

* Update x/mm2/types/market.go

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

* fix

* test

* newline

* remove

* test

* fix

* fix

* fix

* fix

* beautify

* merchandise

* fix

* fix

* fix

* fix

* get params

* test

* comment

* export func

* test

* invalid bech32

* check

* bet

* format

* expand tests

* fix

* bye

* fix

* 0 len

* fix

* fix vuln

* fixington

* fix

* nolint

* check

* fix

* fix

---------

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

* feat(`x/marketmap`): query cli (skip-mev#280)

* init

* market query

* fix

* feat(`x/marketmap`): events (skip-mev#281)

* types

* events

---------

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

* feat(`x/marketmap`): add `Admin` param (skip-mev#293)

* add admin

* fix

* better check

* revert

* update proto

* clean

* fix

* set

* test

* fix

* test

* fix

* proto

* best

* capacity

* ok

* refactor: Provider Ticker Interface (PR1) (skip-mev#322)

* init

* init

* remove code that should not be here

* remove code that should not be here v2

* testing nit

* cr

* removing decimals from if

* refactor: API Price Providers with Provider Ticker Interface (PR2) (skip-mev#325)

* init

* more changes

* api providers

* more nits

* cr

* cr 2

* remove dec

* refactor: WebSocket Providers with ProviderTickers interface (PR3) (skip-mev#328)

* init

* more changes

* api providers

* more nits

* cr

* cr 2

* init

* nits

* factory methods

* oracle math done

* done with build

* done with build

* done with dydx basic changes

* updating

* update

* dydx provider done

* done with oracle testing

* done with providers

* build

* configs

* config nit

* nits

* update aggregator

* refactor: marketmap full conversion (skip-mev#333)

* wip

* suite

* renames

* renames

* all tests passing

* lint pass

* fix e2e

* fix?

* fix

* fix

* fix

* fixed forever

* ok

* nits

* tidy

* remove GetProvider

* refactor: `mm2` -> `marketmap` (skip-mev#334)

* wip

* suite

* renames

* renames

* all tests passing

* lint pass

* fix e2e

* temp

* bye

* gen

* fix

* fmt

* regen mocks

* fix?

* fix

* fix

* fix

---------

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

---------

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

* chore: Cleaning up deadcode (skip-mev#337)

* init

* nit

* tidy other readmes

* more nits

* chore: `marketmap` cleanup (skip-mev#338)

* proto

* fix

* comment

* comment out test

* fix

* fix

---------

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

* ok

* sure

* tidy all

* readme

---------

Co-authored-by: David Terpay <35130517+davidterpay@users.noreply.github.com>
nivasan1 added a commit that referenced this pull request Apr 11, 2024
* compute gov addr after config changed

* Fix type removal

* chore(deps): bump github.com/cosmos/ibc-go/v8 in /tests/integration (#320)

Bumps [github.com/cosmos/ibc-go/v8](https://github.com/cosmos/ibc-go) from 8.0.0 to 8.2.0.
- [Release notes](https://github.com/cosmos/ibc-go/releases)
- [Changelog](https://github.com/cosmos/ibc-go/blob/v8.2.0/CHANGELOG.md)
- [Commits](cosmos/ibc-go@v8.0.0...v8.2.0)

---
updated-dependencies:
- dependency-name: github.com/cosmos/ibc-go/v8
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alex Johnson <alex@skip.money>
Co-authored-by: David Terpay <35130517+davidterpay@users.noreply.github.com>

* chore(deps): bump github.com/gagliardetto/solana-go from 1.9.3 to 1.10.0 (#327)

Bumps [github.com/gagliardetto/solana-go](https://github.com/gagliardetto/solana-go) from 1.9.3 to 1.10.0.
- [Release notes](https://github.com/gagliardetto/solana-go/releases)
- [Changelog](https://github.com/gagliardetto/solana-go/blob/main/CHANGELOG.md)
- [Commits](gagliardetto/solana-go@v1.9.3...v1.10.0)

---
updated-dependencies:
- dependency-name: github.com/gagliardetto/solana-go
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alex Johnson <alex@skip.money>
Co-authored-by: David Terpay <35130517+davidterpay@users.noreply.github.com>

* chore(deps): bump supplypike/setup-bin from 3 to 4 (#336)

Bumps [supplypike/setup-bin](https://github.com/supplypike/setup-bin) from 3 to 4.
- [Release notes](https://github.com/supplypike/setup-bin/releases)
- [Commits](supplypike/setup-bin@v3...v4)

---
updated-dependencies:
- dependency-name: supplypike/setup-bin
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: David Terpay <35130517+davidterpay@users.noreply.github.com>

* chore(deps): bump github.com/gagliardetto/binary from 0.7.7 to 0.8.0 (#326)

Bumps [github.com/gagliardetto/binary](https://github.com/gagliardetto/binary) from 0.7.7 to 0.8.0.
- [Release notes](https://github.com/gagliardetto/binary/releases)
- [Changelog](https://github.com/gagliardetto/binary/blob/master/CHANGELOG.md)
- [Commits](gagliardetto/binary@v0.7.7...v0.8.0)

---
updated-dependencies:
- dependency-name: github.com/gagliardetto/binary
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alex Johnson <alex@skip.money>

* chore(deps): bump google.golang.org/grpc from 1.63.0 to 1.63.2 (#331)

Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.63.0 to 1.63.2.
- [Release notes](https://github.com/grpc/grpc-go/releases)
- [Commits](grpc/grpc-go@v1.63.0...v1.63.2)

---
updated-dependencies:
- dependency-name: google.golang.org/grpc
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alex Johnson <alex@skip.money>
Co-authored-by: David Terpay <35130517+davidterpay@users.noreply.github.com>

* chore(deps): bump github.com/klauspost/compress from 1.17.7 to 1.17.8 (#330)

Bumps [github.com/klauspost/compress](https://github.com/klauspost/compress) from 1.17.7 to 1.17.8.
- [Release notes](https://github.com/klauspost/compress/releases)
- [Changelog](https://github.com/klauspost/compress/blob/master/.goreleaser.yml)
- [Commits](klauspost/compress@v1.17.7...v1.17.8)

---
updated-dependencies:
- dependency-name: github.com/klauspost/compress
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alex Johnson <alex@skip.money>
Co-authored-by: David Terpay <35130517+davidterpay@users.noreply.github.com>

* feat: `x/marketmap` v2 (#265)

* new market

* gen

* fix

* wip

* dep

* ok

* tidy

* update

* cute

* clean

* params

* fix

* len

* cp

* init

* ok

* cute

* add

* errors

* fix

* keeper test

* nice

* cdc

* msg
:

* msg

* clean

* update

* fix tests

* query

* query setup

* query

* query

* init hooks

* add to keeper

* test

* add hooks

* genesis hook

* fix

* this is my legacy

* ok

* lint

* init

* market query

* types

* events

* proto

* module defs

* beautify

* Update x/mm2/types/market.go

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

* Update x/mm2/types/market.go

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

* fix

* test

* newline

* remove

* test

* fix

* fix

* fix

* fix

* beautify

* merchandise

* fix

* fix

* fix

* fix

* fix

* get params

* test

* comment

* export func

* test

* invalid bech32

* check

* bet

* format

* expand tests

* feat(`x/marketmap`): init types and validation (#266)

* clean

* new market

* gen

* fix

* wip

* dep

* update

* cute

* clean

* len

* cp

* ok

* nice

* Update x/mm2/types/market.go

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

* Update x/mm2/types/market.go

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

* fix

* test

* comment

* expand tests

* better errors

---------

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

* fix

* feat(`x/marketmap`): params type (#267)

* clean

* new market

* gen

* fix

* wip

* dep

* update

* cute

* clean

* params

* fix

* len

* cp

* ok

* nice

* Update x/mm2/types/market.go

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

* Update x/mm2/types/market.go

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

* fix

* test

* newline

* remove

* comment

* expand tests

* fix

---------

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

* feat(`x/marketmap`):  genesis and validation (#268)

* bye

* fix

* 0 len

* fix

* fix vuln

* fixington

* fix

* nolint

* check

* fix

* feat(`x/marketmap`): keeper methods (#270)

* clean

* new market

* gen

* fix

* wip

* dep

* update

* cute

* clean

* params

* fix

* len

* cp

* init

* ok

* cute

* add

* errors

* fix

* keeper test

* nice

* Update x/mm2/types/market.go

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

* Update x/mm2/types/market.go

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

* fix

* test

* newline

* remove

* test

* fix

* beautify

* merchandise

* comment

* export func

* test

* expand tests

* fix

* bye

* fix

* fix vuln

* check

---------

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

* feat(`x/marketmap`): tx and msg service (#273)

* clean

* new market

* gen

* fix

* wip

* dep

* update

* cute

* clean

* params

* fix

* len

* cp

* init

* ok

* cute

* add

* errors

* fix

* keeper test

* nice

* cdc

* msg
:

* msg

* clean

* update

* fix tests

* Update x/mm2/types/market.go

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

* Update x/mm2/types/market.
A527
go

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

* fix

* test

* newline

* remove

* test

* fix

* fix

* beautify

* merchandise

* fix

* comment

* export func

* test

* invalid bech32

* check

* bet

* format

* expand tests

* fix

* bye

* fix

* 0 len

* fix

* fix vuln

* fixington

* nolint

* check

---------

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

* feat(`x/marketmap`): query server (#275)

* clean

* new market

* gen

* fix

* wip

* dep

* update

* cute

* clean

* params

* fix

* len

* cp

* init

* ok

* cute

* add

* errors

* fix

* keeper test

* nice

* cdc

* msg
:

* msg

* clean

* update

* fix tests

* query

* query setup

* query

* query

* Update x/mm2/types/market.go

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

* Update x/mm2/types/market.go

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

* fix

* test

* newline

* remove

* test

* fix

* fix

* fix

* beautify

* merchandise

* fix

* fix

* comment

* export func

* test

* invalid bech32

* check

* bet

* format

* expand tests

* fix

* bye

* fix

* 0 len

* fix

* fix vuln

* fixington

* fix

* nolint

* check

---------

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

* feat(`x/marktmap`): keeper genesis (#276)

* clean

* new market

* gen

* fix

* wip

* dep

* update

* cute

* clean

* params

* fix

* len

* cp

* init

* ok

* cute

* add

* errors

* fix

* keeper test

* nice

* cdc

* msg
:

* msg

* clean

* update

* fix tests

* query

* query setup

* query

* query

* test

* Update x/mm2/types/market.go

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

* Update x/mm2/types/market.go

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

* fix

* test

* newline

* remove

* test

* fix

* fix

* fix

* fix

* beautify

* merchandise

* fix

* fix

* fix

* get params

* test

* comment

* export func

* test

* invalid bech32

* check

* bet

* format

* expand tests

* fix

* bye

* fix

* 0 len

* fix

* fix vuln

* fixington

* fix

* nolint

* check

* fix

---------

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

* fix

* feat(`x/marketmap`): keeper hooks (#279)

* clean

* new market

* gen

* fix

* wip

* dep

* update

* cute

* clean

* params

* fix

* len

* cp

* init

* ok

* cute

* add

* errors

* fix

* keeper test

* nice

* cdc

* msg
:

* msg

* clean

* update

* fix tests

* query

* query setup

* query

* query

* init hooks

* add to keeper

* test

* add hooks

* genesis hook

* fix

* this is my legacy

* ok

* lint

* Update x/mm2/types/market.go

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

* Update x/mm2/types/market.go

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

* fix

* test

* newline

* remove

* test

* fix

* fix

* fix

* fix

* beautify

* merchandise

* fix

* fix

* fix

* fix

* get params

* test

* comment

* export func

* test

* invalid bech32

* check

* bet

* format

* expand tests

* fix

* bye

* fix

* 0 len

* fix

* fix vuln

* fixington

* fix

* nolint

* check

* fix

* fix

---------

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

* feat(`x/marketmap`): query cli (#280)

* init

* market query

* fix

* feat(`x/marketmap`): events (#281)

* types

* events

---------

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

* feat(`x/marketmap`): add `Admin` param (#293)

* add admin

* fix

* better check

* revert

* update proto

* clean

* fix

* set

* test

* fix

* test

* fix

* proto

* best

* capacity

* ok

* refactor: Provider Ticker Interface (PR1) (#322)

* init

* init

* remove code that should not be here

* remove code that should not be here v2

* testing nit

* cr

* removing decimals from if

* refactor: API Price Providers with Provider Ticker Interface (PR2) (#325)

* init

* more changes

* api providers

* more nits

* cr

* cr 2

* remove dec

* refactor: WebSocket Providers with ProviderTickers interface (PR3) (#328)

* init

* more changes

* api providers

* more nits

* cr

* cr 2

* init

* nits

* factory methods

* oracle math done

* done with build

* done with build

* done with dydx basic changes

* updating

* update

* dydx provider done

* done with oracle testing

* done with providers

* build

* configs

* config nit

* nits

* update aggregator

* refactor: marketmap full conversion (#333)

* wip

* suite

* renames

* renames

* all tests passing

* lint pass

* fix e2e

* fix?

* fix

* fix

* fix

* fixed forever

* ok

* nits

* tidy

* remove GetProvider

* refactor: `mm2` -> `marketmap` (#334)

* wip

* suite

* renames

* renames

* all tests passing

* lint pass

* fix e2e

* temp

* bye

* gen

* fix

* fmt

* regen mocks

* fix?

* fix

* fix

* fix

---------

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

---------

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

* chore: Cleaning up deadcode (#337)

* init

* nit

* tidy other readmes

* more nits

* chore: `marketmap` cleanup (#338)

* proto

* fix

* comment

* comment out test

* fix

* fix

---------

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

* ok

* sure

* tidy all

* readme

---------

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

* fix test

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: Eric <eric.warehime@gmail.com>
Co-authored-by: Alex Johnson <alex@skip.money>
Co-authored-by: Nikhil Vasan <97126437+nivasan1@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: David Terpay <35130517+davidterpay@users.noreply.github.com>
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.

4 participants
0