fix tests

This commit is contained in:
poma 2019-11-08 07:39:22 +03:00
parent a94281ccc5
commit 313713a061

View File

@ -181,7 +181,7 @@ contract('MerkleTreeWithHistory', accounts => {
}) })
it('should reject if tree is full', async () => { it('should reject if tree is full', async () => {
levels = 6 const levels = 6
const merkleTreeWithHistory = await MerkleTreeWithHistory.new(levels) const merkleTreeWithHistory = await MerkleTreeWithHistory.new(levels)
for (let i = 0; i < 2**levels; i++) { for (let i = 0; i < 2**levels; i++) {
@ -196,7 +196,7 @@ contract('MerkleTreeWithHistory', accounts => {
}) })
it.skip('hasher gas', async () => { it.skip('hasher gas', async () => {
levels = 6 const levels = 6
const merkleTreeWithHistory = await MerkleTreeWithHistory.new(levels) const merkleTreeWithHistory = await MerkleTreeWithHistory.new(levels)
const zeroValue = await merkleTreeWithHistory.zeroValue() const zeroValue = await merkleTreeWithHistory.zeroValue()