Skip to content

Commit 60de708

Browse files
committed
deploy lockedtokens and stakingcollection after scheduled transactions
1 parent 3cb966e commit 60de708

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

fvm/bootstrap.go

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -453,15 +453,6 @@ func (b *bootstrapExecutor) Execute() error {
453453

454454
b.deployRandomBeaconHistory(service, &env)
455455

456-
// deploy staking proxy contract to the service account
457-
b.deployStakingProxyContract(service, &env)
458-
459-
// deploy locked tokens contract to the service account
460-
b.deployLockedTokensContract(service, &env)
461-
462-
// deploy staking collection contract to the service account
463-
b.deployStakingCollection(service, &env)
464-
465456
// sets up the EVM environment
466457
b.setupEVM(service, nonFungibleToken, fungibleToken, flowToken, &env)
467458
b.setupVMBridge(service, &env)
@@ -481,6 +472,15 @@ func (b *bootstrapExecutor) Execute() error {
481472
return err
482473
}
483474

475+
// deploy staking proxy contract to the service account
476+
b.deployStakingProxyContract(service, &env)
477+
478+
// deploy locked tokens contract to the service account
479+
b.deployLockedTokensContract(service, &env)
480+
481+
// deploy staking collection contract to the service account
482+
b.deployStakingCollection(service, &env)
483+
484484
b.registerNodes(service, fungibleToken, flowToken)
485485

486486
// set the list of nodes which are allowed to stake in this network

0 commit comments

Comments
 (0)