Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Nv/optimize slinky adapter #18

Open
wants to merge 36 commits into
base: main
Choose a base branch
from
Open

Conversation

nivasan1
Copy link

Changelist

[Describe or list the changes made in this PR]

Test Plan

[Describe how this PR was tested (if applicable)]

Author/Reviewer Checklist

  • If this PR has changes that result in a different app state given the same prior state and transaction list, manually add the state-breaking label.
  • If the PR has breaking postgres changes to the indexer add the indexer-postgres-breaking label.
  • If this PR isn't state-breaking but has changes that modify behavior in PrepareProposal or ProcessProposal, manually add the label proposal-breaking.
  • If this PR is one of many that implement a specific feature, manually label them all feature:[feature-name].
  • If you wish to for mergify-bot to automatically create a PR to backport your change to a release branch, manually add the label backport/[branch-name].
  • Manually add any of the following labels: refactor, chore, bug.

dydxwill and others added 30 commits March 15, 2024 15:54
* add x/vault total shares store

* return error if shares is negative
…1195)

* oracle client mock in its own file

* remove the dupe
…col#1165)

* combine place and cancel rate limiters, add batch cancel

* fixups

* remove cancel rate limit genesis

* fix json files for genesis

* update sample pregenesis

* get tests to work

* update protos to deprecate instead of remove

* lint fix

* empty commit

* fix tests

* lint

* basic tests with only batch cancel orders submitted

* fix cli rate limit test

* e2e tests

* rate limit 2 -> 3

* more explicit replay test

* todo comment

* linty lint

* constants for the tests

* rate limit proto deprecate => reserved

* sample pregenesis update

* indexer proto regen

* fix tests

* fix test

* upgrade handler for batch cancel configs

* upgrade handler

* proto swap reserved back to deprecated

* more test fix

* try upgrade

* fix test

* regen indexer protos

* proto lint

* test fix

* upgrade file comment
* Move slinky daemon tests into single suite

* Move grpc listen out of test suite

* Remove server

* Move to singular model

* Remove unncessary test vars
* Enforce MarketParam.Pair uniqueness constraint

* Fix perps tests

* Fix the rest of the tests

* Prevent updating MarketParam.Pair

* Fix lint

* Fix prices test

* Allow updates again
* Squashed commit of the following:

commit 96d900d
Author: Eric <[email protected]>
Date:   Tue Mar 5 08:51:29 2024 -0800

    Fix non-initialized return values

commit 9ec7992
Author: Eric <[email protected]>
Date:   Tue Mar 5 08:42:48 2024 -0800

    Upstream compat

commit 47809c7
Merge: 7607b9e f6b594c
Author: Eric <[email protected]>
Date:   Tue Mar 5 08:40:34 2024 -0800

    Merge remote-tracking branch 'upstream' into eric/protocol-feature-flags

commit 7607b9e
Author: Eric <[email protected]>
Date:   Mon Mar 4 14:58:06 2024 -0800

    Fix accidental deletes

commit 297b592
Author: Eric <[email protected]>
Date:   Mon Mar 4 14:22:06 2024 -0800

    Merge

commit 6c32623
Merge: 5811502 daad125
Author: Eric <[email protected]>
Date:   Mon Mar 4 13:50:26 2024 -0800

    Merge remote-tracking branch 'origin/eric/ve-logic' into eric/protocol-feature-flags

commit 5811502
Merge: 6adf756 7feaddb
Author: Eric <[email protected]>
Date:   Mon Mar 4 13:49:23 2024 -0800

    Merge remote-tracking branch 'origin/eric/proposal-logic' into eric/protocol-feature-flags

commit 6adf756
Merge: c84eb82 88675f5
Author: Eric <[email protected]>
Date:   Mon Mar 4 13:44:46 2024 -0800

    Merge remote-tracking branch 'origin/eric/sidecar-integration' into eric/protocol-feature-flags

commit daad125
Author: Eric <[email protected]>
Date:   Mon Mar 4 10:51:23 2024 -0800

    VoteExtension slinky logic

commit 7feaddb
Author: Eric <[email protected]>
Date:   Sun Mar 3 21:28:32 2024 -0800

    Fix import order

commit 382d45c
Author: Eric <[email protected]>
Date:   Sun Mar 3 21:24:41 2024 -0800

    Prepare and Process logic for Slinky

commit 88675f5
Author: Eric <[email protected]>
Date:   Tue Feb 27 12:46:33 2024 -0800

    Register daemon with health monitor

commit 8438d54
Author: Eric <[email protected]>
Date:   Tue Feb 27 12:32:36 2024 -0800

    PR updates

commit 3046d69
Author: Eric <[email protected]>
Date:   Mon Feb 26 15:05:52 2024 -0800

    Make unflaky

commit 7799d29
Author: Eric <[email protected]>
Date:   Mon Feb 26 15:01:18 2024 -0800

    Lints, more tests

commit e0a8c37
Author: Eric <[email protected]>
Date:   Mon Feb 26 14:35:11 2024 -0800

    Add tests

commit d8e5e90
Author: Eric <[email protected]>
Date:   Sat Feb 24 21:01:35 2024 -0800

    Add interfaces, generate mocks

commit 3a8ebec
Author: Eric <[email protected]>
Date:   Sat Feb 24 10:18:33 2024 -0800

    Lint

commit 5cdd35f
Author: Eric <[email protected]>
Date:   Sat Feb 24 10:09:56 2024 -0800

    Initial commit of sidecar integration

* Don't update min_exchanges

* go mod tidy

* Fix error

* Update sample pregenesis

* Remove unncessary updates

* Update flags and handlers

* Don't chain mock makefile

* Remove oracle_client

* Update init

* Update opts

* update app

* Fix rewards test

* Fix clob tests

* Fix prices cli test
* construct simple vault orders

* simplify test and address comments
… daemon (dydxprotocol#1177)

* implement paginated querying

* tests

* lint

* lint

* move to shared pkg

* linting

* lint
)

* fix upgrade rate limit config bug to correct value

* less aggressive newline
* [CT-700] separate indexer and grpc streaming events

* fix tests

* comments

* update
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

10 participants