v0.2.6-pre.012
This commit is contained in:
@@ -1,13 +1,5 @@
|
||||
// file: crates/ksp-app-wallet-desk/unit_tests/wallet_import.rs
|
||||
// version: 1
|
||||
|
||||
#[test]
|
||||
fn transfer_format_dto_maps_exact_supported_wallet_formats_and_bounds() {
|
||||
assert_eq!(crate::WalletTransferFormatDto::SolanaCliJson.wallet_format(), ksp_wallet_lib::WalletTransferFormat::SolanaCliJson);
|
||||
assert_eq!(crate::WalletTransferFormatDto::SolanaKeypairBase58.wallet_format(), ksp_wallet_lib::WalletTransferFormat::SolanaKeypairBase58);
|
||||
assert_eq!(crate::WalletTransferFormatDto::SolanaCliJson.maximum_source_bytes(), ksp_wallet_lib::KSPWALLET_TRANSFER_MAX_SOLANA_CLI_JSON_BYTES);
|
||||
assert_eq!(crate::WalletTransferFormatDto::SolanaKeypairBase58.maximum_source_bytes(), ksp_wallet_lib::KSPWALLET_TRANSFER_MAX_BASE58_BYTES);
|
||||
}
|
||||
// version: 2
|
||||
|
||||
#[test]
|
||||
fn import_request_does_not_require_debug_or_clone_password_contracts() {
|
||||
|
||||
Reference in New Issue
Block a user