@@ -459,8 +459,8 @@ func (b *bootstrapExecutor) Execute() error {
459459 // deploy staking collection contract to the service account
460460 b .deployStakingCollection (service , & env )
461461
462- // deploy flow callback scheduler contract to the service account
463- b .deployFlowCallbackScheduler (service , & env )
462+ // deploy flow transaction scheduler contract to the service account
463+ b .deployFlowTransactionScheduler (service , & env )
464464
465465 // sets up the EVM environment
466466 b .setupEVM (service , nonFungibleToken , fungibleToken , flowToken , & env )
@@ -798,7 +798,7 @@ func (b *bootstrapExecutor) deployNFTStorefrontV2(deployTo flow.Address, env *te
798798 panicOnMetaInvokeErrf ("failed to deploy NFTStorefrontV2 contract: %s" , txError , err )
799799}
800800
801- func (b * bootstrapExecutor ) deployFlowCallbackScheduler (deployTo flow.Address , env * templates.Environment ) {
801+ func (b * bootstrapExecutor ) deployFlowTransactionScheduler (deployTo flow.Address , env * templates.Environment ) {
802802 contract := contracts .FlowTransactionScheduler (* env )
803803 txBody , err := blueprints .DeployContractTransaction (deployTo , contract , "FlowTransactionScheduler" ).Build ()
804804 if err != nil {
@@ -811,6 +811,19 @@ func (b *bootstrapExecutor) deployFlowCallbackScheduler(deployTo flow.Address, e
811811
812812 env .FlowTransactionSchedulerAddress = deployTo .String ()
813813 panicOnMetaInvokeErrf ("failed to deploy FlowTransactionScheduler contract: %s" , txError , err )
814+
815+ contract = contracts .FlowTransactionSchedulerUtils (* env )
816+ txBody , err = blueprints .DeployContractTransaction (deployTo , contract , "FlowTransactionSchedulerUtils" ).Build ()
817+ if err != nil {
818+ panic (fmt .Sprintf ("failed to create FlowTransactionSchedulerUtils deploy transaction: %s" , err ))
819+ }
820+ txError , err = b .invokeMetaTransaction (
821+ b .ctx ,
822+ Transaction (txBody , 0 ),
823+ )
824+
825+ env .FlowTransactionSchedulerUtilsAddress = deployTo .String ()
826+ panicOnMetaInvokeErrf ("failed to deploy FlowTransactionSchedulerUtils contract: %s" , txError , err )
814827}
815828
816829func (b * bootstrapExecutor ) mintInitialTokens (
0 commit comments