Skip to content

Commit a78a430

Browse files
committed
restore file
1 parent b9c4f5a commit a78a430

File tree

1 file changed

+4
-11
lines changed

1 file changed

+4
-11
lines changed

contracts/tests/recipientRegistry.ts

Lines changed: 4 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { ethers, waffle } from 'hardhat'
22
import { use, expect } from 'chai'
33
import { solidity } from 'ethereum-waffle'
4-
import { BigNumber, Contract, Wallet } from 'ethers'
4+
import { BigNumber, Contract } from 'ethers'
55
import { keccak256 } from '@ethersproject/solidity'
66
import { gtcrEncode } from '@kleros/gtcr-encoder'
77

@@ -523,14 +523,7 @@ describe('Kleros GTCR adapter', () => {
523523
})
524524

525525
describe('Optimistic recipient registry', () => {
526-
const [
527-
,
528-
deployer,
529-
controller,
530-
recipient,
531-
requester,
532-
challenger,
533-
] = provider.getWallets()
526+
const [, deployer, controller, recipient, requester] = provider.getWallets()
534527
let registry: Contract
535528

536529
const baseDeposit = UNIT.div(10) // 0.1 ETH
@@ -703,8 +696,8 @@ describe('Optimistic recipient registry', () => {
703696
.addRecipient(recipientAddress, metadata, { value: baseDeposit })
704697
await expect(
705698
registry
706-
.connect(challenger)
707-
.challengeRequest(recipientId, challenger.address)
699+
.connect(requester)
700+
.challengeRequest(recipientId, requester.address)
708701
).to.be.revertedWith('Ownable: caller is not the owner')
709702
})
710703

0 commit comments

Comments
 (0)