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

safe-global / safe-contracts / 6720367777 / 2
94%
main: 94%

Build:
DEFAULT BRANCH: main
Ran 01 Nov 2023 01:36PM UTC
Files 42
Run time 1s
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

01 Nov 2023 01:36PM UTC coverage: 94.282%. Remained the same
6720367777.2

push

github

web-flow
Mask Immutables in Local Verify Task (#691)

Fixes #689

The local verification task does not work correctly for contracts with
`immutable`s. This is because, `immutable` values get written when the
contract's init code executes on-chain, but uses `0` place holders in
the `deployedBytecode` compiler output.

This causes the code that is fetched from the deployed contract to
differ slightly from the compiler's byte code output (fetched code has
non-0 `immutable` values, while the compiler output has 0 `immutable`
values).

The fix is to mask the `immutable`s from the fetched code with 0's
before comparing.

With this fix, `local-verify` script now works for the
`SimulateTxAccessor` contract:

```
$ npx hardhat local-verify --network localhost
Verification status for CompatibilityFallbackHandler: SUCCESS
Verification status for CreateCall: SUCCESS
Verification status for MultiSend: SUCCESS
Verification status for MultiSendCallOnly: SUCCESS
Verification status for Safe: SUCCESS
Verification status for SafeL2: SUCCESS
Verification status for SafeProxyFactory: SUCCESS
Verification status for SignMessageLib: SUCCESS
Verification status for SimulateTxAccessor: SUCCESS
Verification status for TokenCallbackHandler: SUCCESS
```

246 of 276 branches covered (0.0%)

Branch coverage included in aggregate %.

397 of 406 relevant lines covered (97.78%)

47.37 hits per line

Source Files on job 6720367777.2
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 6720367777
  • fd05d211 on github
  • Prev Job for on main (#6705456434.1)
  • Next Job for on main (#6720462527.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