-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
back to cardano-wallet cluster launcher
- Loading branch information
Showing
13 changed files
with
143 additions
and
98 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
Pool IDs: | ||
[INFO] 2022-11-02T12:40:41.336Z [(PoolPubKeyHash (Ed25519KeyHash (unsafePartial $ fromJust $ ed25519KeyHashFromBech32 (Just "pool1k3tk3sdzmf9az04u4g0229qgak33mnppwewvh4q8ek5ly09nqjm")))),(PoolPubKeyHash (Ed25519KeyHash (unsafePartial $ fromJust $ ed25519KeyHashFromBech32 (Just "pool1hvg5evmawhaq2fsr9rprtg76u226x0gt5e62t6c78etgu2j7xtn")))),(PoolPubKeyHash (Ed25519KeyHash (unsafePartial $ fromJust $ ed25519KeyHashFromBech32 (Just "pool1as50x0wtumtyqzs7tceeh5ry0syh8jnvpnuu9wlxswxuv48sw4w"))))] | ||
[INFO] 2022-11-02T12:40:41.343Z { cost: fromString "0", margin: { denominator: fromString "10", numerator: fromString "1" }, operator: (PoolPubKeyHash (Ed25519KeyHash (unsafePartial $ fromJust $ ed25519KeyHashFromBech32 (Just "pool1k3tk3sdzmf9az04u4g0229qgak33mnppwewvh4q8ek5ly09nqjm")))), pledge: fromString "100000000000000", poolMetadata: (Just (PoolMetadata { hash: (PoolMetadataHash (hexToByteArrayUnsafe "e72e33850e9c630b65366e3ce562370cd302674f111bfff74b0a5f3dd7f60ca1")), url: (URL "http://localhost:42601/3.json") })), poolOwners: [(PaymentPubKeyHash (PubKeyHash (Ed25519KeyHash 0a334ab6b5301fc0b1c71a5c9606750f182ac9e302539081e9548eae)))], relays: [], rewardAccount: (RewardAddress (Address stake1uy9rxj4kk5cpls93cud9e9sxw583s2kfuvp98yypa92gats27sp2v)), vrfKeyhash: (VRFKeyHash "4cafd732fef7a0949cc5257600e30c45d0def16128fe578ee01b4ec368536944") } | ||
[INFO] 2022-11-02T12:40:41.347Z { cost: fromString "0", margin: { denominator: fromString "10", numerator: fromString "1" }, operator: (PoolPubKeyHash (Ed25519KeyHash (unsafePartial $ fromJust $ ed25519KeyHashFromBech32 (Just "pool1hvg5evmawhaq2fsr9rprtg76u226x0gt5e62t6c78etgu2j7xtn")))), pledge: fromString "100000000000000", poolMetadata: (Just (PoolMetadata { hash: (PoolMetadataHash (hexToByteArrayUnsafe "e376f46c67a310b399fa5ff8b7b9727556ea454a8c082dedfc9935c2c3fe6ec5")), url: (URL "http://localhost:42601/4.json") })), poolOwners: [(PaymentPubKeyHash (PubKeyHash (Ed25519KeyHash c950caf90326501a1aeed906793fcbb7f3cf5be3d93f6cf156ea1290)))], relays: [], rewardAccount: (RewardAddress (Address stake1u8y4pjheqvn9qxs6amvsv7flewml8n6mu0vn7m832m4p9yqrmpzfw)), vrfKeyhash: (VRFKeyHash "a60460696022af8fdf1d0c68bc007d2ce0b4518bf922f29081187c326f63955f") } | ||
[INFO] 2022-11-02T12:40:41.352Z { cost: fromString "0", margin: { denominator: fromString "10", numerator: fromString "1" }, operator: (PoolPubKeyHash (Ed25519KeyHash (unsafePartial $ fromJust $ ed25519KeyHashFromBech32 (Just "pool1as50x0wtumtyqzs7tceeh5ry0syh8jnvpnuu9wlxswxuv48sw4w")))), pledge: fromString "200000000000000", poolMetadata: (Just (PoolMetadata { hash: (PoolMetadataHash (hexToByteArrayUnsafe "ef41266d9fad1f81480575231b735d75a483d5b03e5e5e67da5f07cd30c7c246")), url: (URL "http://localhost:42601/1.json") })), poolOwners: [(PaymentPubKeyHash (PubKeyHash (Ed25519KeyHash 7235e82c96f4b931558ce2df1273b8eeba306b103aa78bc13c5a0ca8)))], relays: [], rewardAccount: (RewardAddress (Address stake1u9ert6pvjm6tjv243n3d7ynnhrht5vrtzqa20z7p83dqe2qgl74xn)), vrfKeyhash: (VRFKeyHash "63e3374aeb64ee7c6ad51e0ba1c3edd2f2a048a23f3b07d6ce0af66b19aa9942") } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,13 @@ | ||
module Test.Plutip.Internal.Cluster.Extra.Utils ( | ||
localClusterConfigWithExtraConf, | ||
) where | ||
) where | ||
|
||
import Test.Plutip.Internal.Cluster (LocalClusterConfig (LocalClusterConfig), clusterEraFromEnv, clusterEraToString, defaultPoolConfigs, logFileConfigFromEnv) | ||
import Test.Plutip.Internal.Cluster.Extra.Types (ExtraConfig) | ||
-- localClusterConfigWithExtraConf, | ||
|
||
localClusterConfigWithExtraConf :: ExtraConfig -> IO LocalClusterConfig | ||
localClusterConfigWithExtraConf ec = do | ||
era <- clusterEraFromEnv | ||
logConf <- logFileConfigFromEnv (Just $ clusterEraToString era) | ||
pure $ LocalClusterConfig defaultPoolConfigs era logConf ec | ||
-- import Test.Plutip.Internal.Cluster (LocalClusterConfig (LocalClusterConfig), clusterEraFromEnv, clusterEraToString, defaultPoolConfigs, logFileConfigFromEnv) | ||
-- import Test.Plutip.Internal.Cluster.Extra.Types (ExtraConfig) | ||
|
||
-- localClusterConfigWithExtraConf :: ExtraConfig -> IO LocalClusterConfig | ||
-- localClusterConfigWithExtraConf ec = do | ||
-- era <- clusterEraFromEnv | ||
-- logConf <- logFileConfigFromEnv (Just $ clusterEraToString era) | ||
-- pure $ LocalClusterConfig defaultPoolConfigs era logConf ec |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.