snarkVM
snarkVM copied to clipboard
[Update] Package Deployment
Motivation
-
DeploymentRequest
should contain a deployment transaction instead of a deployment because the client should be responsible for executing the transaction that involves the additional fee execution and then broadcast it. -
DeploymentResponse
should contain the same deployment transaction that was sent in theDeploymentRequest
. - In order to execute the deployment transaction the client must provide the private key and an unspent record.
In another iteration, this function should be responsible only for executing the transaction and sending it to the Aleo CLI for it to broadcast it.
Test Plan
The tests were updated.
Related PRs/Issues
- https://github.com/AleoHQ/aleo/issues/364