Commit 81f5120
fix: use non-empty block in benchmarking to include outhash (#15715)
## What
Benchmarks now use non‑empty blocks with non‑zero outHashes.
## Why
Storing outHash == 0 costs only 2100 gas, while "real" (non‑zero) hashes
cost 22100 gas (I assume that in mainnet we will always have at least
one outbox message per L2 block). Our previous gas measurement was
therefore off by ~20 k gas per block.
## Testing
Before:
```
| propose | 390446 | 401059 | 400462 | 416897 | 100 |
```
After:
```
| propose | 411330 | 421890 | 421316 | 437781 | 100 |
```
Co-authored-by: Maddiaa <[email protected]>1 parent 5059646 commit 81f5120
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
124 | 124 | | |
125 | 125 | | |
126 | 126 | | |
127 | | - | |
| 127 | + | |
128 | 128 | | |
129 | 129 | | |
130 | 130 | | |
| |||
0 commit comments