0xMiden / 0xMiden/protocol

Support custom event handlers in `TransactionExecutor`

Ouverte
#3,339 0 commentaires 1 réaction 0 personnes assignées Voir sur GitHub
rust
Langage dominant
Rust
Étoiles
132
Forks
167
Merge moyen
1 j 23 h
PR mergées (30 j)
110

Description

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.

Guide de contribution

Ouvrir le guide de contribution

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.