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

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

Build:
DEFAULT BRANCH: main
Ran 04 Mar 2024 01:55PM UTC
Jobs 2
Files 579
Run time 1min
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

04 Mar 2024 01:54PM UTC coverage: 93.214% (+0.06%) from 93.154%
8141339602

push

github

web-flow
Validate `RelayDto` using `zod` (#1203)

This migrates the validation of `RelayDto` as an initial stage of replacing `ajv` with `zod:

- `to`, the string is checked for validity (is an Ethereum address) and coerced to be checksummed.
- `data`, the string is checked for validity (is hexadecimal).
- `version`, the string is checked for validity (is SemVer).
- `gasLimit`, the string is checked for validity (either `undefined` or a numerical string) and coerced to `null` or `BigInt`.

Using the `RelayDtoSchema`, the `RelayDto` types are automatically inferred with the aforementioned coerctions by using `zod`'s `z.infer` utility type.

1690 of 2019 branches covered (83.7%)

Branch coverage included in aggregate %.

39 of 39 new or added lines in 9 files covered. (100.0%)

6277 of 6528 relevant lines covered (96.16%)

345.59 hits per line

Jobs
ID Job ID Ran Files Coverage
1 run-test:e2e:cov - 8141339602.1 04 Mar 2024 01:55PM UTC 982
51.86
GitHub Action Run
2 run-test:cov - 8141339602.2 04 Mar 2024 01:57PM UTC 1147
93.31
GitHub Action Run
Source Files on build 8141339602
  • Tree
  • List 579
  • Changed 63
  • Source Changed 5
  • Coverage Changed 150
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #8141339602
  • aacbf805 on github
  • Prev Build on main (#8141294235)
  • Next Build on main (#8141371798)
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