Skip to content

Commit

Permalink
IOS-7818 Clean tests
Browse files Browse the repository at this point in the history
  • Loading branch information
tureck1y committed Sep 6, 2024
1 parent a8a6518 commit 8bbd2f0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
5 changes: 2 additions & 3 deletions TangemSdk/TangemSdkTests/CommonFirmwareTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -104,11 +104,11 @@ class CommonFirmwareTests: FWTestCase {
"ac188745db0b9442313bc027118214f007ffc06c43a2eb4020a1d47cd1422480190639e7775b133fc999e8dccd8ba26c",
"8793a32f2bf261acabcbfc67f33c0c5278463826e677438b7801136ffd0c8aeb22626a3abb57da9d414a58bae16a2096",
]
let pass = "TREZOR"
let passphrase = "TREZOR"

let cmds = mnemonics.map {
let mnemonic = try! Mnemonic(with: $0)
let factory = AnyMasterKeyFactory(mnemonic: mnemonic, passphrase: "TREZOR")
let factory = AnyMasterKeyFactory(mnemonic: mnemonic, passphrase: passphrase)
let prvKey = try! factory.makeMasterKey(for: .bls12381_G2_AUG)
let cmd = CreateWalletTask(curve: .bls12381_G2_AUG, privateKey: prvKey)
return (cmd, prvKey)
Expand Down Expand Up @@ -197,7 +197,6 @@ class CommonFirmwareTests: FWTestCase {
"010e304751311432c4ffb107cee6a4fc56fa3fbd43e7f354da5166c3915400feff",
"01539f7909fe0243b862dd4395d2c8575bf070d22931952e94fb46d9aa557fa46a",
]
let pass = "TREZOR"

let cmds = mnemonics.map {
let mnemonic = try! Mnemonic(with: $0)
Expand Down
4 changes: 2 additions & 2 deletions TangemSdk/TangemSdkTests/Ed25519Slip0010Tests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ import XCTest
class Ed25519Slip0010Tests {
/// Compare with trustwallet. Test only first part of the long key because second part is equal too
func testDerivation() {
let seed = "gravity machine north sort system female filter attitude volume fold club stay feature office ecology stable narrow fog"
let passphrase = "TREZOR"
// let seed = "gravity machine north sort system female filter attitude volume fold club stay feature office ecology stable narrow fog"
// let passphrase = "TREZOR"

// m/44/501/0/0/0 and m/44/501/0/2/0
// long key A0D68D1417418A5D80B9BB61F160237597D6DED8582475BCA248C7F0C79D5A01D09EEF00267D028F0FDD6741DE8330A6F54F27DD47C85AAB6945CD1DE501EB4AB59EF7C83690EB70E890CA5DD58BE027C3DED4ECF2496EF06F7D8B0688F3F5C2B57A196F9D6D4C90ADF790D4ABFFBA7E26F3632758774305D6E932C67B7F76E8
Expand Down

0 comments on commit 8bbd2f0

Please sign in to comment.