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

Fix / Kujira / New tendermint changes #218

Merged

Conversation

danilo-silva-funttastic
Copy link
Contributor

@danilo-silva-funttastic danilo-silva-funttastic commented Oct 24, 2023

With the new changes to the Kujira blockchain and the Cosmos library,
we are updating the code changing the references of the Tendermin34Client class in favor or the Tendermint37Client class,
now necessary to keep the connector working properly.

We also used the opportunity to create some more unit tests to increase the test coverage.

Finally we've updated a CLOB core validator to also accept market orders.

@alvaro-mota-funttastic alvaro-mota-funttastic force-pushed the fix/kujira/tendermint-changes branch from 0a9c9b8 to f3ae8a4 Compare October 24, 2023 17:29
@danilo-silva-funttastic danilo-silva-funttastic changed the title Fix/kujira/tendermint changes Fix / Kujira / New tendermint changes Oct 24, 2023
@alvaro-mota-funttastic alvaro-mota-funttastic force-pushed the fix/kujira/tendermint-changes branch from f3ae8a4 to de29e8d Compare October 24, 2023 20:02
@danilo-silva-funttastic danilo-silva-funttastic force-pushed the fix/kujira/tendermint-changes branch from de29e8d to a42c013 Compare October 25, 2023 18:43
Copy link
Contributor Author

@danilo-silva-funttastic danilo-silva-funttastic left a comment

Choose a reason for hiding this comment

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

Changes reviewed.

@danilo-silva-funttastic danilo-silva-funttastic marked this pull request as ready for review October 25, 2023 18:44
@danilo-silva-funttastic danilo-silva-funttastic force-pushed the fix/kujira/tendermint-changes branch 2 times, most recently from 27ab13e to bd9c79a Compare October 26, 2023 19:15
@danilo-silva-funttastic
Copy link
Contributor Author

danilo-silva-funttastic commented Oct 26, 2023

Hi @fengtality, @cardosofede, @rapcmia

We've created this PR (and another one for the Client) in order to update and improve our connector due to some feedback we've received from our users also to conform to the new breaking changes on the Kujira blockchain.

The summary of the PR explain the changes and they are relatively simple, for this one we need to touch some more files because it was needed to change the Tendermint references in different ones.

Disclaimer: unfortunately (as it has happened before), our build is not green but the tests which are failing are not related to us or our code, it's related with ethereum.

Please kindly take a look at it when you have time.

@danilo-silva-funttastic danilo-silva-funttastic force-pushed the fix/kujira/tendermint-changes branch from bd9c79a to 074c139 Compare November 2, 2023 09:50
Copy link
Contributor

@rapcmia rapcmia left a comment

Choose a reason for hiding this comment

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

  • Ran test on this PR with development branch
  • Setup Kujira testnet
    • Able to create order and cancel when reached refresh time
    • Orders are successfully filled
    • Ran same tests with docker build, all ok

…ating CLOB validator to accept market orders.

commit 0854c33
Author: Danilo Araújo Silva <danilo.silva@funttastic.com>
Date:   Wed Oct 25 23:38:51 2023 +0300

    Adding support market orders.

commit 0379f28
Author: Danilo Araújo Silva <danilo.silva@funttastic.com>
Date:   Wed Oct 25 21:39:00 2023 +0300

    Updating yarn.lock.

commit f3ae8a4
Author: Álvaro E. F. Mota <alvaro.mota@funttastic.com>
Date:   Fri Oct 20 18:40:28 2023 -0300

    Added two more test to cover exception cases

commit da4b091
Author: Álvaro E. F. Mota <alvaro.mota@funttastic.com>
Date:   Fri Oct 20 17:22:39 2023 -0300

    Added some tests that cover some exceptions

commit 49ac103
Author: Álvaro E. F. Mota <alvaro.mota@funttastic.com>
Date:   Tue Oct 17 18:40:02 2023 -0300

    Updated the Tendermint version
@darley-silva-funttastic darley-silva-funttastic force-pushed the fix/kujira/tendermint-changes branch from 524e832 to 15d7dc8 Compare November 13, 2023 01:16
@nikspz nikspz merged commit 5b8c2e7 into hummingbot:development Nov 13, 2023
3 checks passed
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.

5 participants