Skip to content

Commit

Permalink
Merge pull request #35 from tendermint/feature/update_glide
Browse files Browse the repository at this point in the history
Clean up glide.yaml
  • Loading branch information
ebuchman authored Feb 3, 2018
2 parents bbf92e0 + b200171 commit 1a59ec0
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 14 deletions.
2 changes: 1 addition & 1 deletion benchmarks/bench_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ func BenchmarkRandomBytes(b *testing.B) {
}

type benchmark struct {
dbType string
dbType db.DBBackendType
initSize, blockSize int
keyLen, dataLen int
}
Expand Down
16 changes: 8 additions & 8 deletions glide.lock

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

11 changes: 8 additions & 3 deletions glide.yaml
Original file line number Diff line number Diff line change
@@ -1,15 +1,20 @@
package: github.com/tendermint/iavl
import:
- package: github.com/pkg/errors
version: ^0.8.0
- package: github.com/tendermint/go-wire
version: sdk2
version: develop
- package: github.com/tendermint/tmlibs
version: sdk2
version: develop
subpackages:
- common
- db
- package: golang.org/x/crypto
subpackages:
- ripemd160
testImport:
- package: github.com/stretchr/testify
version: ^1.1.4
version: ^1.2.1
subpackages:
- assert
- require
4 changes: 2 additions & 2 deletions testutils_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ func N(l, r interface{}) *Node {

// Setup a deep node
func T(n *Node) *Tree {
d := db.NewDB("test", db.MemDBBackendStr, "")
d := db.NewDB("test", db.MemDBBackend, "")
t := NewTree(d, 0)

n.hashWithCount()
Expand Down Expand Up @@ -148,7 +148,7 @@ func testProof(t *testing.T, proof *KeyExistsProof, keyBytes, valueBytes, rootHa
}

func BenchmarkImmutableAvlTreeMemDB(b *testing.B) {
db := db.NewDB("test", db.MemDBBackendStr, "")
db := db.NewDB("test", db.MemDBBackend, "")
benchmarkImmutableAvlTreeWithDB(b, db)
}

Expand Down

0 comments on commit 1a59ec0

Please sign in to comment.