Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion contracts/sweep_controller/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@ crate-type = ["cdylib", "rlib"]
[dependencies]
soroban-sdk = "22.0.0"
bridgelet-shared = { path = "../shared", version = "0.1.0" }
ephemeral_account = { path = "../ephemeral_account", version = "0.1.0" }

soroban-token-sdk = "22.0.0"

[dev-dependencies]
soroban-sdk = { version = "22.0.0", features = ["testutils"] }
ephemeral_account = { path = "../ephemeral_account" }


[profile.release]
Expand Down
10 changes: 1 addition & 9 deletions contracts/sweep_controller/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ mod errors;
mod storage;
// mod transfers;

use crate::ephemeral_account::Client as EphemeralAccountClient;
use ephemeral_account::EphemeralAccountContractClient as EphemeralAccountClient;
use soroban_sdk::{contract, contractimpl, contracttype, Address, BytesN, Env};

use authorization::AuthContext;
Expand Down Expand Up @@ -225,11 +225,3 @@ fn emit_destination_updated(env: &Env, old_destination: Option<Address>, new_des
env.events()
.publish((soroban_sdk::symbol_short!("dest_upd"),), event);
}

// Re-export ephemeral_account types for cross-contract calls
mod ephemeral_account {
// Import from the actual ephemeral_account contract
soroban_sdk::contractimport!(
file = "/home/levai/bridgelet-core/target/wasm32-unknown-unknown/release/ephemeral_account.wasm"
);
}
Loading