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

safe-global / safe-client-gateway / 11852718203
89%
main: 89%

Build:
Build:
LAST BUILD BRANCH: fix/zerion-chain-mapping-in-positions
DEFAULT BRANCH: main
Ran 15 Nov 2024 08:22AM UTC
Jobs 2
Files 728
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

15 Nov 2024 08:20AM UTC coverage: 89.463% (+0.02%) from 89.44%
11852718203

Pull #2131

github

compojoom
fix: swagger factory type can’t be null

The factory address is being set as AddressInfo | null. I think that it
in practice it is impossible for the factory to be null.

If we look at the transaction mapping in
src/routes/transactions/entities/transfer-transaction-info.entity.ts

We can see that the factory is set to
await this.addressInfoHelper.getOrDefault(…). The getOrDefault function
always returns an Address. More, the mapTransaction sets the transaction
as a CreationTransaction type. If we look at the zod schema:
export const CreationTransactionSchema = z.object({
…
  factoryAddress: AddressSchema,
…
});

So the zod defintion to the CreationTransaction is also an address.

Because of this I’ve changed the tx type generated by Swagger to be
only AddressInfo.
Pull Request #2131: fix: swagger factory type can’t be null

2712 of 3376 branches covered (80.33%)

Branch coverage included in aggregate %.

1 of 1 new or added line in 1 file covered. (100.0%)

9098 of 9825 relevant lines covered (92.6%)

428.25 hits per line

Jobs
ID Job ID Ran Files Coverage
1 run-test:cov - 11852718203.1 15 Nov 2024 08:40AM UTC 0
89.82
GitHub Action Run
2 run-test:e2e:cov - 11852718203.2 15 Nov 2024 08:22AM UTC 0
50.72
GitHub Action Run
Source Files on build 11852718203
Detailed source file information is not available for this build.
  • Back to Repo
  • Github Actions Build #11852718203
  • Pull Request #2131
  • PR Base - main (#11840109963)
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