0xMiden / 0xMiden/protocol

Transaction events: Rust batch and block kernel integration

Aperta
#3,832 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Rust
Stelle
132
Fork
167
Merge medio
1g 23h
PR unite (30g)
110

Descrizione

Part of #3803. Depends on transaction event integration.

Preserve and validate event payloads throughout the Rust batch and block kernels.

Scope:
- Include full event records alongside transaction headers in the Rust data types, construction logic, serialization, and proving interfaces used by the batch and block kernels.
- Validate that each transaction's event records match its event commitment. Reject missing or unexpected event collections and duplicate associations with a transaction.
- Preserve transaction associations and emission order so that block bodies contain the event data required for historical retrieval.
- Define and enforce aggregate event data limits in Rust.
- Verify that the updated transaction IDs bind events through the existing batch and block transaction commitments, without a separate event root.

Tests should cover serialization and deserialization, payload preservation, invalid transaction associations, commitment mismatches, and aggregate size limits.

This issue covers Rust only. Batch and block kernel MASM, recursive verification changes, node storage and query APIs, and SDK integration are outside its scope.

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.