feat: compute account delta commitment before fee#1705
feat: compute account delta commitment before fee#1705PhilippGackstatter merged 13 commits intonextfrom
Conversation
4cf3725 to
1d0ec9d
Compare
|
(Force-pushed to rebase after merging the base PR). |
|
As mentioned in #1698, in a follow-up PR, I would add caching to That should be true, except we're also calling |
mmagician
left a comment
There was a problem hiding this comment.
The code looks good - that said, I'm not entirely convinced about the approach, specifically offloading the delta manipulations to the host. It does break some assumptions, like the kernel no longer outputs the true commitment?
I've suggested another approach in #1688 (comment). I'm not yet sure whether that proposed approach would even work, and if it would, if it'd be better, as I'm definitely less familiar with the internals of the kernel.
|
Merged in latest next and resolved conflicts, so this should be ready for another review. |
bobbinth
left a comment
There was a problem hiding this comment.
Looks good! Thank you! I left some more comments inline.
Computes the account delta commitment before the fee, following the motivation from #1698 and builds on top of that PR.
Also updates the bench-tx, but I haven't looked into which changes went into this since last time.
part of #1688