Update changelog, add simple testcase
This commit is contained in:
parent
ad6c7f0be4
commit
db3a82fc97
|
@ -27,7 +27,7 @@ FEATURES:
|
|||
* Create genesis transactions with `gaiad init gen-tx`
|
||||
* New genesis account keys are automatically added to the client keybase (introduce `--client-home` flag)
|
||||
* Initialize with genesis txs using `--gen-txs` flag
|
||||
* Context now has access to the applicaiton logger
|
||||
* Context now has access to the application-configured logger
|
||||
|
||||
BREAKING CHANGES
|
||||
|
||||
|
|
|
@ -60,3 +60,11 @@ func TestCacheContext(t *testing.T) {
|
|||
|
||||
assert.Equal(t, v2, store.Get(k2))
|
||||
}
|
||||
|
||||
func TestLogContext(t *testing.T) {
|
||||
key := types.NewKVStoreKey(t.Name())
|
||||
ctx := defaultContext(key)
|
||||
ctx.Logger().Debug("debug")
|
||||
ctx.Logger().Info("info")
|
||||
ctx.Logger().Error("error")
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue