Skip to content

Commit

Permalink
test-wallet: renamed contract execution
Browse files Browse the repository at this point in the history
  • Loading branch information
miloszm committed Jul 17, 2024
1 parent c3a2dc5 commit 0ecc2be
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions test-wallet/src/imp.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ use alloc::vec::Vec;
use dusk_bytes::Error as BytesError;
use execution_core::{
stake::{Stake, Unstake, Withdraw},
transfer::{CallOrDeploy, ContractCall, Fee, Payload, Transaction},
transfer::{ContractCall, ContractExec, Fee, Payload, Transaction},
BlsPublicKey as StakePublicKey, BlsScalar, JubJubScalar, Note,
PhoenixError, PublicKey, SchnorrSecretKey, SecretKey, TxSkeleton, ViewKey,
OUTPUT_NOTES,
Expand Down Expand Up @@ -343,7 +343,7 @@ where
pub fn execute<Rng>(
&self,
rng: &mut Rng,
call_or_deploy: CallOrDeploy,
call_or_deploy: ContractExec,
sender_index: u64,
gas_limit: u64,
gas_price: u64,
Expand Down Expand Up @@ -505,7 +505,7 @@ where
outputs,
fee,
value,
Some(CallOrDeploy::Call(contract_call)),
Some(ContractExec::Call(contract_call)),
)
.map_err(Error::from_state_err)?;

Expand Down Expand Up @@ -589,7 +589,7 @@ where
outputs,
fee,
deposit,
Some(CallOrDeploy::Call(call)),
Some(ContractExec::Call(call)),
)
.map_err(Error::from_state_err)?;

Expand Down Expand Up @@ -674,7 +674,7 @@ where
outputs,
fee,
deposit,
Some(CallOrDeploy::Call(call)),
Some(ContractExec::Call(call)),
)
.map_err(Error::from_state_err)?;

Expand Down Expand Up @@ -740,7 +740,7 @@ fn new_unproven_tx<Rng: RngCore + CryptoRng, SC: StateClient>(
outputs: [(Note, u64, JubJubScalar, [JubJubScalar; 2]); OUTPUT_NOTES],
fee: Fee,
deposit: u64,
call_or_deploy: Option<CallOrDeploy>,
call_or_deploy: Option<ContractExec>,
) -> Result<UnprovenTransaction, SC::Error> {
let nullifiers: Vec<BlsScalar> = inputs
.iter()
Expand Down

0 comments on commit 0ecc2be

Please sign in to comment.