-
Notifications
You must be signed in to change notification settings - Fork 39
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add a market to our test/dev chains. (#1759)
* [1757]: Create the add-genesis-default-market and add-genesis-custom-market commands. * [1757]: Add a call to add-genesis-default-market to the initialize.sh script. * [1757]: Add a market to the testnet command. * [1757]: Add a market to the devenet setup. * [1757]: Make the updateGenesisFileRunE stuff private. * [1757]: Unit tests on the new cmd helpers and add a check in the testnet unit test. * [1757]: Unit tests on the two new commands. * [1757]: Don't tear down the network if it's nil. * [1757]: remove a call to app.SetConfig in TestPreUpgradeCmd since I'm not sure it's needed and might be causing problems in other tests. * [1757]: Add changelog entry. --------- Co-authored-by: Ira Miller <[email protected]>
- Loading branch information
1 parent
dceb212
commit dac5ce0
Showing
12 changed files
with
1,186 additions
and
17 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,13 @@ | ||
package cmd | ||
|
||
// This file is in the cmd package (not cmd_test) so that it can expose | ||
// some private keeper stuff for unit testing. | ||
|
||
var ( | ||
// MakeDefaultMarket is a test-only exposure of makeDefaultMarket. | ||
MakeDefaultMarket = makeDefaultMarket | ||
// AddMarketsToAppState is a test-only exposure of addMarketsToAppState. | ||
AddMarketsToAppState = addMarketsToAppState | ||
// GetNextAvailableMarketID is a test-only exposure of getNextAvailableMarketID. | ||
GetNextAvailableMarketID = getNextAvailableMarketID | ||
) |
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.