You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
chore!: l2 gas maximum is per-TX-public-portion. AVM startup gas is now 20k. (#10214)
Resolves#10030
Bump of AVM startup gas to 20k is mostly arbitrary, but considering some
individual opcodes cost more than its previous value of 512, it
certainly needed to be much higher. I thought 20k is at least _more_
reasonable to account for the constraint cost of verifying an AVM proof.
The l2 gas maximum per-tx-public-portion ensures that there is some hard
limit on execution per AVM proof. For now, we use that limit to ensure
that you cannot overflow the AVM trace.
---------
Co-authored-by: IlyasRidhuan <ilyasridhuan@gmail.com>
Copy file name to clipboardexpand all lines: docs/docs/migration_notes.md
+4
Original file line number
Diff line number
Diff line change
@@ -44,6 +44,10 @@ Further changes are planned, so that:
44
44
45
45
## 0.66
46
46
47
+
### L2 Gas limit of 12M enforced for public portion of TX
48
+
49
+
This limit was previously enforced per-enqueued-public-call. The protocol now enforces a stricter limit that the entire public portion of a transaction consumes at most 12,000,000 L2 gas.
50
+
47
51
### DEBUG env var is removed
48
52
49
53
The `DEBUG` variable is no longer used. Use `LOG_LEVEL` with one of `silent`, `fatal`, `error`, `warn`, `info`, `verbose`, `debug`, or `trace`. To tweak log levels per module, add a list of module prefixes with their overridden level. For example, LOG_LEVEL="info; verbose: aztec:sequencer, aztec:archiver; debug: aztec:kv-store" sets `info` as the default log level, `verbose` for the sequencer and archiver, and `debug` for the kv-store. Module name match is done by prefix.
0 commit comments