mirror of
https://github.com/tornadocash/tornado-core.git
synced 2024-10-01 01:06:17 -04:00
fix tests
This commit is contained in:
parent
a94281ccc5
commit
313713a061
@ -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()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user