Skip to content

Commit

Permalink
Merge pull request #886 from onflow/bastian/update-flow-go-sdk
Browse files Browse the repository at this point in the history
update to Flow Go SDK 533a95abf0714f43d547a10b7afdf1f452f44780
  • Loading branch information
Kay-Zee authored Jun 23, 2021
2 parents 093ac9f + 8745361 commit 8e87229
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion fvm/fvm_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -530,7 +530,7 @@ func TestBlockContext_ExecuteTransaction_WithArguments(t *testing.T) {
fvm.WithCadenceLogging(true),
)

fooStr, _ := cadence.NewString("foo")
fooStr, _ := cadence.String("foo")
arg1, _ := jsoncdc.Encode(cadence.NewInt(42))
arg2, _ := jsoncdc.Encode(fooStr)

Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ require (
github.com/multiformats/go-multiaddr v0.3.1
github.com/onflow/cadence v0.18.0
github.com/onflow/flow-core-contracts/lib/go/contracts v0.7.3
github.com/onflow/flow-go-sdk v0.20.0-alpha.1
github.com/onflow/flow-go-sdk v0.20.1-0.20210623043139-533a95abf071
github.com/onflow/flow-go/crypto v0.18.0
github.com/onflow/flow/protobuf/go/flow v0.2.0
github.com/opentracing/opentracing-go v1.2.0
Expand Down
2 changes: 2 additions & 0 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -862,6 +862,8 @@ github.com/onflow/flow-ft/lib/go/contracts v0.5.0 h1:Cg4gHGVblxcejfNNG5Mfj98Wf4z
github.com/onflow/flow-ft/lib/go/contracts v0.5.0/go.mod h1:1zoTjp1KzNnOPkyqKmWKerUyf0gciw+e6tAEt0Ks3JE=
github.com/onflow/flow-go-sdk v0.20.0-alpha.1 h1:zy5viTpSQsfKgaoj9PgDOhoklLkG0Fze4okGFZ21Mus=
github.com/onflow/flow-go-sdk v0.20.0-alpha.1/go.mod h1:52QZyLwU3p3UZ2FXOy+sRl4JPdtvJoae1spIUBOFxA8=
github.com/onflow/flow-go-sdk v0.20.1-0.20210623043139-533a95abf071 h1:Ytzw/EZl32II4Y9dwbYvUeT19Tl/a2bNR6AfNGwfvbw=
github.com/onflow/flow-go-sdk v0.20.1-0.20210623043139-533a95abf071/go.mod h1:eTbMbxgmC5CAc4sSFsD2RfpVnt0vOLwWtGfnMppjvNM=
github.com/onflow/flow/protobuf/go/flow v0.1.9/go.mod h1:kRugbzZjwQqvevJhrnnCFMJZNmoSJmxlKt6hTGXZojM=
github.com/onflow/flow/protobuf/go/flow v0.2.0 h1:a4Cg0ekoqb76zeOEo1wtSWtlnhGXwcxebp0itFwGtlE=
github.com/onflow/flow/protobuf/go/flow v0.2.0/go.mod h1:kRugbzZjwQqvevJhrnnCFMJZNmoSJmxlKt6hTGXZojM=
Expand Down
2 changes: 1 addition & 1 deletion utils/unittest/generator/events.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ func (g *Events) New() flow.Event {
},
}

fooStr, err := cadence.NewString("foo")
fooStr, err := cadence.String("foo")
if err != nil {
panic(fmt.Sprintf("unexpected error while encoding events: %s", err))
}
Expand Down

0 comments on commit 8e87229

Please sign in to comment.