-
Notifications
You must be signed in to change notification settings - Fork 814
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
Remove liquidation logics from dex #733
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can we test this with vortex to verify it doesn't break the basic order placement flow
@@ -16,10 +16,10 @@ var _ = strconv.Itoa(0) | |||
|
|||
func CmdRegisterContract() *cobra.Command { | |||
cmd := &cobra.Command{ | |||
Use: "register-contract [contract address] [code id] [need hook] [need order matching] [deposit] [dependency1,dependency2,...]", | |||
Use: "register-contract [contract address] [code id] [(deprecated)] [need order matching] [deposit] [dependency1,dependency2,...]", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
think we can just remove this flag here as only the spot-lite and vortex contract deployment scripts are using this cmd
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i think some infra tooling (e.g. loadtest) also relies on this so want to change it after we are done with all loadtesting
|
Describe your changes and provide context
We've recognized liquidation as a vortex-specific feature rather than something generic to all exchange applications, so we removed the sudo call related to liquidation but didn't completely clean it up, which is fixed by this PR
Testing performed to validate your change
unit tests