Skip to content

Commit

Permalink
Update dependencies, set merkleeyes logger
Browse files Browse the repository at this point in the history
  • Loading branch information
ethanfrey committed Jun 27, 2017
1 parent ad5c129 commit 41bc371
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 9 deletions.
8 changes: 6 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ IMPROVEMENTS:
- `basecoin start` supports all flags that `tendermint node` does, such as
`--rpc.laddr`, `--p2p.seeds`, and `--p2p.skip_upnp`
- fully supports `--log_level` and `--trace` for logger configuration
- merkleeyes no longers spams the logs... unless you want it
- Example: `basecoin start --log_level="merkleeyes:info,state:info,*:error"`
- Example: `basecoin start --log_level="merkleeyes:debug,state:info,*:error"`
- basecli
- `basecli query account` accepts hex account address with or without `0x`
prefix
Expand All @@ -19,8 +22,9 @@ IMPROVEMENTS:
not just `tcp://localhost:46657`
- gives error message when running commands on an unitialized chain, rather
than some unintelligable panic
- Add `--genesis` to init
- Example: `basecli init --node=localhost:46657 --genesis=$HOME/.basecoin/genesis.json`
- Add `--genesis` to init to specify chain-id and validator hash
- Example: `basecli init --node=localhost:46657 --genesis=$HOME/.basecoin/genesis.json`



## 0.6.0 (June 22, 2017)
Expand Down
2 changes: 2 additions & 0 deletions cmd/basecoin/commands/start.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ import (
"github.com/spf13/viper"

"github.com/tendermint/abci/server"
eyesApp "github.com/tendermint/merkleeyes/app"
eyes "github.com/tendermint/merkleeyes/client"
"github.com/tendermint/tmlibs/cli"
cmn "github.com/tendermint/tmlibs/common"
Expand Down Expand Up @@ -54,6 +55,7 @@ func startCmd(cmd *cobra.Command, args []string) error {
// Connect to MerkleEyes
var eyesCli *eyes.Client
if meyes == "local" {
eyesApp.SetLogger(logger.With("module", "merkleeyes"))
eyesCli = eyes.NewLocalClient(path.Join(rootDir, "data", "merkleeyes.db"), EyesCacheSize)
} else {
var err error
Expand Down
10 changes: 5 additions & 5 deletions glide.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions glide.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,12 @@ import:
- commands/txs
- proofs
- package: github.com/tendermint/merkleeyes
version: develop
version: feature/26-add-logger
subpackages:
- client
- iavl
- package: github.com/tendermint/tendermint
version: feature/554-embed-commands
version: develop
subpackages:
- config
- node
Expand Down

0 comments on commit 41bc371

Please sign in to comment.