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

safe-global / safe-client-gateway / 8141339602 / 1
89%
main: 89%

Build:
DEFAULT BRANCH: main
Ran 04 Mar 2024 01:57PM UTC
Files 982
Run time 21s
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: 51.857% (+0.03%) from 51.825%
8141339602.1

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.

242 of 1986 branches covered (12.19%)

Branch coverage included in aggregate %.

6908 of 11802 relevant lines covered (58.53%)

4.43 hits per line

Source Files on job run-test:e2e:cov - 8141339602.1
  • Tree
  • List 982
  • Changed 5
  • Source Changed 5
  • Coverage Changed 138
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 8141339602
  • aacbf805 on github
  • Prev Job for on main (#8141294235.2)
  • Next Job for on main (#8141371798.1)
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