mirror of
https://github.com/tornadocash/tornado-core.git
synced 2025-06-12 08:23:04 -04:00
fix tests
This commit is contained in:
parent
a94281ccc5
commit
313713a061
1 changed files with 2 additions and 2 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue