All Versions
139
Latest Version
Avg Release Cycle
31 days
Latest Release
534 days ago

Changelog History
Page 14

  • v0.6.0 Changes

    June 22, 2017

    ๐Ÿ‘‰ Make the basecli command the only way to use client-side, to enforce best ๐Ÿ”’ security practices. Lots of enhancements to get it up to production quality.

    ๐Ÿ’ฅ BREAKING CHANGES:

    • ./cmd/commands -> ./cmd/basecoin/commands
    • basecli
      • basecli proof state get -> basecli query key
      • basecli proof tx get -> basecli query tx
      • basecli proof state get --app=account -> basecli query account
      • use --chain-id not --chainid for consistency
      • update to use --trace not --debug for stack traces on errors
      • complete overhaul on how tx and query subcommands are added. (see counter or trackomatron for examples)
      • no longer supports counter app (see new countercli)
    • basecoin
      • basecoin init takes an argument, an address to allocate funds to in the genesis
      • removed key2.json
      • removed all client side functionality from it (use basecli now for proofs)
        • no tx subcommand
        • no query subcommand
        • no account (query) subcommand
        • a few other random ones...
      • enhanced relay subcommand
        • relay start did what relay used to do
        • relay init registers both chains on one another (to set it up so relay start just works)
    • ๐Ÿ“„ docs
      • removed example-plugin, put counter inside docs/guide
    • app
      • Implements ABCI handshake by proxying merkleeyes.Info()

    ๐Ÿ‘Œ IMPROVEMENTS:

    • ๐Ÿ‘ basecoin init support --chain-id
    • intergrates tendermint 0.10.0 (not the rc-2, but the real thing)
    • โœ… commands return error code (1) on failure for easier script testing
    • โž• add reset_all to basecli, and never delete keys on init
    • ๐Ÿ†• new shutil based unit tests, with better coverage of the cli actions
    • just make fresh when things are getting stale ;)

    ๐Ÿ› BUG FIXES:

    • app: no longer panics on missing app_options in genesis (thanks, anton)
    • ๐Ÿ“„ docs: updated all docs... again
    • ibc: fix panic on getting BlockID from commit without 100% precommits (still a TODO)
  • v0.5.2 Changes

    June 02, 2017

    ๐Ÿ› BUG FIXES:

    • ๐Ÿ›  fix parsing of the log level from Tendermint config (#97)
  • v0.5.1 Changes

    May 30, 2017

    ๐Ÿ› BUG FIXES:

    • ๐Ÿ›  fix ibc demo app to use proper tendermint flags, 0.10.0-rc2 compatibility
    • ๐Ÿ‘‰ Make sure all cli uses new json.Marshal not wire.JSONBytes
  • v0.5.0 Changes

    May 27, 2017

    ๐Ÿ’ฅ BREAKING CHANGES:

    • โฌ†๏ธ only those related to the tendermint 0.9 -> 0.10 upgrade

    ๐Ÿ‘Œ IMPROVEMENTS:

    • basecoin cli
      • integrates tendermint 0.10.0 and unifies cli (init, unsafe_reset_all, ...)
      • integrate viper, all command line flags can also be defined in environmental variables or config.toml
    • genesis file
      • you can define accounts with either address or pub_key
      • sorts coins for you, so no silent errors if not in alphabetical order
    • light-client integration
      • no longer must you trust the node you connect to, prove everything!
      • new [basecli command](./cmd/basecli/README.md)
      • integrated key management, stored encrypted locally
      • tracks validator set changes and proves everything from one initial validator seed
      • basecli proof state gets complete proofs for any abci state
      • basecli proof tx gets complete proof where a tx was stored in the chain
      • basecli proxy exposes tendermint rpc, but only passes through results after doing complete verification

    ๐Ÿ› BUG FIXES:

    • โš  no more silently ignored error with invalid coin names (eg. "17.22foo coin" used to parse as "17 foo", not warning/error)
  • v0.4.1 Changes

    April 26, 2017

    ๐Ÿ› BUG FIXES:

    • Fix bug in basecoin unsafe_reset_X where the priv_validator.json was not being reset
  • v0.4.0 Changes

    April 21, 2017

    ๐Ÿ’ฅ BREAKING CHANGES:

    • CLI now uses Cobra, which forced changes to some of the flag names and orderings

    ๐Ÿ‘Œ IMPROVEMENTS:

    • basecoin init doesn't generate error if already initialized
    • โœ… Much more testing
  • v0.3.1 Changes

    March 23, 2017

    ๐Ÿ‘Œ IMPROVEMENTS:

    • ๐Ÿ”Š CLI returns exit code 1 and logs error before exiting
  • v0.3.0 Changes

    March 23, 2017

    ๐Ÿ’ฅ 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
  • v0.2.0 Changes

    March 06, 2017

    ๐Ÿ’ฅ BREAKING CHANGES:

    • โšก๏ธ Update to ABCI v0.4.0 and Tendermint v0.9.0
    • Coins are specified on the CLI as Xcoin, eg. 5gold
    • Cost is now Fee

    ๐Ÿ”‹ FEATURES:

    • CLI for sending transactions and querying the state, designed to be easily extensible as plugins are implemented
    • โš™ Run Basecoin in-process with Tendermint
    • โž• Add /account path in Query
    • ๐Ÿ”Œ IBC plugin for InterBlockchain Communication
    • Demo script of IBC between two chains

    ๐Ÿ‘Œ IMPROVEMENTS:

    • ๐Ÿ‘‰ Use new Tendermint /commit endpoint for crafting IBC transactions
    • โœ… More unit tests
    • ๐Ÿ‘‰ Use go-crypto S structs and go-data for more standard JSON
    • Demo uses fewer sleeps

    ๐Ÿ› BUG FIXES:

    • ๐Ÿ›  Various little fixes in coin arithmetic
    • More commit validation in IBC
    • Return results from transactions