Skip to content

Commit

Permalink
latest changes
Browse files Browse the repository at this point in the history
  • Loading branch information
moCello committed Aug 23, 2024
1 parent 649ba23 commit e45e0a7
Show file tree
Hide file tree
Showing 5 changed files with 452 additions and 280 deletions.
1 change: 0 additions & 1 deletion rusk/tests/common/wallet.rs
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,6 @@ impl wallet::ProverClient for TestProverClient {
type Error = Error;
/// Requests that a node prove the given transaction and later propagates it
fn compute_proof_and_propagate(
&self,
utx: &PhoenixTransaction,
) -> Result<Transaction, Self::Error> {
let circuit_bytes = &utx.proof()[..];
Expand Down
4 changes: 2 additions & 2 deletions rusk/tests/services/stake.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ use rand::rngs::StdRng;
use rusk::{Result, Rusk};
use std::collections::HashMap;
use tempfile::tempdir;
use test_wallet::{self as wallet, Store};
use test_wallet::{self as wallet};
use tracing::info;

use crate::common::state::{generator_procedure, new_state};
Expand Down Expand Up @@ -194,7 +194,7 @@ fn wallet_reward(
) {
let mut rng = StdRng::seed_from_u64(0xdead);

let stake_sk = wallet.store().fetch_account_secret_key(2).unwrap();
let stake_sk = wallet.account_secret_key(2).unwrap();
let stake_pk = BlsPublicKey::from(&stake_sk);
let reward_calldata = (stake_pk, 6u32);

Expand Down
Loading

0 comments on commit e45e0a7

Please sign in to comment.