Skip to content

Commit

Permalink
Acp77 init validator manager (#2349)
Browse files Browse the repository at this point in the history
* replace initPoAValidatormanager and initPoSValidatorManager with single initValidatorManager cmd

* lint
  • Loading branch information
arturrez authored Nov 21, 2024
1 parent bcf5d60 commit 68ec83a
Show file tree
Hide file tree
Showing 9 changed files with 231 additions and 391 deletions.
2 changes: 1 addition & 1 deletion cmd/blockchaincmd/deploy.go
Original file line number Diff line number Diff line change
Expand Up @@ -967,7 +967,7 @@ func deployBlockchain(cmd *cobra.Command, args []string) error {
ux.Logger.GreenCheckmarkToUser("Converted subnet successfully generated")
ux.Logger.PrintToUser("To finish conversion to sovereign L1, create the corresponding Avalanche node(s) with the provided Node ID and BLS Info")
ux.Logger.PrintToUser("Created Node ID and BLS Info can be found at %s", app.GetSidecarPath(blockchainName))
ux.Logger.PrintToUser("Once the Avalanche Node(s) are created and are tracking the blockchain, call `avalanche contract initPoaManager %s` to finish conversion to sovereign L1", blockchainName)
ux.Logger.PrintToUser("Once the Avalanche Node(s) are created and are tracking the blockchain, call `avalanche contract initValidatorManager %s` to finish conversion to sovereign L1", blockchainName)
}
} else {
if err := app.UpdateSidecarNetworks(&sidecar, network, subnetID, blockchainID, "", "", nil, clusterNameFlagValue); err != nil {
Expand Down
6 changes: 2 additions & 4 deletions cmd/contractcmd/contract.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,7 @@ and interacting with smart contracts.`,
app = injectedApp
// contract deploy
cmd.AddCommand(newDeployCmd())
// contract initpoamanager
cmd.AddCommand(newInitPOAManagerCmd())
// contract initposmanager
cmd.AddCommand(newInitPOSManagerCmd())
// contract initValidatorManager
cmd.AddCommand(newInitValidatorManagerCmd())
return cmd
}
168 changes: 0 additions & 168 deletions cmd/contractcmd/init_poa_validator_manager.go

This file was deleted.

203 changes: 0 additions & 203 deletions cmd/contractcmd/init_pos_validator_manager.go

This file was deleted.

Loading

0 comments on commit 68ec83a

Please sign in to comment.