0xMiden / 0xMiden/node

Support Batch fee handling

オープン
#2,501 コメント 17 件 リアクション 0 件 担当者 1 名 @Mirko-von-Leipzig が担当を希望しています GitHub で見る
block-producer mempool
主要言語
Rust
スター
104
フォーク
138
平均マージ
1日 13時間
マージ済み PR(30日)
56

説明

We need the batch builder to process the transaction fees. This involves:
- define the accepted batch fee assets (this issue assumes just one asset, the native asset, as a starting point)
- filtering out tx's which don't carry a fee note at all (`TX_FEE`)
- ensure the fee asset carried is accepted by the builder
- ensure the fee amount covers the tx exec cost
- consume the fee note for itself (batch builder's own account)

For an immediate follow-up, we should extend the list of accepted assets to other assets, and define conversion mechanics.

For future follow-ups, once block kernel implements fee handling, we also need the batch builder to pay enough fees to the block builder to cover the costs of the batch. For now though, the batch builder will just consume all the fees into its own account and not pass them on further.

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。