Skip to content
This repository was archived by the owner on Feb 2, 2024. It is now read-only.

SDK dogfooding #391

Merged
merged 6 commits into from
Mar 9, 2023
Merged

SDK dogfooding #391

merged 6 commits into from
Mar 9, 2023

Conversation

shoom3301
Copy link
Contributor

SDK refactoring: cowprotocol/cow-sdk#97

Changes

  1. Removed optimize-bundle script, we don't need it since we got rid of redundant dependencies
  2. Most of the changes are related to SupportedChainId, OrderKind, OrderClass imports
  3. Added refactored version of metadataApiSDK usage
  4. Integrated refactored version of OrderBookApi
  5. Changed imports for types related to the order-book
  6. Removed irrelevant Gas price strategy code
  7. Removed 0x and Matcha APIs due to their irrelevance
  8. Replaced getNativePrice by import from SDK
  9. Integrated sendOrder and sendSignedOrderCancellation form SDK
  10. Added lazy loading for signing utils from @cowprotocol/contracts, because they are pretty heavy and we don't need them most of the time

Other PRs: https://github.com/cowprotocol/cowswap/pulls?q=is%3Apr+is%3Aclosed+label%3ASDK_dogfooding

@vercel
Copy link

vercel bot commented Mar 7, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated
explorer-dev ✅ Ready (Inspect) Visit Preview 💬 Add your feedback

📖 Storybook ↗︎

@coveralls
Copy link

coveralls commented Mar 7, 2023

Pull Request Test Coverage Report for Build 4363399208

  • 1 of 1 (100.0%) changed or added relevant line in 1 file are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage decreased (-0.2%) to 60.226%

Totals Coverage Status
Change from base Build 4325647048: -0.2%
Covered Lines: 833
Relevant Lines: 1200

💛 - Coveralls

Copy link

@elena-zh elena-zh left a comment

Choose a reason for hiding this comment

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

Hey @shoom3301 , great job!
But I have found 1 issue that blocks my approval: AppData details is not working in your PR
image
image

Copy link
Collaborator

@alfetopito alfetopito left a comment

Choose a reason for hiding this comment

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

I'm concerned with the subgraph env var urls.

See the comment

@shoom3301
Copy link
Contributor Author

@elena-zh thanks! Fixed

Copy link

@elena-zh elena-zh left a comment

Choose a reason for hiding this comment

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

Hey @shoom3301 , I'm approving the current PR. However, I found a list of new issues I faced for the updated AppData page, and reported them in #392. It would be great to fix them.

Copy link
Collaborator

@alfetopito alfetopito left a comment

Choose a reason for hiding this comment

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

👍

@shoom3301 shoom3301 merged commit 4fc9a3a into develop Mar 9, 2023
@nenadV91 nenadV91 mentioned this pull request Mar 21, 2023
@alfetopito alfetopito deleted the sdk-dogfooding-1 branch March 22, 2023 18:05
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants