Skip to content

Commit d8669b4

Browse files
Bump flow-go version (#56)
* attempt to update for restricted account creation change * update flow-go version to latest master (v0.17.6) * go mod tidy * fix tests * update flow-go version to v0.18.0 This is the version used in the most recent Canary spork and includes a new version of Cadence (v0.17.0) * update test for Cadence change * go mod tidy Co-authored-by: Janez Podhostnik <[email protected]>
1 parent 3bbdb94 commit d8669b4

File tree

4 files changed

+216
-51
lines changed

4 files changed

+216
-51
lines changed

blockchain.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -323,7 +323,6 @@ func configureFVM(conf config, blocks *blocks) (*fvm.VirtualMachine, fvm.Context
323323
fvm.WithChain(conf.GetChainID().Chain()),
324324
fvm.WithBlocks(blocks),
325325
fvm.WithRestrictedDeployment(false),
326-
fvm.WithRestrictedAccountCreation(false),
327326
fvm.WithGasLimit(conf.ScriptGasLimit),
328327
fvm.WithCadenceLogging(true),
329328
fvm.WithAccountStorageLimit(conf.StorageLimitEnabled),
@@ -441,6 +440,7 @@ func configureBootstrapProcedure(conf config, flowAccountKey flowgo.AccountPubli
441440
options := make([]fvm.BootstrapProcedureOption, 0)
442441
options = append(options,
443442
fvm.WithInitialTokenSupply(supply),
443+
fvm.WithRestrictedAccountCreationEnabled(false),
444444
)
445445
if conf.StorageLimitEnabled {
446446
options = append(options,

go.mod

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,14 @@ go 1.13
55
require (
66
github.com/dgraph-io/badger/v2 v2.0.3
77
github.com/fxamacker/cbor/v2 v2.2.1-0.20210510192846-c3f3c69e7bc8
8-
github.com/golang/mock v1.4.4
8+
github.com/golang/mock v1.5.0
99
github.com/grpc-ecosystem/go-grpc-prometheus v1.2.0
1010
github.com/improbable-eng/grpc-web v0.12.0
1111
github.com/logrusorgru/aurora v0.0.0-20200102142835-e9ef32dff381
12-
github.com/onflow/cadence v0.16.1
13-
github.com/onflow/flow-go v0.17.4
12+
github.com/onflow/cadence v0.17.0
13+
github.com/onflow/flow-go v0.18.0
1414
github.com/onflow/flow-go-sdk v0.20.0-alpha.1
15-
github.com/onflow/flow-go/crypto v0.12.0
15+
github.com/onflow/flow-go/crypto v0.18.0
1616
github.com/onflow/flow/protobuf/go/flow v0.2.0
1717
github.com/pkg/errors v0.9.1
1818
github.com/prometheus/client_golang v1.7.1
@@ -23,5 +23,5 @@ require (
2323
github.com/sirupsen/logrus v1.6.0
2424
github.com/spf13/cobra v0.0.6
2525
github.com/stretchr/testify v1.7.0
26-
google.golang.org/grpc v1.31.1
26+
google.golang.org/grpc v1.33.2
2727
)

0 commit comments

Comments
 (0)