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

adapt banana mode to new LP-API methods and events #4181

Merged
merged 1 commit into from
Oct 31, 2023

Conversation

martin-chainflip
Copy link
Contributor

Pull Request

Related to and blocked by PR #4176

Checklist

Please conduct a thorough self-review before opening the PR.

  • I am confident that the code works.
  • I have updated documentation where appropriate.

Summary

This updates banana mode to support the new LP-API method names and returned data.

@codecov
Copy link

codecov bot commented Oct 30, 2023

Codecov Report

Merging #4181 (df58c08) into main (f812372) will increase coverage by 0%.
Report is 1 commits behind head on main.
The diff coverage is n/a.

@@          Coverage Diff          @@
##            main   #4181   +/-   ##
=====================================
  Coverage     72%     72%           
=====================================
  Files        380     379    -1     
  Lines      61591   61572   -19     
  Branches   61591   61572   -19     
=====================================
+ Hits       44174   44175    +1     
+ Misses     15119   15096   -23     
- Partials    2298    2301    +3     

see 7 files with indirect coverage changes

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@@ -20,7 +22,7 @@ import { provideLiquidity } from '../shared/provide_liquidity';
async function call(method: string, params: any, id: string) {
Copy link
Contributor

Choose a reason for hiding this comment

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

I think we have some duplicate functionality here. I created a similar function in shared/json_rpc.ts that uses fetch instead of axios. No idea which one is better. Maybe we can de-duplicate this during PRO-919.

@martin-chainflip martin-chainflip merged commit 85e1530 into main Oct 31, 2023
41 checks passed
@martin-chainflip martin-chainflip deleted the fix/new_lp_api_for_banana_mode branch October 31, 2023 14:33
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.

None yet

3 participants