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

safe-global / safe-contracts / 6720367777
94%

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

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%)

56.29 hits per line

Jobs
ID Job ID Ran Files Coverage
1 6720367777.1 01 Nov 2023 01:36PM UTC 0
94.28
GitHub Action Run
2 6720367777.2 01 Nov 2023 01:36PM UTC 0
94.28
GitHub Action Run
Source Files on build 6720367777
Detailed source file information is not available for this build.
  • Back to Repo
  • fd05d211 on github
  • Prev Build on main (#6705456434)
  • Next Build on main (#6720462527)
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