snarkVM icon indicating copy to clipboard operation
snarkVM copied to clipboard

[Update] Package Deployment

Open ilitteri opened this issue 2 years ago • 0 comments

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 the DeploymentRequest.
  • 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

ilitteri avatar Oct 04 '22 19:10 ilitteri