diff --git a/internal/v1_1/generator.go b/internal/v1_1/generator.go index 9b6faea..67a0dce 100644 --- a/internal/v1_1/generator.go +++ b/internal/v1_1/generator.go @@ -6,9 +6,6 @@ import ( "fmt" "strings" - "github.com/onflow/flow-go-sdk/crypto" - "github.com/onflow/flowkit/accounts" - "github.com/onflow/cadence/runtime/ast" "github.com/onflow/cadence/runtime/cmd" "github.com/onflow/cadence/runtime/common" @@ -57,12 +54,6 @@ func NewTemplateGenerator(contractInfos ContractInfos, logger output.Logger) (*G return nil, fmt.Errorf("could not initialize flowkit state %w", err) } - emulatorAccount, err := accounts.NewEmulatorAccount(loader, crypto.ECDSA_P256, crypto.SHA3_256, "") - if err != nil { - return nil, fmt.Errorf("could not create emulator account %w", err) - } - state.Accounts().AddOrUpdate(emulatorAccount) - testnetClient := flowkit.NewFlowkit(state, config.TestnetNetwork, gwt, logger) mainnetClient := flowkit.NewFlowkit(state, config.MainnetNetwork, gwm, logger) // add core contracts to deployed contracts