migrate

package
v1.15.0-cadence-v1.0.0... Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 28, 2024 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Cmd = &cobra.Command{
	Use:              "migrate",
	Short:            "Migrate your Cadence project to 1.0",
	TraverseChildren: true,
	GroupID:          "migrate",
}
View Source
var IsStagedCommand = &command.Command{
	Cmd: &cobra.Command{
		Use:     "is-staged <CONTRACT_NAME>",
		Short:   "checks to see if the contract is staged for migration",
		Example: `flow migrate is-staged HelloWorld`,
		Args:    cobra.MinimumNArgs(1),
	},
	Flags: &isStagedflags,
	RunS:  isStaged,
}
View Source
var IsValidatedCommand = &command.Command{
	Cmd: &cobra.Command{
		Use:     "is-validated <CONTRACT_NAME>",
		Short:   "checks to see if the contract has passed the last emulated migration",
		Example: `flow migrate is-validated HelloWorld`,
		Args:    cobra.MinimumNArgs(1),
	},
	Flags: &isValidatedflags,
	RunS:  isValidated,
}

Functions

func MigrationContractStagingAddress

func MigrationContractStagingAddress(network string) flow.Address

MigrationContractStagingAddress returns the address of the migration contract on the given network

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL