Skip to content

Commit

Permalink
fix: xvs -> xvsVault in GovernerBravo cancellation test
Browse files Browse the repository at this point in the history
  • Loading branch information
sam.h committed Oct 29, 2021
1 parent 5642bb7 commit 83ccbe0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/Governance/GovernorBravo/StateTest.js
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ describe('GovernorBravo#state/1', () => {

it("Canceled", async () => {
await enfranchise(accounts[0], 400000);
await send(xvs, 'delegate', [accounts[0]], { from: accounts[0] });
await send(xvsVault, 'delegate', [accounts[0]], { from: accounts[0] });
await mineBlock()
await send(gov, 'propose', [targets, values, signatures, callDatas, "do nothing"], { from: accounts[0] })
let newProposalId = await call(gov, 'proposalCount')
Expand All @@ -102,7 +102,7 @@ describe('GovernorBravo#state/1', () => {

it("Canceled by Guardian", async () => {
await enfranchise(accounts[0], 400000);
await send(xvs, 'delegate', [accounts[0]], { from: accounts[0] });
await send(xvsVault, 'delegate', [accounts[0]], { from: accounts[0] });
await mineBlock()
await send(gov, 'propose', [targets, values, signatures, callDatas, "do nothing"], { from: accounts[0] })
let newProposalId = await call(gov, 'proposalCount')
Expand Down

0 comments on commit 83ccbe0

Please sign in to comment.