Skip to content

Commit

Permalink
Encode target and fixture wallets
Browse files Browse the repository at this point in the history
  • Loading branch information
Piotr Stachyra committed Mar 15, 2022
1 parent a63a328 commit e30b14c
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 9 deletions.
37 changes: 28 additions & 9 deletions test/e2e/Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -48,15 +48,34 @@ end
task :fixture_wallets_template do
puts "\n >> Creating #{FIXTURES_FILE}"

fixture_wallets = { :linux => { :shelley => mnemonic_sentence(24),
:icarus => mnemonic_sentence(15),
:byron => mnemonic_sentence(12) },
:macos => { :shelley => mnemonic_sentence(24),
:icarus => mnemonic_sentence(15),
:byron => mnemonic_sentence(12) },
:windows => { :shelley => mnemonic_sentence(24),
:icarus => mnemonic_sentence(15),
:byron => mnemonic_sentence(12) }
fixture_wallets = { :linux => {
:fixture => { :shelley => mnemonic_sentence(24),
:icarus => mnemonic_sentence(15),
:random => mnemonic_sentence(12)
},
:target => { :shelley => mnemonic_sentence(24),
:shared => mnemonic_sentence(24)
}
},
:macos => {
:fixture => { :shelley => mnemonic_sentence(24),
:icarus => mnemonic_sentence(15),
:random => mnemonic_sentence(12)
},
:target => { :shelley => mnemonic_sentence(24),
:shared => mnemonic_sentence(24)
}
},
:windows => {
:fixture => { :shelley => mnemonic_sentence(24),
:icarus => mnemonic_sentence(15),
:random => mnemonic_sentence(12)
},
:target => { :shelley => mnemonic_sentence(24),
:shared => mnemonic_sentence(24)
}
},
:currency_contract_wallet => mnemonic_sentence(24)
}
if File.exists?(FIXTURES_FILE)
err = "
Expand Down
Binary file modified test/e2e/fixtures/fixture_wallets.json.gpg
Binary file not shown.

0 comments on commit e30b14c

Please sign in to comment.