Skip to content

Commit dad6358

Browse files
authored
Merge pull request #616 from onflow/auto-update-onflow-cadence-v1.10.0
[languageserver] Update to Cadence v1.10.0
2 parents 4a54062 + 595c123 commit dad6358

3 files changed

Lines changed: 27 additions & 27 deletions

File tree

languageserver/go.mod

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,12 @@ require (
88
github.com/google/uuid v1.6.0
99
github.com/mattn/go-isatty v0.0.20
1010
github.com/mitchellh/mapstructure v1.5.0
11-
github.com/onflow/cadence v1.9.10
12-
github.com/onflow/cadence-tools/lint v1.7.6
13-
github.com/onflow/cadence-tools/test v1.11.4
14-
github.com/onflow/flow-go v0.47.0-ledger-service.1.0.20260318224013-f6e2e8f41961
15-
github.com/onflow/flow-go-sdk v1.9.16
16-
github.com/onflow/flowkit/v2 v2.11.2
11+
github.com/onflow/cadence v1.10.0
12+
github.com/onflow/cadence-tools/lint v1.9.0
13+
github.com/onflow/cadence-tools/test v1.12.0
14+
github.com/onflow/flow-go v0.47.0-ledger-service.1.0.20260320214141-968222a41c12
15+
github.com/onflow/flow-go-sdk v1.10.0
16+
github.com/onflow/flowkit/v2 v2.12.0
1717
github.com/sourcegraph/jsonrpc2 v0.1.0
1818
github.com/spf13/afero v1.15.0
1919
github.com/spf13/pflag v1.0.9
@@ -155,10 +155,10 @@ require (
155155
github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 // indirect
156156
github.com/ncruces/go-strftime v1.0.0 // indirect
157157
github.com/olekukonko/tablewriter v0.0.5 // indirect
158-
github.com/onflow/atree v0.12.1 // indirect
158+
github.com/onflow/atree v0.14.0 // indirect
159159
github.com/onflow/crypto v0.25.4 // indirect
160160
github.com/onflow/fixed-point v0.1.1 // indirect
161-
github.com/onflow/flow-emulator v1.18.0 // indirect
161+
github.com/onflow/flow-emulator v1.19.0 // indirect
162162
github.com/onflow/flow-evm-bridge v0.1.0 // indirect
163163
github.com/onflow/flow-ft/lib/go/contracts v1.0.1 // indirect
164164
github.com/onflow/flow-ft/lib/go/templates v1.0.1 // indirect

languageserver/go.sum

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -505,14 +505,14 @@ github.com/nxadm/tail v1.4.11/go.mod h1:OTaG3NK980DZzxbRq6lEuzgU+mug70nY11sMd4JX
505505
github.com/oklog/ulid v1.3.1/go.mod h1:CirwcVhetQ6Lv90oh/F+FBtV6XMibvdAFo93nm5qn4U=
506506
github.com/olekukonko/tablewriter v0.0.5 h1:P2Ga83D34wi1o9J6Wh1mRuqd4mF/x/lgBS7N7AbDhec=
507507
github.com/olekukonko/tablewriter v0.0.5/go.mod h1:hPp6KlRPjbx+hW8ykQs1w3UBbZlj6HuIJcUGPhkA7kY=
508-
github.com/onflow/atree v0.12.1 h1:WfnhnhZJISiRa6trEz2lq49my326xjzS1JRaH8naXv0=
509-
github.com/onflow/atree v0.12.1/go.mod h1:qdZcfLQwPirHcNpLiK+2t3KAo+SAb9Si6TqurE6pykE=
510-
github.com/onflow/cadence v1.9.10 h1:nFH8iPzXbYK2/+549QBVHX1yfKIlYBRivOSvQxf2bxk=
511-
github.com/onflow/cadence v1.9.10/go.mod h1:zvAa0UGFrj+lctflMzUtgmOsvEvtzWhyiXxAN73WSJY=
512-
github.com/onflow/cadence-tools/lint v1.7.6 h1:8EeK9K6CsNbKD6GmyFSLBEQLXmDC8dFHOxFZJnStAkw=
513-
github.com/onflow/cadence-tools/lint v1.7.6/go.mod h1:sUNKZVp7NUnb5b89p2usnppaZayd4iUG9driThMGzdQ=
514-
github.com/onflow/cadence-tools/test v1.11.4 h1:o6BY6QORgPTEJku7nA9iOWxqhIU7nxrFmqHdyEiJlpA=
515-
github.com/onflow/cadence-tools/test v1.11.4/go.mod h1:WCL35xkff78eBZ9UzHykPZtytHkYKVum7EqsPigfuGM=
508+
github.com/onflow/atree v0.14.0 h1:VFrvRsDBfBujviAseIYFb/KCo2mD4chcM7LpGbcCDdM=
509+
github.com/onflow/atree v0.14.0/go.mod h1:qdZcfLQwPirHcNpLiK+2t3KAo+SAb9Si6TqurE6pykE=
510+
github.com/onflow/cadence v1.10.0 h1:aRx7oFQeBL/jrIatT2Wu57fDk81VF1Pb7fr4qjG6mr4=
511+
github.com/onflow/cadence v1.10.0/go.mod h1:mERIJRX2NhMhtwGc1AvxVzyQJrnlPu0f+6l5YS7+epM=
512+
github.com/onflow/cadence-tools/lint v1.9.0 h1:CcMlWYm5Jbj1aZhHYd/8jlFv4sPwllmpzbg4efqKP/0=
513+
github.com/onflow/cadence-tools/lint v1.9.0/go.mod h1:lfylE9D5RgXuPUzlpeDo4fbfT7+uX0M5RHq6nMhYzYE=
514+
github.com/onflow/cadence-tools/test v1.12.0 h1:feg1mstcBR30W13xRC5oBGAkBKGcuYXjJiq9kJTNicU=
515+
github.com/onflow/cadence-tools/test v1.12.0/go.mod h1:eTPcSPo4a33xtk9l0hf34teL3r3CVqqNmWRVe+2OIeY=
516516
github.com/onflow/crypto v0.25.4 h1:R615PWPdSoA5RATNb/j3cYaloBIZlSXVNgS7BjwHiwM=
517517
github.com/onflow/crypto v0.25.4/go.mod h1:DlkW/1SPUvLHYvUcjWa9PkLIRgSBKR4EDc3i+ATQKW4=
518518
github.com/onflow/fixed-point v0.1.1 h1:j0jYZVO8VGyk1476alGudEg7XqCkeTVxb5ElRJRKS90=
@@ -521,26 +521,26 @@ github.com/onflow/flow-core-contracts/lib/go/contracts v1.9.3 h1:AFl2fKKXhSW0X0K
521521
github.com/onflow/flow-core-contracts/lib/go/contracts v1.9.3/go.mod h1:hV8Pi5pGraiY8f9k0tAeuky6m+NbIMvxf7wg5QZ+e8k=
522522
github.com/onflow/flow-core-contracts/lib/go/templates v1.9.3 h1:b70XytJTPthaLcQJC3neGLZbQGBEw/SvKgYVNUv1JKM=
523523
github.com/onflow/flow-core-contracts/lib/go/templates v1.9.3/go.mod h1:isMJm+rK6U+pZHlet7BL5jlCMPfcCmneTFxLHLVUfuo=
524-
github.com/onflow/flow-emulator v1.18.0 h1:0MQSnToU+I1RR60PtcXIplX+PYEcpMbVTOQGHt3d/Y0=
525-
github.com/onflow/flow-emulator v1.18.0/go.mod h1:86VNdkxtOo4QvcIupaYrub/8hI4XpquG1/v9XASRpis=
524+
github.com/onflow/flow-emulator v1.19.0 h1:tMey6UNWZivnpOG+7+F8BYJbG5b9P0BdIAqDOd5IqXk=
525+
github.com/onflow/flow-emulator v1.19.0/go.mod h1:rVrzdGAyhFeg4y6Ht8Qu/R/COzPdSU8m/QGyxAQUAKQ=
526526
github.com/onflow/flow-evm-bridge v0.1.0 h1:7X2osvo4NnQgHj8aERUmbYtv9FateX8liotoLnPL9nM=
527527
github.com/onflow/flow-evm-bridge v0.1.0/go.mod h1:5UYwsnu6WcBNrwitGFxphCl5yq7fbWYGYuiCSTVF6pk=
528528
github.com/onflow/flow-ft/lib/go/contracts v1.0.1 h1:Ts5ob+CoCY2EjEd0W6vdLJ7hLL3SsEftzXG2JlmSe24=
529529
github.com/onflow/flow-ft/lib/go/contracts v1.0.1/go.mod h1:PwsL8fC81cjnUnTfmyL/HOIyHnyaw/JA474Wfj2tl6A=
530530
github.com/onflow/flow-ft/lib/go/templates v1.0.1 h1:FDYKAiGowABtoMNusLuRCILIZDtVqJ/5tYI4VkF5zfM=
531531
github.com/onflow/flow-ft/lib/go/templates v1.0.1/go.mod h1:uQ8XFqmMK2jxyBSVrmyuwdWjTEb+6zGjRYotfDJ5pAE=
532-
github.com/onflow/flow-go v0.47.0-ledger-service.1.0.20260318224013-f6e2e8f41961 h1:i5HO66sFICzgiquwzPFyn9aSgwf1aD55mkC1131lzeQ=
533-
github.com/onflow/flow-go v0.47.0-ledger-service.1.0.20260318224013-f6e2e8f41961/go.mod h1:daAOj9QUhoM6alAG3MsQ2gtJzSxtiWuOWUIgQpnsGrg=
534-
github.com/onflow/flow-go-sdk v1.9.16 h1:M+BAifzh9g7pIjWsR5Xtx5HzO6Wg7lC7shJzMtX5q/k=
535-
github.com/onflow/flow-go-sdk v1.9.16/go.mod h1:UN1/6AS+TZLI1Q/uxsgTQ9dbWPHbts+EAp+l6AfGh6U=
532+
github.com/onflow/flow-go v0.47.0-ledger-service.1.0.20260320214141-968222a41c12 h1:mLmMDtVzi1BiTd9x413XkDH08AQNmjoOf4PKKGLs+1M=
533+
github.com/onflow/flow-go v0.47.0-ledger-service.1.0.20260320214141-968222a41c12/go.mod h1:G4iPRm5pseSjGbw8ejf+oNyzDA7QpOBqioa7fYLstBQ=
534+
github.com/onflow/flow-go-sdk v1.10.0 h1:9SDON8fRUmCHfpsjLbO5z1+IpeZy+mcs49guZN3iktw=
535+
github.com/onflow/flow-go-sdk v1.10.0/go.mod h1:SIs8hSgvC9qhWwFIpbxd5dfTthBbCHaxULVV3Z226XA=
536536
github.com/onflow/flow-nft/lib/go/contracts v1.3.0 h1:DmNop+O0EMyicZvhgdWboFG57xz5t9Qp81FKlfKyqJc=
537537
github.com/onflow/flow-nft/lib/go/contracts v1.3.0/go.mod h1:eZ9VMMNfCq0ho6kV25xJn1kXeCfxnkhj3MwF3ed08gY=
538538
github.com/onflow/flow-nft/lib/go/templates v1.3.0 h1:uGIBy4GEY6Z9hKP7sm5nA5kwvbvLWW4nWx5NN9Wg0II=
539539
github.com/onflow/flow-nft/lib/go/templates v1.3.0/go.mod h1:gVbb5fElaOwKhV5UEUjM+JQTjlsguHg2jwRupfM/nng=
540540
github.com/onflow/flow/protobuf/go/flow v0.4.20 h1:Ndq2l7Nu8p/RWNSRIRrpnBUpzfc5fYLEmHCFpJ9JGgo=
541541
github.com/onflow/flow/protobuf/go/flow v0.4.20/go.mod h1:NA2pX2nw8zuaxfKphhKsk00kWLwfd+tv8mS23YXO4Sk=
542-
github.com/onflow/flowkit/v2 v2.11.2 h1:bVJer79yQGKx8VvoFbyWOIxTTrH2oAeNrkjDT3aUYdU=
543-
github.com/onflow/flowkit/v2 v2.11.2/go.mod h1:oQiLITBl+1H5o5acR/c3ReT3FagmSqwTGB5NlGDzxaw=
542+
github.com/onflow/flowkit/v2 v2.12.0 h1:MPSCq0Zs6dzAOCdu0Qd87izX8lNgkTn52fi4JNjLH+Y=
543+
github.com/onflow/flowkit/v2 v2.12.0/go.mod h1:Npppk5fG9TMvyiCkAlJowmi3q/62MyYvaQNSzgMQMvM=
544544
github.com/onflow/go-ethereum v1.13.4 h1:iNO86fm8RbBbhZ87ZulblInqCdHnAQVY8okBrNsTevc=
545545
github.com/onflow/go-ethereum v1.13.4/go.mod h1:cE/gEUkAffhwbVmMJYz+t1dAfVNHNwZCgc3BWtZxBGY=
546546
github.com/onflow/nft-storefront/lib/go/contracts v1.0.0 h1:sxyWLqGm/p4EKT6DUlQESDG1ZNMN9GjPCm1gTq7NGfc=

languageserver/test/index.test.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@ describe("diagnostics", () => {
237237
test("script auth account", async () =>
238238
testCode(
239239
`access(all) fun main() { log(getAuthAccount<&Account>(0x01)) }`,
240-
[]
240+
["hardcoded address detected — consider using named address imports for portability"]
241241
));
242242

243243
test("transaction", async () =>
@@ -281,7 +281,7 @@ describe("diagnostics", () => {
281281
log(get)
282282
}
283283
`,
284-
[]
284+
["hardcoded address detected — consider using named address imports for portability"]
285285
));
286286

287287
test("unused result", async () =>
@@ -292,7 +292,7 @@ describe("diagnostics", () => {
292292
getAccount(0x1)
293293
}
294294
`,
295-
["unused result"]
295+
["hardcoded address detected — consider using named address imports for portability", "unused result"]
296296
));
297297

298298
test("InternalEVM contract exists", async () =>

0 commit comments

Comments
 (0)