Skip to content

Commit 23bf95f

Browse files
Revert "docs: aggregation mode (#1964)"
This reverts commit 8a3a644.
1 parent 69862f3 commit 23bf95f

4 files changed

Lines changed: 0 additions & 327 deletions

File tree

aggregation_mode/src/backend/mod.rs

Lines changed: 0 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -187,32 +187,6 @@ impl ProofAggregator {
187187
.map_err(AggregatedProofSubmissionError::ReceiptError)
188188
}
189189

190-
/// ### Blob capacity
191-
///
192-
/// As dictated in [EIP-4844](https://eips.ethereum.org/EIPS/eip-4844), each blob can hold:
193-
///
194-
/// - `FIELD_ELEMENTS_PER_BLOB = 4096`
195-
/// - `BYTES_PER_FIELD_ELEMENT = 32`
196-
///
197-
/// This gives a total theoretical capacity of:
198-
///
199-
/// `FIELD_ELEMENTS_PER_BLOB * BYTES_PER_FIELD_ELEMENT = 4096 * 32 = 131072 bytes`
200-
///
201-
/// However, this full capacity isn't usable due to the encoding of KZG commitments to elliptic curve points.
202-
/// Specifically:
203-
///
204-
/// - Ethereum uses the BLS12-381 curve, whose scalar field modulus is slightly less than `2^256`
205-
/// (closer to `2^255`).
206-
/// - Therefore, 32-byte field elements can't represent all 256-bit values.
207-
/// - To ensure values are within the field modulus, we **pad with a leading `0x00` byte**,
208-
/// effectively capping values below the modulus.
209-
/// - This reduces the usable payload to **31 bytes per field element**.
210-
///
211-
/// So, the _actual usable capacity_ per blob is:
212-
///
213-
/// `4096 * 31 = 126976 bytes`
214-
///
215-
/// Meaning that we can send as much as 126976 / 32 = 3968 proofs per blob
216190
async fn construct_blob(
217191
&self,
218192
leaves: Vec<[u8; 32]>,

docs/2_architecture/agg_mode_components/1_deep_dive.md

Lines changed: 0 additions & 91 deletions
This file was deleted.

docs/3_guides/3.1_aggregation_mode.md

Lines changed: 0 additions & 208 deletions
This file was deleted.

docs/SUMMARY.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,15 +20,13 @@
2020
* [Aggregator](./2_architecture/components/5_aggregator.md)
2121
* [Explorer](./2_architecture/components/6_explorer.md)
2222
* [Aggregation mode](2_architecture/2_aggregation_mode.md)
23-
* [Deep Dive](2_architecture/agg_mode_components/1_deep_dive.md)
2423

2524
## Guides
2625

2726
* [Submitting proofs](3_guides/0_submitting_proofs.md)
2827
* [Build your first Aligned Application](3_guides/2_build_your_first_aligned_application.md)
2928
* [Modify ZkQuiz Questions](3_guides/2.2_modify_zkquiz_questions.md)
3029
* [Validating public input](3_guides/3_validating_public_input.md)
31-
* [Aggregation Mode](3_guides/3.1_aggregation_mode.md)
3230
* [SDK Intro](3_guides/1_SDK_how_to.md)
3331
* [SDK API Reference](3_guides/1.2_SDK_api_reference.md)
3432
* [Generating proofs for Aligned](3_guides/4_generating_proofs.md)

0 commit comments

Comments
 (0)