@@ -144,27 +144,18 @@ const validate: ValidateUpgradeFunc = async (addresses, oldContracts, contracts,
144144 // 1. Validate PodAdminGateway has PROPOSER role on TribalCouncil and Protocol Pod
145145 /////////////// POD ADMIN GATEWAY //////////////////////
146146 const tribalCouncilTimelock = contracts . tribalCouncilTimelock ;
147- const gatewayIsCouncilProposer = await tribalCouncilTimelock . hasRole (
148- ethers . utils . id ( 'PROPOSER_ROLE' ) ,
149- addresses . podAdminGateway
150- ) ;
151- expect ( gatewayIsCouncilProposer ) . to . be . true ;
147+ expect ( await tribalCouncilTimelock . hasRole ( ethers . utils . id ( 'PROPOSER_ROLE' ) , addresses . podAdminGateway ) ) . to . be . false ;
148+ expect ( await tribalCouncilTimelock . hasRole ( ethers . utils . id ( 'CANCELLER_ROLE' ) , addresses . podAdminGateway ) ) . to . be . true ;
152149
153150 /////////////// TRIBAL COUNCIL //////////////////
154151 const councilPodAdmin = await podFactory . getPodAdmin ( tribalCouncilPodId ) ;
155152 expect ( councilPodAdmin ) . to . equal ( addresses . podAdminGateway ) ;
156153
157- const councilSafeIsProposer = await tribalCouncilTimelock . hasRole (
158- ethers . utils . id ( 'PROPOSER_ROLE' ) ,
159- tribalCouncilSafeAddress
160- ) ;
161- expect ( councilSafeIsProposer ) . to . be . true ;
154+ expect ( await tribalCouncilTimelock . hasRole ( ethers . utils . id ( 'PROPOSER_ROLE' ) , tribalCouncilSafeAddress ) ) . to . be . true ;
155+ expect ( await tribalCouncilTimelock . hasRole ( ethers . utils . id ( 'EXECUTOR_ROLE' ) , tribalCouncilSafeAddress ) ) . to . be . true ;
156+ expect ( await tribalCouncilTimelock . hasRole ( ethers . utils . id ( 'CANCELLER_ROLE' ) , tribalCouncilSafeAddress ) ) . to . be . true ;
162157
163- const podExecutorIsExecutor = await tribalCouncilTimelock . hasRole (
164- ethers . utils . id ( 'EXECUTOR_ROLE' ) ,
165- addresses . podExecutor
166- ) ;
167- expect ( podExecutorIsExecutor ) . to . be . true ;
158+ expect ( await tribalCouncilTimelock . hasRole ( ethers . utils . id ( 'EXECUTOR_ROLE' ) , addresses . podExecutor ) ) . to . be . true ;
168159
169160 const councilMembershipLocked = await podFactory . getIsMembershipTransferLocked ( tribalCouncilPodId ) ;
170161 expect ( councilMembershipLocked ) . to . be . true ;
0 commit comments