Using iavl v1.0.0 with cosmos sdk 0.47.5 #1412
Annotations
10 errors
golangci-lint:
store/iavl/tree.go#L12
cannot use (*immutableTree)(nil) (value of type *immutableTree) as Tree value in variable declaration: *immutableTree does not implement Tree (missing method Get) (typecheck)
|
golangci-lint:
store/iavl/tree.go#L13
cannot use (*mutableTree)(nil) (value of type *mutableTree) as Tree value in variable declaration: *mutableTree does not implement Tree (missing method AvailableVersions) (typecheck)
|
golangci-lint:
store/iavl/store.go#L84
cannot use &(mutableTree literal) (value of type *mutableTree) as Tree value in struct literal: *mutableTree does not implement Tree (missing method AvailableVersions) (typecheck)
|
golangci-lint:
store/iavl/store.go#L97
cannot use &(mutableTree literal) (value of type *mutableTree) as Tree value in struct literal: *mutableTree does not implement Tree (missing method AvailableVersions) (typecheck)
|
golangci-lint:
store/iavl/store.go#L117
cannot use &(immutableTree literal) (value of type *immutableTree) as Tree value in struct literal: *immutableTree does not implement Tree (missing method Get) (typecheck)
|
golangci-lint:
store/iavl/store.go#L262
impossible type assertion: istore.tree.(*immutableTree)
|
golangci-lint:
store/iavl/store.go#L266
tree.Export undefined (type *immutableTree has no field or method Export) (typecheck)
|
golangci-lint:
store/iavl/store.go#L271
impossible type assertion: st.tree.(*mutableTree)
|
golangci-lint:
store/iavl/store.go#L275
tree.Import undefined (type *mutableTree has no field or method Import) (typecheck)
|
golangci-lint:
store/iavl/tree.go#L72
it.Version undefined (type *immutableTree has no field or method Version) (typecheck)
|