File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed
governance/xc_admin/packages/xc_admin_common/src/__tests__ Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -32,6 +32,7 @@ import {
32
32
DataSource ,
33
33
SetDataSources ,
34
34
} from "../governance_payload/SetDataSources" ;
35
+ import { SetTransactionFee } from "../governance_payload/SetTransactionFee" ;
35
36
36
37
test ( "GovernancePayload ser/de" , ( done ) => {
37
38
jest . setTimeout ( 60000 ) ;
@@ -424,6 +425,12 @@ function governanceActionArb(): Arbitrary<PythGovernanceAction> {
424
425
Buffer . from ( token ) ,
425
426
) ;
426
427
} ) ;
428
+ } else if ( header . action === "SetTransactionFee" ) {
429
+ return fc
430
+ . record ( { v : fc . bigUintN ( 64 ) , e : fc . bigUintN ( 64 ) } )
431
+ . map ( ( { v, e } ) => {
432
+ return new SetTransactionFee ( header . targetChainId , v , e ) ;
433
+ } ) ;
427
434
} else {
428
435
throw new Error ( "Unsupported action type" ) ;
429
436
}
You can’t perform that action at this time.
0 commit comments