-
Notifications
You must be signed in to change notification settings - Fork 58
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
wallet-core: Add functionality to create transaction #2135
Conversation
ac185e0
to
242cf56
Compare
4f490f1
to
e45e0a7
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.
One suggestion and tests for transactions would be nice, an example of sending a ping/pong tx to the node in the examples folder also will be helpful otherwise LGTM, once the change we discussed is done I'll approve
e45e0a7
to
daf8a08
Compare
daf8a08
to
cd65045
Compare
cd65045
to
fde6e09
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.
Apart from some nit, I would like to keep the prover trait
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.
A couple of things to change, but LGTM
e0f54bd
to
673a8eb
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.
LGTM
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 there is only a left over on the display of the error, I believe (check my comment)
673a8eb
to
24da333
Compare
LGTM |
This behaviour was lost with the merge of PR #2135
This behaviour was lost with the merge of PR #2135
To be able to create transactions the rusk-prover needed to be updated as well.
The
rusk-prover::Prover
trait is replaced by theexecution_core::transfer::phoenix::Prove
trait.With this change, the
rusk-prover
library now only holds theLocalProver
implementation of theProve
trait and the feature structure was drastically simplified.Additionally I took the liberty to also adjust the names of the cached
TxCircuit
circuit-profile, prover and verifier in order for them to better match their actual circuit`s name.The rusk http prover request also changed from
"prove_execute"
to"prove_tx_circuit"
.Resolves #2128