Skip to content

Commit 69de949

Browse files
committed
feat: remove isTxsEnabled
1 parent a4b6a6e commit 69de949

File tree

26 files changed

+349
-896
lines changed

26 files changed

+349
-896
lines changed

docs/docs-developers/docs/foundational-topics/ethereum-aztec-messaging/inbox.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@ Sends a message from L1 to L2.
2828
- Will revert with `Inbox__VersionMismatch(uint256 expected, uint256 actual)` if the recipient version doesn't match the inbox version.
2929
- Will revert with `Inbox__ContentTooLarge(bytes32 content)` if the content is larger than the field size (~254 bits).
3030
- Will revert with `Inbox__SecretHashTooLarge(bytes32 secretHash)` if the secret hash is larger than the field size (~254 bits).
31-
- Will revert with `Inbox__Ignition()` during the ignition phase (when the rollup's mana target is 0).
3231

3332
## View functions
3433

l1-contracts/gas_benchmark.md

Lines changed: 15 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -1,58 +1,34 @@
11
# Gas Benchmark Report
22

3-
## IGNITION
4-
5-
### Configuration
6-
7-
| Parameter | Value |
8-
|-----------------------|-------|
9-
| Slot Duration | 192 |
10-
| Epoch Duration | 48 |
11-
| Target Committee Size | 24 |
12-
| Mana Target | 0 |
13-
| Proofs per Epoch | 2.00 |
14-
15-
### No Validators (IGNITION)
16-
17-
*No gas data available*
18-
19-
### Validators (IGNITION)
20-
21-
*No gas data available*
22-
23-
24-
## Alpha
25-
26-
### Configuration
3+
## Configuration
274

285
| Parameter | Value |
296
|-----------------------|-------------|
30-
| Slot Duration | 36 |
7+
| Slot Duration | 72 |
318
| Epoch Duration | 32 |
329
| Target Committee Size | 48 |
3310
| Mana Target | 100,000,000 |
3411
| Proofs per Epoch | 2.00 |
3512

36-
### No Validators (Alpha)
13+
## No Validators
3714

3815
| Function | Avg Gas | Max Gas | Calldata Size | Calldata Gas |
3916
|----------------------|---------|---------|---------------|--------------|
40-
| propose | 196,032 | 222,246 | 932 | 14,912 |
41-
| submitEpochRootProof | 699,535 | 745,418 | 2,820 | 45,120 |
42-
| setupEpoch | 31,976 | 113,771 | - | - |
17+
| propose | 195,201 | 221,411 | 932 | 14,912 |
18+
| submitEpochRootProof | 698,954 | 744,754 | 2,820 | 45,120 |
19+
| setupEpoch | 32,010 | 113,661 | - | - |
4320

44-
**Avg Gas Cost per Second**: 6,687.6 gas/second
45-
*Epoch duration*: 0h 19m 12s
21+
**Avg Gas Cost per Second**: 3,331.7 gas/second
22+
*Epoch duration*: 0h 38m 24s
4623

47-
### Validators (Alpha)
24+
## Validators
4825

4926
| Function | Avg Gas | Max Gas | Calldata Size | Calldata Gas |
5027
|----------------------|---------|---------|---------------|--------------|
51-
| propose | 323,903 | 351,075 | 4,452 | 71,232 |
52-
| submitEpochRootProof | 898,088 | 944,045 | 5,316 | 85,056 |
53-
| aggregate3 | 372,575 | 385,916 | - | - |
54-
| setupEpoch | 46,437 | 547,604 | - | - |
55-
56-
**Avg Gas Cost per Second**: 10,596.8 gas/second
57-
*Epoch duration*: 0h 19m 12s
28+
| propose | 322,945 | 350,085 | 4,452 | 71,232 |
29+
| submitEpochRootProof | 897,128 | 942,932 | 5,316 | 85,056 |
30+
| aggregate3 | 371,446 | 384,876 | - | - |
31+
| setupEpoch | 46,471 | 547,494 | - | - |
5832

33+
**Avg Gas Cost per Second**: 5,284.3 gas/second
34+
*Epoch duration*: 0h 38m 24s
Lines changed: 58 additions & 64 deletions
Original file line numberDiff line numberDiff line change
@@ -1,69 +1,63 @@
11
{
2-
"ignition": {
3-
"no_validators": {},
4-
"validators": {}
2+
"no_validators": {
3+
"propose": {
4+
"calls": 150,
5+
"min": 181595,
6+
"mean": 195201,
7+
"median": 190979,
8+
"max": 221411,
9+
"calldata_size": 932,
10+
"calldata_gas": 14912
11+
},
12+
"setupEpoch": {
13+
"calls": 150,
14+
"min": 29281,
15+
"mean": 32010,
16+
"median": 29281,
17+
"max": 113661
18+
},
19+
"submitEpochRootProof": {
20+
"calls": 4,
21+
"min": 677906,
22+
"mean": 698954,
23+
"median": 686579,
24+
"max": 744754,
25+
"calldata_size": 2820,
26+
"calldata_gas": 45120
27+
}
528
},
6-
"alpha": {
7-
"no_validators": {
8-
"propose": {
9-
"calls": 150,
10-
"min": 182418,
11-
"mean": 196032,
12-
"median": 191802,
13-
"max": 222246,
14-
"calldata_size": 932,
15-
"calldata_gas": 14912
16-
},
17-
"setupEpoch": {
18-
"calls": 150,
19-
"min": 29242,
20-
"mean": 31976,
21-
"median": 29242,
22-
"max": 113771
23-
},
24-
"submitEpochRootProof": {
25-
"calls": 4,
26-
"min": 678368,
27-
"mean": 699535,
28-
"median": 687177,
29-
"max": 745418,
30-
"calldata_size": 2820,
31-
"calldata_gas": 45120
32-
}
29+
"validators": {
30+
"propose": {
31+
"calls": 150,
32+
"min": 300568,
33+
"mean": 322945,
34+
"median": 322454,
35+
"max": 350085,
36+
"calldata_size": 4452,
37+
"calldata_gas": 71232
38+
},
39+
"setupEpoch": {
40+
"calls": 150,
41+
"min": 29281,
42+
"mean": 46471,
43+
"median": 29281,
44+
"max": 547494
45+
},
46+
"submitEpochRootProof": {
47+
"calls": 4,
48+
"min": 876090,
49+
"mean": 897128,
50+
"median": 884745,
51+
"max": 942932,
52+
"calldata_size": 5316,
53+
"calldata_gas": 85056
3354
},
34-
"validators": {
35-
"propose": {
36-
"calls": 150,
37-
"min": 301438,
38-
"mean": 323903,
39-
"median": 323420,
40-
"max": 351075,
41-
"calldata_size": 4452,
42-
"calldata_gas": 71232
43-
},
44-
"setupEpoch": {
45-
"calls": 150,
46-
"min": 29242,
47-
"mean": 46437,
48-
"median": 29242,
49-
"max": 547604
50-
},
51-
"submitEpochRootProof": {
52-
"calls": 4,
53-
"min": 876917,
54-
"mean": 898088,
55-
"median": 885696,
56-
"max": 944045,
57-
"calldata_size": 5316,
58-
"calldata_gas": 85056
59-
},
60-
"aggregate3": {
61-
"calls": 55,
62-
"min": 361456,
63-
"mean": 372575,
64-
"median": 372251,
65-
"max": 385916
66-
}
55+
"aggregate3": {
56+
"calls": 55,
57+
"min": 360343,
58+
"mean": 371446,
59+
"median": 371210,
60+
"max": 384876
6761
}
6862
}
69-
}
63+
}

0 commit comments

Comments
 (0)