Skip to content

Commit

Permalink
Merge pull request #54 from onflow/supun/update-cadence-v0.31.0
Browse files Browse the repository at this point in the history
Update languageserver to cadence v0.31.0
  • Loading branch information
SupunS authored Jan 4, 2023
2 parents 4039e16 + e9c0daf commit 151e8fd
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 32 deletions.
20 changes: 10 additions & 10 deletions languageserver/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ require (
github.com/google/uuid v1.3.0
github.com/mattn/go-isatty v0.0.16
github.com/mitchellh/mapstructure v1.5.0
github.com/onflow/cadence v0.30.0
github.com/onflow/cadence-tools/lint v0.3.0
github.com/onflow/flow-cli/pkg/flowkit v0.0.0-20221216000001-83fd0ee097ae
github.com/onflow/flow-go-sdk v0.30.0
github.com/onflow/cadence v0.31.0
github.com/onflow/cadence-tools/lint v0.4.0
github.com/onflow/flow-cli/pkg/flowkit v0.0.0-20230104181525-98129cdbc9f3
github.com/onflow/flow-go-sdk v0.31.0
github.com/sourcegraph/jsonrpc2 v0.1.0
github.com/spf13/afero v1.9.0
github.com/stretchr/testify v1.8.0
Expand Down Expand Up @@ -110,14 +110,14 @@ require (
github.com/multiformats/go-multihash v0.2.1 // indirect
github.com/multiformats/go-varint v0.0.6 // indirect
github.com/onflow/atree v0.4.0 // indirect
github.com/onflow/cadence-tools/test v0.3.0 // indirect
github.com/onflow/flow-core-contracts/lib/go/contracts v0.11.2-0.20221205150827-c68044a2505c // indirect
github.com/onflow/flow-core-contracts/lib/go/templates v0.11.2-0.20221205150827-c68044a2505c // indirect
github.com/onflow/flow-emulator v0.41.0 // indirect
github.com/onflow/cadence-tools/test v0.4.0 // indirect
github.com/onflow/flow-core-contracts/lib/go/contracts v0.11.2-0.20221214150253-cb74e7764c12 // indirect
github.com/onflow/flow-core-contracts/lib/go/templates v0.11.2-0.20221214150253-cb74e7764c12 // indirect
github.com/onflow/flow-emulator v0.42.0 // indirect
github.com/onflow/flow-ft/lib/go/contracts v0.5.0 // indirect
github.com/onflow/flow-go v0.28.1-0.20221214175701-076c0fd2a2f9 // indirect
github.com/onflow/flow-go v0.29.1 // indirect
github.com/onflow/flow-go/crypto v0.24.4 // indirect
github.com/onflow/flow/protobuf/go/flow v0.3.2-0.20221130185733-92eb85ead310 // indirect
github.com/onflow/flow/protobuf/go/flow v0.3.2-0.20221202093946-932d1c70e288 // indirect
github.com/onflow/sdks v0.4.4 // indirect
github.com/opentracing/opentracing-go v1.2.0 // indirect
github.com/pbnjay/memory v0.0.0-20210728143218-7b4eea64cf58 // indirect
Expand Down
40 changes: 20 additions & 20 deletions languageserver/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -570,30 +570,30 @@ github.com/olekukonko/tablewriter v0.0.1/go.mod h1:vsDQFd/mU46D+Z4whnwzcISnGGzXW
github.com/olekukonko/tablewriter v0.0.2-0.20190409134802-7e037d187b0c/go.mod h1:vsDQFd/mU46D+Z4whnwzcISnGGzXWMclvtLoiIKAKIo=
github.com/onflow/atree v0.4.0 h1:+TbNisavAkukAKhgQ4plWnvR9o5+SkwPIsi3jaeAqKs=
github.com/onflow/atree v0.4.0/go.mod h1:7Qe1xaW0YewvouLXrugzMFUYXNoRQ8MT/UsVAWx1Ndo=
github.com/onflow/cadence v0.30.0 h1:LzxvMLwGeRlUVFvGgprnBTE+En5DZ2NxRIB8wB9/d8U=
github.com/onflow/cadence v0.30.0/go.mod h1:oRgWkvau1RH15m3NuDlZCPHFQzwvC72jEstCGu8OJ98=
github.com/onflow/cadence-tools/lint v0.3.0 h1:oAonBaPNphZts4RlD+mV3kIz+VWuOUTD+wRkLD6mpPA=
github.com/onflow/cadence-tools/lint v0.3.0/go.mod h1:Vc3CqFRtaUxZbm1mkr+LCK1nHX9HESPZCuJnEmWRTw4=
github.com/onflow/cadence-tools/test v0.3.0 h1:+NEiRPq1TXJ1wQz/IMVSFPPcViHRIoVhtu/+NPjkKSI=
github.com/onflow/cadence-tools/test v0.3.0/go.mod h1:Vo2JfY5C7I1yzY4rBz2dYmvXZLNr+07xEyqVWEeUin4=
github.com/onflow/flow-cli/pkg/flowkit v0.0.0-20221216000001-83fd0ee097ae h1:ElU/wQzrGFoaoVBsrwHWacF1hDttQyKCeFGqadfA+y4=
github.com/onflow/flow-cli/pkg/flowkit v0.0.0-20221216000001-83fd0ee097ae/go.mod h1:QLH226ngE3xRZbroZQjW28QY5lPlJlHVqQbQkT0VuC0=
github.com/onflow/flow-core-contracts/lib/go/contracts v0.11.2-0.20221205150827-c68044a2505c h1:dA5dG9BxHVjPYx+aWFlKRBOtzHoNcx1OCNX2q0PspNg=
github.com/onflow/flow-core-contracts/lib/go/contracts v0.11.2-0.20221205150827-c68044a2505c/go.mod h1:9nrgjIF/noY2jJ7LP8bKLHTpcdHOa2yO0ryCKTQpxvs=
github.com/onflow/flow-core-contracts/lib/go/templates v0.11.2-0.20221205150827-c68044a2505c h1:0kPk0/ZZmGPQK0RgSmWdW5ag8txPvguhkpYeP0+geFY=
github.com/onflow/flow-core-contracts/lib/go/templates v0.11.2-0.20221205150827-c68044a2505c/go.mod h1:WMmeggH/H9Xb/SsT+4QFMtGYf+p1S2LXzbZAIaQQWAk=
github.com/onflow/flow-emulator v0.41.0 h1:lP73sJLBlXM81K6w+TV8vox2rZdUOUxkdMIL7F0pPQU=
github.com/onflow/flow-emulator v0.41.0/go.mod h1:jHRyN1y2SuM1WKgQXTJDbHX2aNIZdHZ2iR74uR7h0qs=
github.com/onflow/cadence v0.31.0 h1:UJ+muzR8kfbSs+K1kqMwHmMRnwKKHhHQfNzktGfxl1k=
github.com/onflow/cadence v0.31.0/go.mod h1:oRgWkvau1RH15m3NuDlZCPHFQzwvC72jEstCGu8OJ98=
github.com/onflow/cadence-tools/lint v0.4.0 h1:wp2cQPsW+K3hhQHic3GSVUrmaGwRZref5ffDiwqefOA=
github.com/onflow/cadence-tools/lint v0.4.0/go.mod h1:4Ki134gcUAWpSst/PkTuGf+SoC7uKgv+vekF5ehGJHw=
github.com/onflow/cadence-tools/test v0.4.0 h1:vyw0acOHVduz4SFbcdjo4tbPQBgFfrP0p+bjSQXN74I=
github.com/onflow/cadence-tools/test v0.4.0/go.mod h1:SWmiz3MmcI3Myg/Ji0faZivhASabuo9corSabb6cUYU=
github.com/onflow/flow-cli/pkg/flowkit v0.0.0-20230104181525-98129cdbc9f3 h1:9d2a/YUw60X+gdsNjQqo/Qsp6QhfXd//Wo5zyh5hg34=
github.com/onflow/flow-cli/pkg/flowkit v0.0.0-20230104181525-98129cdbc9f3/go.mod h1:VZjxZ06cy6dIk+K0X6mHRjIuEBLABEwcFl1zf7wCr3o=
github.com/onflow/flow-core-contracts/lib/go/contracts v0.11.2-0.20221214150253-cb74e7764c12 h1:tbWMfGrpVEKslasBLe/dEQ3ufgw0Q/8p+R7gpMW8xyM=
github.com/onflow/flow-core-contracts/lib/go/contracts v0.11.2-0.20221214150253-cb74e7764c12/go.mod h1:9nrgjIF/noY2jJ7LP8bKLHTpcdHOa2yO0ryCKTQpxvs=
github.com/onflow/flow-core-contracts/lib/go/templates v0.11.2-0.20221214150253-cb74e7764c12 h1:HrrDWFi3KdS54Mwayo9XkH8Z/yf6/8K1SKwjcJSSXB0=
github.com/onflow/flow-core-contracts/lib/go/templates v0.11.2-0.20221214150253-cb74e7764c12/go.mod h1:WMmeggH/H9Xb/SsT+4QFMtGYf+p1S2LXzbZAIaQQWAk=
github.com/onflow/flow-emulator v0.42.0 h1:paQ5wqEdaBqDiS1GxAPH4spn2tZCWgSMVcBu7Evzf6s=
github.com/onflow/flow-emulator v0.42.0/go.mod h1:owTQVgUfweB039WAoZUwFfN3ECeg0VMDYuuWbcTPICs=
github.com/onflow/flow-ft/lib/go/contracts v0.5.0 h1:Cg4gHGVblxcejfNNG5Mfj98Wf4zbY76O0Y28QB0766A=
github.com/onflow/flow-ft/lib/go/contracts v0.5.0/go.mod h1:1zoTjp1KzNnOPkyqKmWKerUyf0gciw+e6tAEt0Ks3JE=
github.com/onflow/flow-go v0.28.1-0.20221214175701-076c0fd2a2f9 h1:bAwS+PiBLfVyNhJzW7NQIXT0U7C83Da7JfH8TiD10Ow=
github.com/onflow/flow-go v0.28.1-0.20221214175701-076c0fd2a2f9/go.mod h1:qOP9GTvijq1pt3UQnjC4MTUiy7w4pEXGbf0UP7XpKIs=
github.com/onflow/flow-go-sdk v0.30.0 h1:Cb1kYW5DXZe7L6zblFvPItTdzGhmzVvCvFSyJWr8Nao=
github.com/onflow/flow-go-sdk v0.30.0/go.mod h1:KXw/XIsq8g6EdR0AEa+bq3QYNLAx/NNkzWFFJua5ARc=
github.com/onflow/flow-go v0.29.1 h1:a5tSSs0y+AD2hPFOeYRB9bEEZjhcuFFRgfWJDp+5raQ=
github.com/onflow/flow-go v0.29.1/go.mod h1:Y5wviOlZ6ok2u3L1zL4TlfAp/2GUtj8mD2i1sj1RA1A=
github.com/onflow/flow-go-sdk v0.31.0 h1:iGkRf5/mgihngl9eRW0SttlV75nSULmm9x9dHjs4V54=
github.com/onflow/flow-go-sdk v0.31.0/go.mod h1:u8WTV9hgnXcz7agKiuAKMgUt3GDE/R5XI3E4XmodUeI=
github.com/onflow/flow-go/crypto v0.24.4 h1:SwEtoVS2TidCIHYCZMgQ7U2YsqhI9upnw94fhdHTubM=
github.com/onflow/flow-go/crypto v0.24.4/go.mod h1:dkVL98P6GHR48iD9zCB6XlnkJX8IQd00FKgt1reV90w=
github.com/onflow/flow/protobuf/go/flow v0.3.2-0.20221130185733-92eb85ead310 h1:fOxDpxEi4XbOql9eMc2wBFil21TOdbnjuDjePgnI3Uc=
github.com/onflow/flow/protobuf/go/flow v0.3.2-0.20221130185733-92eb85ead310/go.mod h1:gQxYqCfkI8lpnKsmIjwtN2mV/N2PIwc1I+RUK4HPIc8=
github.com/onflow/flow/protobuf/go/flow v0.3.2-0.20221202093946-932d1c70e288 h1:haWv3D5loiH+zcOoWEvDXtWQvXt5U8PLliQjwhv9sfw=
github.com/onflow/flow/protobuf/go/flow v0.3.2-0.20221202093946-932d1c70e288/go.mod h1:gQxYqCfkI8lpnKsmIjwtN2mV/N2PIwc1I+RUK4HPIc8=
github.com/onflow/sdks v0.4.4 h1:aJPGJJLAN+mlBWAQxsyuJXeRRMFeLwU6Mp4e/YL6bdU=
github.com/onflow/sdks v0.4.4/go.mod h1:F0dj0EyHC55kknLkeD10js4mo14yTdMotnWMslPirrU=
github.com/onsi/ginkgo v1.6.0/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+WWjE=
Expand Down
4 changes: 2 additions & 2 deletions languageserver/integration/entrypoint_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ func Test_Codelensses(t *testing.T) {
title: "💡 Send with (hello: 10.0) signed by Alice",
command: "cadence.server.flow.sendTransaction",
ranges: protocol.Range{Start: protocol.Position{Line: 0x3, Character: 0x3}, End: protocol.Position{Line: 0x3, Character: 0x4}},
args: `"[{\"type\":\"UFix64\",\"value\":\"10.00000000\"}]"`,
args: `"[{\"value\":\"10.00000000\",\"type\":\"UFix64\"}]"`,
}, {
code: `transaction {}`,
title: "💡 Send signed by service account",
Expand All @@ -177,7 +177,7 @@ func Test_Codelensses(t *testing.T) {
title: `💡 Execute script with (hello: "hi")`,
command: "cadence.server.flow.executeScript",
ranges: protocol.Range{Start: protocol.Position{Line: 0x2, Character: 0x3}, End: protocol.Position{Line: 0x2, Character: 0x4}},
args: `"[{\"type\":\"String\",\"value\":\"hi\"}]"`,
args: `"[{\"value\":\"hi\",\"type\":\"String\"}]"`,
}, {
code: `
transaction {
Expand Down

0 comments on commit 151e8fd

Please sign in to comment.