Skip to content

Commit

Permalink
test-wallet: Adapt to new wallet-core
Browse files Browse the repository at this point in the history
Co-authored-by: Daksh <[email protected]>
  • Loading branch information
moCello and Daksh14 committed Sep 10, 2024
1 parent 52768d1 commit 208d911
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 148 deletions.
6 changes: 4 additions & 2 deletions rusk-wallet/src/wallet.rs
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,15 @@ use std::fs;
use std::path::{Path, PathBuf};

use wallet_core::{
moonlight::{moonlight, moonlight_stake, moonlight_unstake},
phoenix::{phoenix, phoenix_stake, phoenix_stake_reward, phoenix_unstake},
phoenix_balance,
prelude::keys::{
derive_bls_pk, derive_bls_sk, derive_phoenix_pk, derive_phoenix_sk,
derive_phoenix_vk,
},
transaction::{
moonlight, moonlight_stake, moonlight_unstake, phoenix, phoenix_stake,
phoenix_stake_reward, phoenix_unstake,
},
BalanceInfo,
};

Expand Down
3 changes: 1 addition & 2 deletions wallet-core/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,8 @@ extern crate alloc;
mod ffi;

pub mod keys;
pub mod moonlight;
pub mod notes;
pub mod phoenix;
pub mod transaction;

/// The seed used to generate the entropy for the keys
pub type Seed = [u8; 64];
Expand Down
142 changes: 0 additions & 142 deletions wallet-core/src/moonlight.rs

This file was deleted.

2 changes: 0 additions & 2 deletions wallet-core/src/phoenix.rs → wallet-core/src/transaction.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@
//! Implementations of basic wallet functionalities to create phoenix
//! transactions.
#![allow(clippy::module_name_repetitions)]

use alloc::vec::Vec;

use rand::{CryptoRng, RngCore};
Expand Down

0 comments on commit 208d911

Please sign in to comment.