0xMiden / 0xMiden/protocol

Reversable account deltas

オープン
#1,499 コメント 3 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
Rust
スター
132
フォーク
167
平均マージ
1日 23時間
マージ済み PR(30日)
110

説明

### Feature description

Is it possible to apply an account delta in reverse?

### Why is this feature needed?

I want to rollback a transaction and therefore want to reverse its account delta.

The current implementation is to keep the original `Account` + a series of uncommitted account deltas to apply on top of it. I would much rather have the latest `Account` state and be able to apply deltas in reverse since rolling back a transaction is less likely to occur.

Something to account for is that rolling back a transaction could result in an empty/deleted account and I'm unsure if this is even possible know from just the delta reversal?

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

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

評価

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

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

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