0xMiden / 0xMiden/protocol

Support custom event handlers in `TransactionExecutor`

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

Descrizione

https://github.com/0xMiden/protocol/pull/3320 implements fee collection by requiring that a feature note and its sponsorship notes are direct neighbors. We should relax this assumption and instead add an event with a custom handler to find all sponsorship notes whose feature note ID matches the current note's ID. This requires defining a custom event and a corresponding custom event handler in `StandardsLib` and adding it to `TransactionBaseHost::core_lib_handlers` (and renaming the field). This should happen via the higher level types that wrap it.

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.