-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Various refactors and fixes #381
Conversation
The fixes can be separated into 2: - compilation errors (most of them were because the old `Account::new` became `Account::from_parts` and the addition of `OutputNote::Partial` which needed to be handled in some pattern matchings. - start storing the partial output notes (currently being discarded), this also came with small refactors.
test will fail on retry anyways since the genesis account stays is the same every time.
41aa14d
to
3680cef
Compare
3680cef
to
cd11167
Compare
…/miden-client into mFragaBA-next-0.4
d0122c6
to
7929130
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Left some minor questions, but overall looks good!
215f26a
to
e4a2565
Compare
src/client/chain_data.rs
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this was deleted in a previous commit. Do we need it again?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah yes, I had removed it in the other PR and accidentally re-added it here on the merge. Removed again!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! Tested locally and was able to install the cli and run txs as usual.
* feat: point to miden base's next and fix errors The fixes can be separated into 2: - compilation errors (most of them were because the old `Account::new` became `Account::from_parts` and the addition of `OutputNote::Partial` which needed to be handled in some pattern matchings. - start storing the partial output notes (currently being discarded), this also came with small refactors. * fix: filter out partial notes * fix: only store in scripts table if output note record has a script * fix: add new storage type to node config file from #365 * Update the `TransactionAuthenticator` imports * Remove duplicate `get_falcon_signature` * fix: update note script root hashes * Use `&mut rng` for note creation in transactions * Fix usage of new `InputNote` * fix: fix after rebase * cargo: point to node's next branch * Change node ref * test: avoid reruns on genesis cli tests test will fail on retry anyways since the genesis account stays is the same every time. * add looser sleep times to ensure blocks are included * test: add helper to wait until notes get committed/consumed * deps: point to miden-node's next branch and fix compilation errors * Test transaction ordering * make: remove dependency for node to avoid duplication on CI * Rollback node branch * fix: fix breaking change from base * fix: update swap note script root * Various refactors and simplifications * Lints * Lints * Re-add parameter * Reviews * Fixes * Test fix * Remove file again --------- Co-authored-by: Martin Fraga <[email protected]> Co-authored-by: tomyrd <[email protected]>
Most of these were done as part of #361 which was closed. I think we still want to keep them.