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

safe-global / safe-client-gateway / 13692665302
89%

Build:
DEFAULT BRANCH: main
Ran 06 Mar 2025 06:35AM UTC
Jobs 1
Files 821
Run time 2min
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

06 Mar 2025 06:30AM UTC coverage: 90.425% (-0.03%) from 90.452%
13692665302

push

github

web-flow
refactor: create `SafeSignature` entity (#2422)

For every confirmation refined, we reference the owner and type of a signature. This is the same for transactions and messages.

This moves shared logic into a new `SafeSignature` entity, [taking inspiration from `safe-eth-py`](https://github.com/safe-global/safe-eth-py/blob/main/safe_eth/safe/safe_signature.py).

It takes the `hash` signed and `signature`, and exposes the `r`, `s`, `v`, `signatureType` and `owner` properties of them:

- Remove existing signature helpers
- Create `SafeSignature` entity
- Use entity in place for transaction/message verification
- Add/update test coverage accordingly

3124 of 3781 branches covered (82.62%)

Branch coverage included in aggregate %.

80 of 85 new or added lines in 7 files covered. (94.12%)

2 existing lines in 2 files now uncovered.

10664 of 11467 relevant lines covered (93.0%)

507.33 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
63.04
-2.07% src/domain/messages/helpers/message-verifier.helper.ts
2
94.92
src/domain/common/entities/safe-signature.ts
2
87.65
0.0% src/domain/safe/safe.repository.ts

Uncovered Existing Lines

Lines Coverage ∆ File
1
91.95
-1.34% src/routes/notifications/v1/notifications.controller.ts
1
96.5
-0.9% src/routes/transactions/helpers/transaction-verifier.helper.ts
Jobs
ID Job ID Ran Files Coverage
1 run-test:cov - 13692665302.1 06 Mar 2025 06:35AM UTC 1641
91.49
GitHub Action Run
Source Files on build 13692665302
  • Tree
  • List 821
  • Changed 225
  • Source Changed 6
  • Coverage Changed 224
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #13692665302
  • 8ac3f8bc on github
  • Prev Build on main (#13677318924)
  • Next Build on main (#13695508253)
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

© 2025 Coveralls, Inc