Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Additional inspect tests with cardano-cli generated stake and payment addrs #61

Merged
merged 1 commit into from
Aug 24, 2020
Merged
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
14 changes: 14 additions & 0 deletions command-line/test/Command/Address/InspectSpec.hs
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,20 @@ spec = describeCmd [ "address", "inspect" ] $ do
specInspectAddress ["Shelley", "by value", "script_hash"]
"stake17pshvetj09hxjcm9v9jxgunjv4ehxmr0d3hkcmmvdakx7mrgdp5xscfm7jc"

-- cardano-cli generated --testnet-magic 42 addresses
specInspectAddress ["Shelley", "by value", "stake_key_hash", "spending_key_hash"]
"addr_test1qpwr8l57ceql23ylyprl6qgct239lxph8clwxy5w8r4qdz8ct9uut5a\
\hmxqkgwy9ecn5carsv39frsgsq09u70wmqwhqjqcjqs"
specInspectAddress ["Shelley", "by value", "stake_key_hash"]
"stake_test1uru9j7w96wmanqty8zzuuf6vw3cxgj53cygq8j708hds8tsntl0j7"

-- cardano-cli generated --mainnet addresses
specInspectAddress ["Shelley", "by value", "stake_key_hash", "spending_key_hash"]
"addr1q9777p2w2hqa3cl0ah97pdwyavjnpf0ex3muvqgttavjxhku2rp98h9drzkdf\
\va8ea775jszmd799k59aknpvqyn6wwqwll7uw"
specInspectAddress ["Shelley", "by value", "stake_key_hash"]
"stake1u8w9psjnmjk33tx5kwnu7l02fgpdklzjm2z7mfskqzfa88qsjpk8l"

specInspectMalformed
"💩"

Expand Down