Closed rigelrozanski closed 6 years ago
we need better CLI auto-testing in here asap to avoid situations like this
While I agree we need better CLI testing, this is actually a failure of the units tests.
This kind of basic functionality should absolutely have a test that would have caught this. Note there are no tests in the examples/basecoin/types
package!
Let's not change anything in the SDK until we write more tests! https://github.com/cosmos/cosmos-sdk/issues/555 and https://github.com/cosmos/cosmos-sdk/issues/556
CLI develop is broken - I think by the go-wire revision, but glide tendermint version is missing from older commits so I can’t test hypothesis :disappointed: - we need better CLI auto-testing in here asap to avoid situations like this… basecli breaks after this step of attempting to query the genesis account
I traced back the error (even though
--trace
doesn't work) to coming from the unmarshal step here: https://github.com/cosmos/cosmos-sdk/blob/develop/examples/basecoin/types/account.go#L29