Skip to content

Commit

Permalink
Update TODOs
Browse files Browse the repository at this point in the history
  • Loading branch information
Aleksandr Bezobchuk committed Nov 4, 2018
1 parent e3b62fc commit 304e4e9
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion client/context/query.go
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ func (ctx CLIContext) verifyProof(_ string, resp abci.ResponseQuery) error {
return fmt.Errorf("missing valid certifier to verify data from distrusted node")
}

// TODO: Handle in another PR
// TODO: handle in another TM v0.26 update PR
// // the AppHash for height H is in header H+1
// commit, err := ctx.Verify(resp.Height + 1)
// if err != nil {
Expand Down
2 changes: 1 addition & 1 deletion store/iavlstore.go
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ func (st *iavlStore) Query(req abci.RequestQuery) (res abci.ResponseQuery) {
// break
// }

// TODO: Set proof in another PR
// TODO: handle in another TM v0.26 update PR
// res.Proof = p
} else {
_, res.Value = tree.GetVersioned(key, res.Height)
Expand Down
2 changes: 1 addition & 1 deletion store/multistoreproof_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import (
)

func TestVerifyMultiStoreCommitInfo(t *testing.T) {
// TODO: Handle in separate PR
// TODO: handle in another TM v0.26 update PR
t.SkipNow()
appHash, _ := hex.DecodeString("69959B1B4E68E0F7BD3551A50C8F849B81801AF2")

Expand Down
2 changes: 1 addition & 1 deletion store/rootmultistore.go
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,7 @@ func (rs *rootMultiStore) Query(req abci.RequestQuery) abci.ResponseQuery {
// return sdk.ErrInternal(errMsg.Error()).QueryResult()
// }

// TODO: Set proof in another PR
// TODO: handle in another TM v0.26 update PR
// res.Proof = buildMultiStoreProof(res.Proof, storeName, commitInfo.StoreInfos)
return res
}
Expand Down

0 comments on commit 304e4e9

Please sign in to comment.