Skip to content

Commit

Permalink
Final golden file updates
Browse files Browse the repository at this point in the history
  • Loading branch information
Jimbo4350 committed Sep 20, 2024
1 parent a463cde commit 4c7d52a
Show file tree
Hide file tree
Showing 52 changed files with 8,467 additions and 8,364 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@ hprop_golden_babbage_transaction_calculate_min_fee = propertyOnce $ do

minFeeTxt <-
execCardanoCLI
[ "transaction"
[ "latest"
, "transaction"
, "calculate-min-fee"
, "--witness-count"
, "1"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@ hprop_golden_governance_action_create_constitution =

void $
execCardanoCLI
[ "stake-address"
[ "latest"
, "stake-address"
, "key-gen"
, "--verification-key-file"
, stakeAddressVKeyFile
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@ hprop_golden_KeyNonExtendedKey_GenesisExtendedVerificationKey =
-- Convert the `cardano-address` signing key
void $
execCardanoCLI
[ "key"
[ "latest"
, "key"
, "non-extended-key"
, "--extended-verification-key-file"
, genesisVKeyFp
Expand All @@ -53,7 +54,8 @@ hprop_golden_KeyNonExtendedKey_StakeExtendedVerificationKeyShelley =
-- Convert the `cardano-address` signing key
void $
execCardanoCLI
[ "key"
[ "latest"
, "key"
, "non-extended-key"
, "--extended-verification-key-file"
, genesisVKeyFp
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@ hprop_golden_shelleyAddressBuild = propertyOnce . H.moduleWorkspace "tmp" $ \tem

stakingAddressText <-
execCardanoCLI
[ "address"
[ "latest"
, "address"
, "build"
, "--testnet-magic"
, "14"
Expand All @@ -49,7 +50,8 @@ hprop_golden_shelleyAddressBuild = propertyOnce . H.moduleWorkspace "tmp" $ \tem

enterpriseAddressText <-
execCardanoCLI
[ "address"
[ "latest"
, "address"
, "build"
, "--testnet-magic"
, "14"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@ hprop_golden_shelleyAddressInfo = propertyOnce $ do

infoText1 <-
execCardanoCLI
[ "address"
[ "latest"
, "address"
, "info"
, "--address"
, byronBase58
Expand All @@ -35,7 +36,8 @@ hprop_golden_shelleyAddressInfo = propertyOnce $ do

infoText2 <-
execCardanoCLI
[ "address"
[ "latest"
, "address"
, "info"
, "--address"
, byronHex
Expand All @@ -48,7 +50,8 @@ hprop_golden_shelleyAddressInfo = propertyOnce $ do

infoText3 <-
execCardanoCLI
[ "address"
[ "latest"
, "address"
, "info"
, "--address"
, shelleyHex
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@ hprop_golden_shelley_address_key_gen = propertyOnce . H.moduleWorkspace "tmp" $

void $
execCardanoCLI
[ "address"
[ "latest"
, "address"
, "key-gen"
, "--verification-key-file"
, addressVKeyFile
Expand Down Expand Up @@ -51,7 +52,8 @@ hprop_golden_shelley_address_extended_key_gen = propertyOnce . H.moduleWorkspace

void $
execCardanoCLI
[ "address"
[ "latest"
, "address"
, "key-gen"
, "--extended-key"
, "--verification-key-file"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,8 @@ hprop_golden_shelleyGenesisCreate = propertyOnce $ do
-- Create the genesis json file and required keys
void $
execCardanoCLI
[ "genesis"
[ "latest"
, "genesis"
, "create"
, "--testnet-magic"
, "12"
Expand Down Expand Up @@ -194,7 +195,8 @@ hprop_golden_shelleyGenesisCreate = propertyOnce $ do
-- Create the genesis json file and required keys
void $
execCardanoCLI
[ "genesis"
[ "latest"
, "genesis"
, "create"
, "--testnet-magic"
, "12"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@ hprop_golden_shelleyGenesisInitialTxIn = propertyOnce $ do
H.note "test/cardano-cli-golden/files/golden/shelley/keys/genesis_utxo_hashes/utxo_hash"
utxoHash <-
execCardanoCLI
[ "genesis"
[ "latest"
, "genesis"
, "initial-txin"
, "--testnet-magic"
, "16"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@ hprop_golden_shelley_genesis_key_gen_delegate = propertyOnce . H.moduleWorkspace

void $
execCardanoCLI
[ "genesis"
[ "latest"
, "genesis"
, "key-gen-delegate"
, "--verification-key-file"
, verificationKeyFile
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@ hprop_golden_shelleyGenesisKeyGenGenesis = propertyOnce . H.moduleWorkspace "tmp

void $
execCardanoCLI
[ "genesis"
[ "latest"
, "genesis"
, "key-gen-genesis"
, "--verification-key-file"
, verificationKeyFile
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@ hprop_golden_shelleyGenesisKeyGenUtxo = propertyOnce . H.moduleWorkspace "tmp" $

void $
execCardanoCLI
[ "genesis"
[ "latest"
, "genesis"
, "key-gen-utxo"
, "--verification-key-file"
, utxoVerificationKeyFile
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@ hprop_golden_shelleyGenesisKeyHash = propertyOnce . H.moduleWorkspace "tmp" $ \t

genesisVerificationKeyHash <-
execCardanoCLI
[ "genesis"
[ "latest"
, "genesis"
, "key-hash"
, "--verification-key-file"
, referenceVerificationKey
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,8 @@ hprop_golden_convertCardanoAddressByronSigningKey =
-- Convert the `cardano-address` signing key
void $
execCardanoCLI
[ "key"
[ "latest"
, "key"
, "convert-cardano-address-key"
, "--byron-payment-key"
, "--signing-key-file"
Expand Down Expand Up @@ -98,7 +99,8 @@ hprop_golden_convertCardanoAddressIcarusSigningKey =
-- Convert the `cardano-address` signing key
void $
execCardanoCLI
[ "key"
[ "latest"
, "key"
, "convert-cardano-address-key"
, "--icarus-payment-key"
, "--signing-key-file"
Expand Down Expand Up @@ -136,7 +138,8 @@ hprop_golden_convertCardanoAddressShelleyPaymentSigningKey =
-- Convert the `cardano-address` signing key
void $
execCardanoCLI
[ "key"
[ "latest"
, "key"
, "convert-cardano-address-key"
, "--shelley-payment-key"
, "--signing-key-file"
Expand Down Expand Up @@ -174,7 +177,8 @@ hprop_golden_convertCardanoAddressShelleyStakeSigningKey =
-- Convert the `cardano-address` signing key
void $
execCardanoCLI
[ "key"
[ "latest"
, "key"
, "convert-cardano-address-key"
, "--shelley-stake-key"
, "--signing-key-file"
Expand Down Expand Up @@ -214,7 +218,8 @@ hprop_golden_convert_cardano_address_cc_drep = do
-- Convert the `cardano-address` signing key
H.noteShowM_ $
execCardanoCLI
[ "key"
[ "latest"
, "key"
, "convert-cardano-address-key"
, flag
, "--signing-key-file"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@ hprop_golden_stakePoolMetadataHash = propertyOnce . H.moduleWorkspace "tmp" $ \t
-- Hash the stake pool metadata
void $
execCardanoCLI
[ "stake-pool"
[ "latest"
, "stake-pool"
, "metadata-hash"
, "--pool-metadata-file"
, stakePoolMetadataFile
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ hprop_golden_shelleyAllMultiSigAddressBuild = propertyOnce . H.moduleWorkspace "

allMultiSigAddress <-
execCardanoCLI
[ "address"
[ "latest"
, "address"
, "build"
, "--payment-script-file"
, allMultiSigFp
Expand All @@ -37,7 +38,8 @@ hprop_golden_shelleyAnyMultiSigAddressBuild = propertyOnce . H.moduleWorkspace "

anyMultiSigAddress <-
execCardanoCLI
[ "address"
[ "latest"
, "address"
, "build"
, "--payment-script-file"
, anyMultiSigFp
Expand All @@ -58,7 +60,8 @@ hprop_golden_shelleyAtLeastMultiSigAddressBuild = propertyOnce . H.moduleWorkspa

atLeastMultiSigAddress <-
execCardanoCLI
[ "address"
[ "latest"
, "address"
, "build"
, "--payment-script-file"
, atLeastMultiSigFp
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,8 @@ hprop_golden_shelleyNodeIssueOpCert = propertyOnce . H.moduleWorkspace "tmp" $ \
-- --signing-key-file /dev/null
void $
execCardanoCLI
[ "node"
[ "latest"
, "node"
, "issue-op-cert"
, "--hot-kes-verification-key-file"
, hotKesVerificationKeyFile
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@ hprop_golden_shelleyNodeKeyGen = propertyOnce . H.moduleWorkspace "tmp" $ \tempD

void $
execCardanoCLI
[ "node"
[ "latest"
, "node"
, "key-gen"
, "--verification-key-file"
, verificationKeyFile
Expand Down Expand Up @@ -57,7 +58,8 @@ hprop_golden_shelleyNodeKeyGen_te = propertyOnce . H.moduleWorkspace "tmp" $ \te

void $
execCardanoCLI
[ "node"
[ "latest"
, "node"
, "key-gen"
, "--verification-key-file"
, verificationKeyFile
Expand Down Expand Up @@ -93,7 +95,8 @@ hprop_golden_shelleyNodeKeyGen_bech32 = propertyOnce . H.moduleWorkspace "tmp" $

void $
execCardanoCLI
[ "node"
[ "latest"
, "node"
, "key-gen"
, "--key-output-format"
, "bech32"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@ hprop_golden_shelleyNodeKeyGenKes = propertyOnce . H.moduleWorkspace "tmp" $ \te

void $
execCardanoCLI
[ "node"
[ "latest"
, "node"
, "key-gen-KES"
, "--verification-key-file"
, verificationKey
Expand All @@ -45,7 +46,8 @@ hprop_golden_shelleyNodeKeyGenKes_te = propertyOnce . H.moduleWorkspace "tmp" $

void $
execCardanoCLI
[ "node"
[ "latest"
, "node"
, "key-gen-KES"
, "--key-output-format"
, "text-envelope"
Expand All @@ -72,7 +74,8 @@ hprop_golden_shelleyNodeKeyGenKes_bech32 = propertyOnce . H.moduleWorkspace "tmp

void $
execCardanoCLI
[ "node"
[ "latest"
, "node"
, "key-gen-KES"
, "--key-output-format"
, "bech32"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@ hprop_golden_shelleyNodeKeyGenVrf = propertyOnce . H.moduleWorkspace "tmp" $ \te

void $
execCardanoCLI
[ "node"
[ "latest"
, "node"
, "key-gen-VRF"
, "--verification-key-file"
, verificationKey
Expand All @@ -45,7 +46,8 @@ hprop_golden_shelleyNodeKeyGenVrf_te = propertyOnce . H.moduleWorkspace "tmp" $

void $
execCardanoCLI
[ "node"
[ "latest"
, "node"
, "key-gen-VRF"
, "--key-output-format"
, "text-envelope"
Expand All @@ -72,7 +74,8 @@ hprop_golden_shelleyNodeKeyGenVrf_bech32 = propertyOnce . H.moduleWorkspace "tmp

void $
execCardanoCLI
[ "node"
[ "latest"
, "node"
, "key-gen-VRF"
, "--key-output-format"
, "bech32"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@ hprop_golden_shelleyStakeAddressBuild = propertyOnce . H.moduleWorkspace "tmp" $

rewardAddress <-
execCardanoCLI
[ "stake-address"
[ "latest"
, "stake-address"
, "build"
, "--mainnet"
, "--staking-verification-key-file"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@ hprop_golden_shelleyStakeAddressKeyGen = propertyOnce . H.moduleWorkspace "tmp"

void $
execCardanoCLI
[ "stake-address"
[ "latest"
, "stake-address"
, "key-gen"
, "--verification-key-file"
, verificationKeyFile
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@ hprop_golden_shelleyStakeAddressKeyHash = propertyOnce . H.moduleWorkspace "tmp"

verificationKeyHash <-
execCardanoCLI
[ "stake-address"
[ "latest"
, "stake-address"
, "key-hash"
, "--stake-verification-key-file"
, verificationKeyFile
Expand Down
Loading

0 comments on commit 4c7d52a

Please sign in to comment.