@@ -184,7 +184,7 @@ describe('MCMS - IntegrationTest', () => {
184184 }
185185
186186 bind . timelock = blockchain . openContract ( rbactl . ContractClient . newFrom ( data , code . timelock ) )
187- bind . ac = blockchain . openContract ( ac . ContractClient . newAt ( bind . timelock . address ) )
187+ bind . ac = blockchain . openContract ( ac . ContractClient . createFromAddress ( bind . timelock . address ) )
188188 }
189189
190190 // Set up Counter contract
@@ -286,7 +286,7 @@ describe('MCMS - IntegrationTest', () => {
286286
287287 // Transfer ownership to Timelock
288288 const addr = bind . mcmsPropose . address
289- const ownable = blockchain . openContract ( ownable2step . ContractClient . newAt ( addr ) )
289+ const ownable = blockchain . openContract ( ownable2step . ContractClient . createFromAddress ( addr ) )
290290 await transferOwnershipToTimelock ( ownable )
291291 }
292292
@@ -333,7 +333,7 @@ describe('MCMS - IntegrationTest', () => {
333333
334334 // Transfer ownership to Timelock
335335 const addr = bind . mcmsVeto . address
336- const ownable = blockchain . openContract ( ownable2step . ContractClient . newAt ( addr ) )
336+ const ownable = blockchain . openContract ( ownable2step . ContractClient . createFromAddress ( addr ) )
337337 await transferOwnershipToTimelock ( ownable )
338338 }
339339
@@ -384,7 +384,7 @@ describe('MCMS - IntegrationTest', () => {
384384
385385 // Transfer ownership to Timelock
386386 const addr = bind . mcmsBypass . address
387- const ownable = blockchain . openContract ( ownable2step . ContractClient . newAt ( addr ) )
387+ const ownable = blockchain . openContract ( ownable2step . ContractClient . createFromAddress ( addr ) )
388388 await transferOwnershipToTimelock ( ownable )
389389 }
390390
@@ -402,7 +402,7 @@ describe('MCMS - IntegrationTest', () => {
402402 expect ( await bind . counter . getValue ( ) ) . toEqual ( 0 )
403403 expect (
404404 await blockchain
405- . openContract ( ownable2step . ContractClient . newAt ( bind . counter . address ) )
405+ . openContract ( ownable2step . ContractClient . createFromAddress ( bind . counter . address ) )
406406 . getOwner ( ) ,
407407 ) . toEqual ( bind . timelock . address )
408408 }
0 commit comments