0xMiden / 0xMiden/protocol

Support custom event handlers in `TransactionExecutor`

Open
#3,339 0 comments 1 reaction 0 assignees View on GitHub
rust
Dominant language
Rust
Stars
132
Forks
167
Avg merge
1d 23h
Merged PRs (30d)
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.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.