Skip to content

Commit

Permalink
++
Browse files Browse the repository at this point in the history
  • Loading branch information
bitdivine committed Oct 29, 2024
1 parent fbc261d commit 4f729b8
Show file tree
Hide file tree
Showing 2 changed files with 271 additions and 240 deletions.
15 changes: 0 additions & 15 deletions src/signer/canister/tests/it/address.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,21 +11,6 @@ use ic_chain_fusion_signer_api::types::bitcoin::{
BitcoinAddressType, GetAddressError, GetAddressRequest, GetAddressResponse,
};

#[ignore] // TODO: Update this test
#[test]
fn test_cannot_call_eth_address_of_for_anonymous() {
let pic_setup = setup();

let caller = Principal::from_text(CALLER).unwrap();

let address = pic_setup.update_one::<String>(caller, "eth_address_of", Principal::anonymous());

assert!(address.is_err());
assert!(address
.unwrap_err()
.contains("Anonymous principal is not authorized"));
}

#[ignore] // TODO: Update this test
#[test]
fn test_caller_btc_address_mainnet() {
Expand Down
Loading

0 comments on commit 4f729b8

Please sign in to comment.