Skip to content

Commit

Permalink
Update comments to clarify what testnets are affected by test files. (#…
Browse files Browse the repository at this point in the history
…868)

* Update comments to clarify what these tests affect.
  • Loading branch information
Crystal Lemire authored Dec 9, 2023
1 parent 76df86e commit eb7c575
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,8 @@ func TestGenerateExchangeConfigJson(t *testing.T) {

configs := GenerateExchangeConfigJson(exchange_config.TestnetExchangeMarketConfig)

// Uncomment to update testnet exchange data after changing the TestnetExchangeMarketConfig.
// Uncomment to update the exchange data used for various testnet deploys after changing the
// TestnetExchangeMarketConfig.
//f, err := os.OpenFile("testdata/"+tc.expectedExchangeConfigJsonFile, os.O_CREATE|os.O_WRONLY|os.O_TRUNC, 0644)
//require.NoError(t, err)
//defer f.Close()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ import (

var (
// TestnetExchangeMarketConfig maps exchange feed ids to exchange market config. This map is used to generate
// the exchange config json used by the genesis state for testnet deploys.
// the exchange config json used to construct the genesis file for various testnet deploys defined in the testing
// package - namely, localnet, dev, and staging. Note that public testnet is not affected by this map.
TestnetExchangeMarketConfig = map[types.ExchangeId]*types.MutableExchangeMarketConfig{
exchange_common.EXCHANGE_ID_BINANCE: {
Id: exchange_common.EXCHANGE_ID_BINANCE,
Expand Down

0 comments on commit eb7c575

Please sign in to comment.