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

safe-global / safe-smart-account / 15586606165
94%

Build:
DEFAULT BRANCH: main
Ran 11 Jun 2025 01:46PM UTC
Jobs 2
Files 43
Run time 76min
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

11 Jun 2025 01:44PM UTC coverage: 93.915%. Remained the same
15586606165

push

github

web-flow
ZKSync Package Update (#985)

This pull request includes updates to dependencies in `package.json` and
refactors multiple test files to improve code readability and ensure
proper handling of asynchronous operations. The most important changes
involve upgrading dependencies, adding `.then(tx => tx.wait(1))` for
transaction handling, and simplifying assertions in test cases.

### Dependency Updates:
*
[`package.json`](diffhunk://#diff-7ae45ad106470d7bc6507b6481575d519L65-R67):
Upgraded versions of `@matterlabs/hardhat-zksync-node`,
`@matterlabs/hardhat-zksync-solc`, and
`@matterlabs/hardhat-zksync-verify` to ensure compatibility with the
latest features and bug fixes.

### Test Refactoring:
#### Transaction Handling:
*
[`test/core/Safe.Setup.spec.ts`](diffhunk://#diff-3a0450acfb748d05bbea12c3aee337eb3L365-R371):
Added `.then(tx => tx.wait(1))` to transaction calls like
`template.setup` for proper handling of asynchronous operations.
*
[`test/factory/ProxyFactory.spec.ts`](diffhunk://#diff-<a class=hub.com/safe-global/safe-smart-account/commit/<a class="double-link" href="https://git"><a class=hub.com/safe-global/safe-smart-account/commit/15ca4038d34d698512d5f3504c572695a5094d5d">15ca4038d647fd3b3b2e2503d50de4230L302-R302):
Refactored `createChainSpecificProxyWithNonce` and
`createChainSpecificProxyWithNonceL2` calls to include `.then(tx =>
tx.wait(1))`.
[[1]](diffhunk://#diff-15ca4038d34d698512d5f3504c572695a5094d5d647fd3b3b2e2503d50de4230L302-R302)
[[2]](diffhunk://#diff-15ca4038d34d698512d5f3504c572695a5094d5d647fd3b3b2e2503d50de4230L413-R413)
*
[`test/integration/Safe.0xExploit.spec.ts`](diffhunk://#diff-<a class=hub.com/safe-global/safe-smart-account/commit/<a class="double-link" href="https://git"><a class=hub.com/safe-global/safe-smart-account/commit/54d6c48032249262740b581863a899b6f42852b2">54d6c480321b3aef0bb88bae4e7a286dcL84-R87):
Updated transaction calls such as `safe.execTransaction` and
`user1.sendTransaction` to include `.then(tx => tx.wait(1))`.
[[1]](diffhunk://#diff-54d6c48032249262740b581863a899b6f42852b221b3aef0bb88bae4e7a286dcL84-R87)
[[2]](diffhunk://#diff-54d6c48032249262740b581863a899b6f42852b221b3aef0bb88bae4e7a286dcL119-R123)

#### Simplified Assertions:
*
[`test/integration/Safe.0xExplo... (continued)

327 of 368 branches covered (88.86%)

Branch coverage included in aggregate %.

491 of 503 relevant lines covered (97.61%)

104.17 hits per line

Jobs
ID Job ID Ran Files Coverage
1 run-Safe - 15586606165.1 11 Jun 2025 01:46PM UTC 43
93.34
GitHub Action Run
2 run-SafeL2 - 15586606165.2 11 Jun 2025 01:46PM UTC 43
93.92
GitHub Action Run
Source Files on build 15586606165
  • Tree
  • List 43
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #15586606165
  • 8ce4fc75 on github
  • Prev Build on main (#15560263085)
  • Next Build on main (#15634602213)
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