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: make THOR repayments great again #5898

Merged
merged 2 commits into from
Dec 20, 2023
Merged

Conversation

gomesalexandre
Copy link
Contributor

@gomesalexandre gomesalexandre commented Dec 19, 2023

Description

a.k.a accommodates for the new repay_bps param breaking change in THORNode 1.125.0 swagger document.

While at it, now that sane repay_bps are expected vs. an amount, which can have some market data discrepencies between us and THOR, removes the concept of "repayment percent or default" (i.e 100 or 101%).

Pull Request Type

  • 🐛 Bug fix (Non-breaking Change: Fixes an issue)
  • 🛠️ Chore (Non-breaking Change: Doc updates, pkg upgrades, typos, etc..)
  • 💅 New Feature (Breaking/Non-breaking Change)

Issue (if applicable)

closes #5897

Risk

None, this tackles a breaking change upstream.

Testing

  • THOR repayment quotes are happy again

Engineering

  • ☝🏽

Operations

  • ☝🏽

Screenshots (if applicable)

Screenshot 2023-12-19 at 14 55 47

@gomesalexandre gomesalexandre requested a review from a team as a code owner December 19, 2023 13:56
Copy link
Contributor Author

Current dependencies on/for this PR:

This stack of pull requests is managed by Graphite.

@0xApotheosis 0xApotheosis self-assigned this Dec 20, 2023
Copy link
Member

@0xApotheosis 0xApotheosis left a comment

Choose a reason for hiding this comment

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

I no longer have a repayable amount to actually test this, though I'm hoping ops does!

@0xApotheosis 0xApotheosis merged commit fb6f09f into develop Dec 20, 2023
3 checks passed
@0xApotheosis 0xApotheosis deleted the fix_thor_repayment branch December 20, 2023 02:10
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.

Accommodate for updated THOR loan close endpoint
2 participants