cosmos-sdk v0.3.0 Release Notes

Release Date: 2017-03-23 // about 7 years ago
  • ๐Ÿ’ฅ BREAKING CHANGES:

    • โœ‚ Remove --data flag and use BCHOME to set the home directory (defaults to ~/.basecoin)
    • โœ‚ Remove --in-proc flag and start Tendermint in-process by default (expect Tendermint files in $BCHOME/tendermint). To start just the ABCI app/server, use basecoin start --without-tendermint.
    • Consolidate genesis files so the Basecoin genesis is an object under app_options in Tendermint genesis. For instance:
    {
      "app_hash": "",
      "chain_id": "foo_bar_chain",
      "genesis_time": "0001-01-01T00:00:00.000Z",
      "validators": [
        {
          "amount": 10,
          "name": "",
          "pub_key": [
            1,
            "7B90EA87E7DC0C7145C8C48C08992BE271C7234134343E8A8E8008E617DE7B30"
          ]
        }
      ],
      "app_options": {
        "accounts": [
          {
            "pub_key": {
              "type": "ed25519",
              "data": "6880db93598e283a67c4d88fc67a8858aa2de70f713fe94a5109e29c137100c2"
            },
            "coins": [
              {
                "denom": "blank",
                "amount": 12345
              },
              {
                "denom": "ETH",
                "amount": 654321
              }
            ]
          }
        ],
        "plugin_options": ["plugin1/key1", "value1", "plugin1/key2", "value2"]
      }
    }
    

    ๐Ÿ”Œ Note the array of key-value pairs is now under app_options.plugin_options while the app_options themselves are well formed. We also changed chainID to chain_id and consolidated to have just one of them.

    ๐Ÿ”‹ FEATURES:

    • Introduce basecoin init and basecoin unsafe_reset_all