Skip to content

Commit

Permalink
Merge pull request #65 from onflow/cf/remove
Browse files Browse the repository at this point in the history
Remove account creation
  • Loading branch information
chasefleming authored May 14, 2024
2 parents 6f9d48c + 9ec48c8 commit 91772f4
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions internal/v1_1/generator.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 91772f4

Please sign in to comment.