-
Notifications
You must be signed in to change notification settings - Fork 217
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
1731: Foundational work to get a cluster of pools for integration testing r=KtorZ a=KtorZ # Issue Number <!-- Put here a reference to the issue this PR relates to and which requirements it tackles --> N/A # Overview <!-- Detail in a few bullet points the work accomplished in this PR --> - 5a263bc 📍 **move content of 'Test.Utils.Ports' to 'Cardano.Wallet.Network.Ports'** - 6ed9efc 📍 **rework the shelley launcher code so that we can start a cluster of nodes** using 'withCluster ... ... 0' will result in the same behavior as before. Right now, pools would exists as process but not on chain. In order to exist on chain, pools need to be registered, which will be done in a separate commit. - 1a8b720 📍 **fix database path** - 6745ea9 📍 **Regenerate nix** - 6b7b947 📍 **assign sensible default ordering to 'listAllTransactions'** # Comments <!-- Additional comments or screenshots to attach if any --> This should make it possible to run a cluster of pools as simply as: ```hs let numberOfPools = 3 withCluster tr Info numberOfPools $ \socketPath block0 (gp,vData) -> ... ``` So far, the pools won't have any _stake_ and won't therefore be any useful.. I'll give them some stake in another PR. <!-- Don't forget to: ✓ Self-review your changes to make sure nothing unexpected slipped through ✓ Assign yourself to the PR ✓ Assign one or several reviewer(s) ✓ Once created, link this PR to its corresponding ticket ✓ Assign the PR to a corresponding milestone ✓ Acknowledge any changes required to the Wiki --> Co-authored-by: KtorZ <[email protected]> Co-authored-by: IOHK <[email protected]>
- Loading branch information
Showing
15 changed files
with
287 additions
and
204 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 |
---|---|---|
|
@@ -75,6 +75,7 @@ library | |
, persistent-template | ||
, process | ||
, random | ||
, random-shuffle | ||
, retry | ||
, safe | ||
, scientific | ||
|
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 was deleted.
Oops, something went wrong.
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.