Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ExpertCommitteeArbitrator #587

Open
wants to merge 3 commits into
base: develop
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Lint
  • Loading branch information
ben-kaufman committed Nov 24, 2024
commit 849e5ce05484d8552535a6d9b863126490ff3a73
8 changes: 4 additions & 4 deletions test/arbitrator.js
Original file line number Diff line number Diff line change
Expand Up @@ -1045,7 +1045,7 @@ contract("Registry Arbitrator", (accounts) => {
});

it("arbitrator change proposal - approve claim with proposal after timeout", async () => {
const { registry, vault, claimsManager, stakingToken, arbitrator } = await setup(accounts);
const { registry, claimsManager, arbitrator } = await setup(accounts);
const newBounty = 6000;
const newBeneficiary = accounts[5];
const challengePeriod = 60*60*24*1;
Expand All @@ -1072,7 +1072,7 @@ contract("Registry Arbitrator", (accounts) => {

// TODO: Do we want to allow the arbitrator to changed the proposed resolution after timeout or not allow that? (Anyone could front run it and approve before the arbitrator with the proposed parameters)
it("arbitrator change proposal - approve claim with proposal after timeout shound not change data (even with arbitrator)", async () => {
const { registry, vault, claimsManager, stakingToken, arbitrator } = await setup(accounts);
const { registry, claimsManager, arbitrator } = await setup(accounts);
const newBounty = 6000;
const newBeneficiary = accounts[5];
const challengePeriod = 60*60*24*1;
Expand All @@ -1099,7 +1099,7 @@ contract("Registry Arbitrator", (accounts) => {
});

it("arbitrator change proposal - approve claim with proposal after timeout cannot change claim data if not arbitrator", async () => {
const { registry, vault, claimsManager, stakingToken, arbitrator } = await setup(accounts);
const { registry, claimsManager, arbitrator } = await setup(accounts);
const newBounty = 6000;
const newBeneficiary = accounts[5];
const challengePeriod = 60*60*24*1;
Expand Down Expand Up @@ -1252,7 +1252,7 @@ contract("Registry Arbitrator", (accounts) => {
});

it("expired unchallenged claim can be dismissed by anyone", async () => {
const { registry, claimsManager, arbitrator } = await setup(accounts);
const { registry, claimsManager } = await setup(accounts);
const someAccount = accounts[5];
const challengePeriod = 60*60*24*1;
const challengeTimeOutPeriod = 60*60*24*2;
Expand Down
Loading