Closed jmealy closed 1 month ago
β Deploy successful!
Storybook: https://feat_swap_surplus--walletweb.review.5afe.dev/storybook/
Annotations are provided inline on the Files Changed tab. You can also see all annotations that were generated on the annotations page.
Type | Occurrences | Fixable |
---|---|---|
Errors | 0 | 0 |
Warnings | 0 | 0 |
Ignored | 0 | N/A |
Report generated by eslint-plus-action
This analysis was generated by the Next.js Bundle Analysis action. π€
Page | Size (compressed) |
---|---|
global |
950.49Β KB (π‘ +145Β B) |
The global bundle is the javascript bundle that loads alongside every page. It is in its own category because its impact is much higher - an increase to its size means that every page on your website loads slower, and a decrease means every page loads faster.
Any third party scripts you have added directly to your app using the <script>
tag are not accounted for in this analysis
If you want further insight into what is behind the changes, give @next/bundle-analyzer a try!
St.:grey_question: |
Category | Percentage | Covered / Total |
---|---|---|---|
π‘ | Statements | 79.47% (-0.02% π») |
11314/14237 |
π΄ | Branches | 58.37% (-0.21% π») |
2703/4631 |
π‘ | Functions | 66.59% (-0.18% π») |
1822/2736 |
π’ | Lines | 80.85% (+0.02% πΌ) |
10206/12623 |
1442 tests passing in 197 suites.
Report generated by π§ͺjest coverage report action from 0740e3887982df681359fd96f121e4c1a35dfe37
@francovenica or @liliya-soroka it can be a bit tricky to get a partially filled order on sepolia. The easiest way to do it in my opinion is to make a limit order for an amount higher than what you have in the safe. Then when the first part gets filled, you can fund the safe and would get a second fill order.
LGTM
First I forced an order to fill partially by swapping more tokens than I had and it worked fine, the surpluss in cowSwap and the tx details in safe were the same Then I transfer to the safe more of that tokens to make the order fill completely. After that I've checked that the tx updated the surplus in the safe tx details as it was updated in cowswap. Snapshots and links to the tx: https://feat_swap_surplus--walletweb.review.5afe.dev/transactions/tx?safe=sep:0x8f4A19C85b39032A37f7a6dCc65234f966F72551&id=multisig_0x8f4A19C85b39032A37f7a6dCc65234f966F72551_0x9399daa69f6c03036021e25e6dd6e2a139a7e5cf65e4b610eea2291e967d85e4
Partially filled:
Fully filled and updated:
What it solves
Resolves: https://www.notion.so/safe-global/Better-Surplus-calculation-2e3bf20feeed46938c6efa6728c5ea94?pvs=4
How this PR fixes it
How to test it
Screenshots
Checklist