• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

cowprotocol / cow-sdk / #1470
74%

Build:
DEFAULT BRANCH: main
Ran 26 Mar 2025 05:04PM UTC
Jobs 1
Files 112
Run time 18min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

26 Mar 2025 05:01PM UTC coverage: 77.928% (+0.8%) from 77.15%
#1470

push

web-flow
feat(bridging): get quote + post cross-chain swap (#253)

* fix: fix issue debugging tests

* feat: implement get quote for trading sdk

* docs: add comments

* chore: use more specific imports

* feat: add support for single-chain swaps

* docs: improve docs

* feat: model bridge and swap quote types

* feat: enhance bridging quote details

* feat: implement post method

* fix: use relative imports

* docs: added some documentation to the costs

* feat: implement quote calculations and post order callback

* fix: fix apply BPS

* fix: fix test

* fix: fix error

* refactor: refactor the bridging

* chore: remove dangling expression

* chore: throw if the pct is not valid

* fix: fix types and tests

* chore: relax bridging SDK and remove factory

* chore: remove log

* fix: types

* chore: set version for breaking change

* docs: hint in the jsdoc about the type assertion of the return type

* chore: export weirol util

* chore: version

* chore: expose bridging SDK

* fix: fix compile error

* chore: version

* chore: re-export useful types from weiroll

* chore: re-export some weiroll types

* chore: version

* chore: version

* chore: improve types of weiroll

* chore: version

* refactor: relax constructor

* chore: bump version

* chore: make all params optional in across constructor

* chore: bump

* docs: improve docs

* chore: improve signature

* chore: improve signatures

* chore: pass the signer and chain to the SDK

* chore: bump

* chore: upgrade jest

* feat: add util to fix the issues serializing bigint

* tests: test bridging sdk

* tests: add tests to return the providers

* chore: rename ERC20_DECIMALS_ABI

* chore: apply nitpick

* fix: typo

* fix: nitpick

* fix: fix typo

Co-authored-by: Leandro <alfetopito@users.noreply.github.com>

* chore: move logs to common

* chore: add log entries

* chore: add logs to API

* chore: bump

* chore: improve logs

* chore: fix hex

* feature: expose enabling loging for SDK

* chore: bump

* ... (continued)

404 of 558 branches covered (72.4%)

Branch coverage included in aggregate %.

123 of 152 new or added lines in 22 files covered. (80.92%)

920 of 1141 relevant lines covered (80.63%)

17.84 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
90.91
-9.09% src/weiroll/index.ts
2
60.0
src/bridging/utils.ts
2
58.7
6.7% src/trading/tradingSdk.ts
3
77.42
src/bridging/BridgingSdk/BridgingSdk.ts
3
25.0
src/bridging/BridgingSdk/getErc20Decimals.ts
3
90.7
src/bridging/BridgingSdk/getQuoteWithBridging.ts
4
49.06
-7.04% src/bridging/providers/across/AcrossBridgeProvider.ts
4
40.0
40.0% src/bridging/providers/mock/MockBridgeProvider.ts
7
5.26
-0.29% src/bridging/providers/across/createAcrossDepositCall.ts
Jobs
ID Job ID Ran Files Coverage
1 #1470.1 26 Mar 2025 05:04PM UTC 112
77.93
Source Files on build #1470
  • Tree
  • List 112
  • Changed 21
  • Source Changed 0
  • Coverage Changed 21
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • 0f1ce968 on github
  • Prev Build on main
  • Next Build on main (#14089170306)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc