Skip to content

Commit 7d51fee

Browse files
authored
Merge pull request #786 from onflow/auto-update-onflow-cadence-v1.1.0
2 parents 7eb6328 + 0491056 commit 7d51fee

10 files changed

Lines changed: 18 additions & 16 deletions

File tree

decode.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ import (
2222
// NOTE: always import Cadence's stdlib package,
2323
// as it registers the type ID decoder for the Flow types,
2424
// e.g. `flow.AccountCreated`
25-
_ "github.com/onflow/cadence/runtime/stdlib"
25+
_ "github.com/onflow/cadence/stdlib"
2626
"github.com/onflow/flow/protobuf/go/flow/entities"
2727
)
2828

decode_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ package flow_test
2121
import (
2222
"testing"
2323

24-
"github.com/onflow/cadence/runtime/common"
25-
"github.com/onflow/cadence/runtime/stdlib"
24+
"github.com/onflow/cadence/common"
25+
"github.com/onflow/cadence/stdlib"
2626
"github.com/stretchr/testify/assert"
2727
"github.com/stretchr/testify/require"
2828

event.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ import (
2323
"time"
2424

2525
"github.com/onflow/cadence"
26-
"github.com/onflow/cadence/runtime/stdlib"
26+
"github.com/onflow/cadence/stdlib"
2727
"github.com/onflow/crypto/hash"
2828

2929
"github.com/onflow/flow-go-sdk/crypto"

examples/examples.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ import (
4040
"github.com/onflow/cadence"
4141
"github.com/onflow/flow-cli/flowkit/config/json"
4242

43-
"github.com/onflow/cadence/runtime/sema"
43+
"github.com/onflow/cadence/sema"
4444
)
4545

4646
const configPath = "./flow.json"

examples/go.mod

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ toolchain go1.22.4
77
replace github.com/onflow/flow-go-sdk => ../
88

99
require (
10-
github.com/onflow/cadence v1.0.0
10+
github.com/onflow/cadence v1.0.1-0.20241018173327-2e72919b18ac
1111
github.com/onflow/flow-cli/flowkit v1.11.0
1212
github.com/onflow/flow-go-sdk v0.41.17
1313
github.com/spf13/afero v1.11.0
@@ -41,7 +41,7 @@ require (
4141
github.com/logrusorgru/aurora/v4 v4.0.0 // indirect
4242
github.com/mattn/go-colorable v0.1.13 // indirect
4343
github.com/mattn/go-isatty v0.0.20 // indirect
44-
github.com/onflow/atree v0.8.0-rc.6 // indirect
44+
github.com/onflow/atree v0.8.0 // indirect
4545
github.com/onflow/crypto v0.25.1 // indirect
4646
github.com/onflow/flow/protobuf/go/flow v0.4.7 // indirect
4747
github.com/onflow/sdks v0.6.0-preview.1 // indirect

examples/go.sum

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,7 @@ github.com/onflow/atree v0.6.1-0.20230711151834-86040b30171f/go.mod h1:xvP61FoOs
105105
github.com/onflow/atree v0.6.1-0.20240429171449-cb486ceb1f9c/go.mod h1:xvP61FoOs95K7IYdIYRnNcYQGf4nbF/uuJ0tHf4DRuM=
106106
github.com/onflow/atree v0.7.0-rc.2/go.mod h1:xvP61FoOs95K7IYdIYRnNcYQGf4nbF/uuJ0tHf4DRuM=
107107
github.com/onflow/atree v0.8.0-rc.6/go.mod h1:yccR+LR7xc1Jdic0mrjocbHvUD7lnVvg8/Ct1AA5zBo=
108+
github.com/onflow/atree v0.8.0/go.mod h1:yccR+LR7xc1Jdic0mrjocbHvUD7lnVvg8/Ct1AA5zBo=
108109
github.com/onflow/cadence v0.42.7 h1:Qp9VYX901saO7wPwF/rwV4cMS+0mfWxnm9EqbYElYy4=
109110
github.com/onflow/cadence v0.42.7/go.mod h1:raU8va8QRyTa/eUbhej4mbyW2ETePfSaywoo36MddgE=
110111
github.com/onflow/cadence v1.0.0-M3/go.mod h1:odXGZZ/wGNA5mwT8bC9v8u8EXACHllB2ABSZK65TGL8=
@@ -118,6 +119,7 @@ github.com/onflow/cadence v1.0.0-preview.36/go.mod h1:jOwvPSSLTr9TvaKMs7KKiBYMmp
118119
github.com/onflow/cadence v1.0.0-preview.38/go.mod h1:jOwvPSSLTr9TvaKMs7KKiBYMmpdpNNAFxBsjMlrqVD0=
119120
github.com/onflow/cadence v1.0.0-preview.52/go.mod h1:7wvvecnAZtYOspLOS3Lh+FuAmMeSrXhAWiycC3kQ1UU=
120121
github.com/onflow/cadence v1.0.0/go.mod h1:7wvvecnAZtYOspLOS3Lh+FuAmMeSrXhAWiycC3kQ1UU=
122+
github.com/onflow/cadence v1.0.1-0.20241018173327-2e72919b18ac/go.mod h1:fJxxOAp1wnWDfOHT8GOc1ypsU0RR5E3z51AhG8Yf5jg=
121123
github.com/onflow/crypto v0.25.0 h1:BeWbLsh3ZD13Ej+Uky6kg1PL1ZIVBDVX+2MVBNwqddg=
122124
github.com/onflow/crypto v0.25.0/go.mod h1:C8FbaX0x8y+FxWjbkHy0Q4EASCDR9bSPWZqlpCLYyVI=
123125
github.com/onflow/crypto v0.25.1/go.mod h1:C8FbaX0x8y+FxWjbkHy0Q4EASCDR9bSPWZqlpCLYyVI=

go.mod

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ require (
99
github.com/aws/aws-sdk-go-v2 v1.27.0
1010
github.com/aws/aws-sdk-go-v2/config v1.27.15
1111
github.com/aws/aws-sdk-go-v2/service/kms v1.31.0
12-
github.com/onflow/cadence v1.0.0
12+
github.com/onflow/cadence v1.1.0
1313
github.com/onflow/crypto v0.25.1
1414
github.com/onflow/flow/protobuf/go/flow v0.4.7
1515
github.com/onflow/go-ethereum v1.13.4
@@ -59,7 +59,7 @@ require (
5959
github.com/logrusorgru/aurora/v4 v4.0.0 // indirect
6060
github.com/mattn/go-colorable v0.1.13 // indirect
6161
github.com/mattn/go-isatty v0.0.20 // indirect
62-
github.com/onflow/atree v0.8.0-rc.6 // indirect
62+
github.com/onflow/atree v0.8.0 // indirect
6363
github.com/pmezard/go-difflib v1.0.0 // indirect
6464
github.com/rivo/uniseg v0.4.4 // indirect
6565
github.com/rogpeppe/go-internal v1.10.0 // indirect

go.sum

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -131,10 +131,10 @@ github.com/mattn/go-colorable v0.1.13/go.mod h1:7S9/ev0klgBDR4GtXTXX8a3vIGJpMovk
131131
github.com/mattn/go-isatty v0.0.16/go.mod h1:kYGgaQfpe5nmfYZH+SKPsOc2e4SrIfOl2e/yFXSvRLM=
132132
github.com/mattn/go-isatty v0.0.20 h1:xfD0iDuEKnDkl03q4limB+vH+GxLEtL/jb4xVJSWWEY=
133133
github.com/mattn/go-isatty v0.0.20/go.mod h1:W+V8PltTTMOvKvAeJH7IuucS94S2C6jfK/D7dTCTo3Y=
134-
github.com/onflow/atree v0.8.0-rc.6 h1:GWgaylK24b5ta2Hq+TvyOF7X5tZLiLzMMn7lEt59fsA=
135-
github.com/onflow/atree v0.8.0-rc.6/go.mod h1:yccR+LR7xc1Jdic0mrjocbHvUD7lnVvg8/Ct1AA5zBo=
136-
github.com/onflow/cadence v1.0.0 h1:bvT75F2LZJvDCBmmajAv7QLISK6Qp30FAKcSwqNNH+o=
137-
github.com/onflow/cadence v1.0.0/go.mod h1:7wvvecnAZtYOspLOS3Lh+FuAmMeSrXhAWiycC3kQ1UU=
134+
github.com/onflow/atree v0.8.0 h1:qg5c6J1gVDNObughpEeWm8oxqhPGdEyGrda121GM4u0=
135+
github.com/onflow/atree v0.8.0/go.mod h1:yccR+LR7xc1Jdic0mrjocbHvUD7lnVvg8/Ct1AA5zBo=
136+
github.com/onflow/cadence v1.1.0 h1:wPg86IX1kRv6DWjdETxKa4tv6A3iAwJVzzKAwaGdtDA=
137+
github.com/onflow/cadence v1.1.0/go.mod h1:fJxxOAp1wnWDfOHT8GOc1ypsU0RR5E3z51AhG8Yf5jg=
138138
github.com/onflow/crypto v0.25.1 h1:0txy2PKPMM873JbpxQNbJmuOJtD56bfs48RQfm0ts5A=
139139
github.com/onflow/crypto v0.25.1/go.mod h1:C8FbaX0x8y+FxWjbkHy0Q4EASCDR9bSPWZqlpCLYyVI=
140140
github.com/onflow/flow/protobuf/go/flow v0.4.7 h1:iP6DFx4wZ3ETORsyeqzHu7neFT3d1CXF6wdK+AOOjmc=

templates/accounts.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,10 @@ import (
2424
"strings"
2525

2626
"github.com/onflow/cadence"
27+
"github.com/onflow/cadence/common"
2728
jsoncdc "github.com/onflow/cadence/encoding/json"
2829
"github.com/onflow/cadence/runtime"
29-
"github.com/onflow/cadence/runtime/common"
30-
"github.com/onflow/cadence/runtime/sema"
30+
"github.com/onflow/cadence/sema"
3131
templates "github.com/onflow/sdks"
3232

3333
"github.com/onflow/flow-go-sdk/crypto"

test/entities.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,9 @@ import (
2525
"time"
2626

2727
"github.com/onflow/cadence"
28+
"github.com/onflow/cadence/common"
2829
"github.com/onflow/cadence/encoding/ccf"
2930
jsoncdc "github.com/onflow/cadence/encoding/json"
30-
"github.com/onflow/cadence/runtime/common"
3131
"github.com/onflow/flow/protobuf/go/flow/entities"
3232

3333
"github.com/onflow/flow-go-sdk"

0 commit comments

Comments
 (0)