@@ -40,7 +40,7 @@ async function deployToken(contractName) {
40
40
}
41
41
}
42
42
43
- describe ( 'Governor' , function ( ) {
43
+ describe . only ( 'Governor' , function ( ) {
44
44
for ( const { Token, mode } of TOKENS ) {
45
45
const fixture = async ( ) => {
46
46
const [ owner , proposer , voter1 , voter2 , voter3 , voter4 , userEOA ] = await ethers . getSigners ( ) ;
@@ -625,7 +625,7 @@ describe('Governor', function () {
625
625
626
626
await expect ( this . helper . connect ( this . owner ) . cancel ( 'external' ) )
627
627
. to . be . revertedWithCustomError ( this . mock , 'GovernorUnableToCancel' )
628
- . withArgs ( this . proposal . id , this . owner . address ) ;
628
+ . withArgs ( this . proposal . id , this . owner ) ;
629
629
} ) ;
630
630
631
631
it ( 'after vote started' , async function ( ) {
@@ -634,7 +634,7 @@ describe('Governor', function () {
634
634
635
635
await expect ( this . helper . cancel ( 'external' ) )
636
636
. to . be . revertedWithCustomError ( this . mock , 'GovernorUnableToCancel' )
637
- . withArgs ( this . proposal . id , this . owner . address ) ;
637
+ . withArgs ( this . proposal . id , this . owner ) ;
638
638
} ) ;
639
639
640
640
it ( 'after vote' , async function ( ) {
@@ -644,7 +644,7 @@ describe('Governor', function () {
644
644
645
645
await expect ( this . helper . cancel ( 'external' ) )
646
646
. to . be . revertedWithCustomError ( this . mock , 'GovernorUnableToCancel' )
647
- . withArgs ( this . proposal . id , this . voter1 . address ) ;
647
+ . withArgs ( this . proposal . id , this . voter1 ) ;
648
648
} ) ;
649
649
650
650
it ( 'after deadline' , async function ( ) {
@@ -655,7 +655,7 @@ describe('Governor', function () {
655
655
656
656
await expect ( this . helper . cancel ( 'external' ) )
657
657
. to . be . revertedWithCustomError ( this . mock , 'GovernorUnableToCancel' )
658
- . withArgs ( this . proposal . id , this . voter1 . address ) ;
658
+ . withArgs ( this . proposal . id , this . voter1 ) ;
659
659
} ) ;
660
660
661
661
it ( 'after execution' , async function ( ) {
@@ -667,7 +667,7 @@ describe('Governor', function () {
667
667
668
668
await expect ( this . helper . cancel ( 'external' ) )
669
669
. to . be . revertedWithCustomError ( this . mock , 'GovernorUnableToCancel' )
670
- . withArgs ( this . proposal . id , this . voter1 . address ) ;
670
+ . withArgs ( this . proposal . id , this . voter1 ) ;
671
671
} ) ;
672
672
} ) ;
673
673
} ) ;
0 commit comments