mirror of
https://github.com/tornadocash/tornado-nova
synced 2024-02-02 14:53:56 +01:00
fix tests
This commit is contained in:
parent
bc2433be08
commit
b615b9b756
@ -92,17 +92,15 @@ describe('TornadoPool', function () {
|
||||
})
|
||||
|
||||
it('should configure', async () => {
|
||||
const { tornadoPool, amb } = await loadFixture(fixture)
|
||||
const { tornadoPool, multisig } = await loadFixture(fixture)
|
||||
const newWithdrawalLimit = utils.parseEther('0.01337')
|
||||
const newDepositLimit = utils.parseEther('1337')
|
||||
|
||||
const { data } = await tornadoPool.populateTransaction.configureLimits(
|
||||
await tornadoPool.connect(multisig).configureLimits(
|
||||
newWithdrawalLimit,
|
||||
newDepositLimit,
|
||||
)
|
||||
|
||||
await amb.execute([{ who: tornadoPool.address, callData: data }])
|
||||
|
||||
expect(await tornadoPool.maximumDepositAmount()).to.be.equal(newDepositLimit)
|
||||
expect(await tornadoPool.minimalWithdrawalAmount()).to.be.equal(newWithdrawalLimit)
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user