Skip to content

Commit

Permalink
fix mdbook test
Browse files Browse the repository at this point in the history
  • Loading branch information
nbaztec committed Sep 9, 2024
1 parent b45180c commit d232ef3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/zksync-specifics/limitations/compilation.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@ contract FooTest is Test {

`zksolc` currently limits the number of instructions to 2^16 that are compiled for a contract. As such for large contracts, the compilation will fail with the error:

```
```bash
Error: assembly-to-bytecode conversion: assembly parse error Label DEFAULT_UNWIND was tried to be used
for either PC or constant at offset 65947 that is more than `65535` addressable space
for either PC or constant at offset 65947 that is more than 65535 addressable space
```

As an attempt the same contract can be compiled with `--zk-force-evmla=true`, but if it doesn't help then the contract must be split into smaller units.

0 comments on commit d232ef3

Please sign in to comment.