Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Updated proto paths to new location #198

Merged
merged 2 commits into from
Aug 22, 2022
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions checkpoint/parse.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ import (
"io/ioutil"
"os"

checkpoint "code.vegaprotocol.io/protos/vega/checkpoint/v1"
events "code.vegaprotocol.io/protos/vega/events/v1"
checkpoint "code.vegaprotocol.io/vega/protos/vega/checkpoint/v1"
events "code.vegaprotocol.io/vega/protos/vega/events/v1"

"github.com/golang/protobuf/proto"
)
Expand Down
15 changes: 7 additions & 8 deletions checkpoint/type.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ import (
"strings"
"time"

"code.vegaprotocol.io/protos/vega"
checkpoint "code.vegaprotocol.io/protos/vega/checkpoint/v1"
events "code.vegaprotocol.io/protos/vega/events/v1"
"code.vegaprotocol.io/vega/protos/vega"
checkpoint "code.vegaprotocol.io/vega/protos/vega/checkpoint/v1"
events "code.vegaprotocol.io/vega/protos/vega/events/v1"

"github.com/golang/protobuf/jsonpb"
"github.com/golang/protobuf/proto"
Expand Down Expand Up @@ -359,11 +359,10 @@ func dummy() *all {
ae := &checkpoint.AssetEntry{
Id: "ETH",
AssetDetails: &vega.AssetDetails{
Name: "ETH",
Symbol: "ETH",
TotalSupply: "100000000000",
Decimals: 5,
Quantum: "",
Name: "ETH",
Symbol: "ETH",
Decimals: 5,
Quantum: "",
Source: &vega.AssetDetails_BuiltinAsset{
BuiltinAsset: &vega.BuiltinAsset{
MaxFaucetAmountMint: "100000000000",
Expand Down
4 changes: 2 additions & 2 deletions delegationviewer/delegationviewer.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ import (
"strings"
"time"

api "code.vegaprotocol.io/protos/data-node/api/v1"
proto "code.vegaprotocol.io/protos/vega"
api "code.vegaprotocol.io/vega/protos/data-node/api/v1"
proto "code.vegaprotocol.io/vega/protos/vega"

"github.com/gdamore/tcell/v2"
"google.golang.org/grpc"
Expand Down
2 changes: 1 addition & 1 deletion eventpersister/eventpersister.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
"path/filepath"
"sync"

eventspb "code.vegaprotocol.io/protos/vega/events/v1"
eventspb "code.vegaprotocol.io/vega/protos/vega/events/v1"
"code.vegaprotocol.io/vegatools/stream"

"github.com/golang/protobuf/proto"
Expand Down
2 changes: 1 addition & 1 deletion eventrate/eventrate.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"sync"
"time"

eventspb "code.vegaprotocol.io/protos/vega/events/v1"
eventspb "code.vegaprotocol.io/vega/protos/vega/events/v1"
"code.vegaprotocol.io/vegatools/stream"
"google.golang.org/protobuf/proto"
)
Expand Down
2 changes: 1 addition & 1 deletion eventsource/datanode_eventsource.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"path/filepath"
"time"

eventspb "code.vegaprotocol.io/protos/vega/events/v1"
eventspb "code.vegaprotocol.io/vega/protos/vega/events/v1"
"code.vegaprotocol.io/vegatools/stream"
)

Expand Down
2 changes: 1 addition & 1 deletion eventsource/eventsource.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"os"
"time"

eventspb "code.vegaprotocol.io/protos/vega/events/v1"
eventspb "code.vegaprotocol.io/vega/protos/vega/events/v1"

"github.com/golang/protobuf/proto"
)
Expand Down
3 changes: 2 additions & 1 deletion eventsource/socketclient.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,13 @@ package eventsource
import (
"fmt"

eventspb "code.vegaprotocol.io/protos/vega/events/v1"
eventspb "code.vegaprotocol.io/vega/protos/vega/events/v1"

"github.com/golang/protobuf/proto"
mangos "go.nanomsg.org/mangos/v3"
"go.nanomsg.org/mangos/v3/protocol"
"go.nanomsg.org/mangos/v3/protocol/push"

// Required for socket client
_ "go.nanomsg.org/mangos/v3/transport/inproc"
// Required for socket client
Expand Down
8 changes: 4 additions & 4 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ module code.vegaprotocol.io/vegatools
go 1.18

require (
code.vegaprotocol.io/protos v0.53.1-0.20220728102859-02ab6d8a0804
code.vegaprotocol.io/shared v0.0.0-20220704150014-7c22d12ccb72
code.vegaprotocol.io/vega v0.54.0
github.com/cosmos/iavl v0.19.1
github.com/ethereum/go-ethereum v1.10.21
github.com/gdamore/tcell/v2 v2.5.2
Expand All @@ -22,7 +22,7 @@ require (

require (
github.com/DataDog/zstd v1.4.1 // indirect
github.com/StackExchange/wmi v0.0.0-20180116203802-5d049714c4a6 // indirect
github.com/StackExchange/wmi v1.2.1 // indirect
github.com/btcsuite/btcd/btcec/v2 v2.2.0 // indirect
github.com/cespare/xxhash v1.1.0 // indirect
github.com/confio/ics23/go v0.7.0 // indirect
Expand All @@ -41,7 +41,7 @@ require (
github.com/google/btree v1.0.0 // indirect
github.com/google/uuid v1.3.0 // indirect
github.com/gorilla/websocket v1.5.0 // indirect
github.com/grpc-ecosystem/grpc-gateway/v2 v2.7.3 // indirect
github.com/grpc-ecosystem/grpc-gateway/v2 v2.9.0 // indirect
github.com/inconshreveable/mousetrap v1.0.0 // indirect
github.com/jmhodges/levigo v1.0.0 // indirect
github.com/lucasb-eyer/go-colorful v1.2.0 // indirect
Expand All @@ -57,7 +57,7 @@ require (
github.com/tklauser/numcpus v0.4.0 // indirect
go.etcd.io/bbolt v1.3.6 // indirect
golang.org/x/net v0.0.0-20220617184016-355a448f1bc9 // indirect
golang.org/x/sys v0.0.0-20220615213510-4f61da869c0c // indirect
golang.org/x/sys v0.0.0-20220702020025-31831981b65f // indirect
golang.org/x/term v0.0.0-20220526004731-065cf7ba2467 // indirect
golang.org/x/text v0.3.7 // indirect
google.golang.org/genproto v0.0.0-20220519153652-3a47de7e79bd // indirect
Expand Down
22 changes: 12 additions & 10 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -59,10 +59,10 @@ cloud.google.com/go/storage v1.6.0/go.mod h1:N7U0C8pVQ/+NIKOBQyamJIeKQKkZ+mxpohl
cloud.google.com/go/storage v1.8.0/go.mod h1:Wv1Oy7z6Yz3DshWRJFhqM/UCfaWIRTdp0RXyy7KQOVs=
cloud.google.com/go/storage v1.10.0/go.mod h1:FLPqc6j+Ki4BU591ie1oL6qBQGu2Bl/tZ9ullr3+Kg0=
cloud.google.com/go/storage v1.14.0/go.mod h1:GrKmX003DSIwi9o29oFT7YDnHYwZoctc3fOKtUw0Xmo=
code.vegaprotocol.io/protos v0.53.1-0.20220728102859-02ab6d8a0804 h1:PhkvOMWgSKcNYCAORAGGvXtKCrx5cXVWdoIsg1VFFjY=
code.vegaprotocol.io/protos v0.53.1-0.20220728102859-02ab6d8a0804/go.mod h1:w0qUn/OS658H8GvZ4kDUkdG4txItw4ypOnBrKAO4PfY=
code.vegaprotocol.io/shared v0.0.0-20220704150014-7c22d12ccb72 h1:BJwmbEbC+ujqLSA1dSyUwDOc4+aRoZcndj/RM210CtE=
code.vegaprotocol.io/shared v0.0.0-20220704150014-7c22d12ccb72/go.mod h1:P9MfU2GyzI4Vc7OrKx9+qN9JV0bNGFB/aYe0++e7158=
code.vegaprotocol.io/vega v0.54.0 h1:9EtjcRaHplRqaAmA3pjNmywLG6/pM73BSDt1Mjw3i9k=
code.vegaprotocol.io/vega v0.54.0/go.mod h1:HVezQET9uiULSSjEEEh8zV1k1T9fcJhqNP95uQZXOs8=
contrib.go.opencensus.io/exporter/stackdriver v0.13.4/go.mod h1:aXENhDJ1Y4lIg4EUaVTwzvYETVNZk10Pu26tevFKLUc=
dmitri.shuralyov.com/gpu/mtl v0.0.0-20190408044501-666a987793e9/go.mod h1:H6x//7gZCb22OMCxBHrMx7a5I7Hp++hsVxbQ4BYO7hU=
github.com/Antonboom/errname v0.1.6/go.mod h1:7lz79JAnuoMNDAWE9MeeIr1/c/VpSUWatBv2FH9NYpI=
Expand Down Expand Up @@ -98,8 +98,8 @@ github.com/OneOfOne/xxhash v1.2.2/go.mod h1:HSdplMjZKSmBqAxg5vPj2TmRDmfkzw+cTzAE
github.com/OpenPeeDeeP/depguard v1.1.0/go.mod h1:JtAMzWkmFEzDPyAd+W0NHl1lvpQKTvT9jnRVsohBKpc=
github.com/Shopify/sarama v1.19.0/go.mod h1:FVkBWblsNy7DGZRfXLU0O9RCGt5g3g3yEuWXgklEdEo=
github.com/Shopify/toxiproxy v2.1.4+incompatible/go.mod h1:OXgGpZ6Cli1/URJOF1DMxUHB2q5Ap20/P/eIdh4G0pI=
github.com/StackExchange/wmi v0.0.0-20180116203802-5d049714c4a6 h1:fLjPD/aNc3UIOA6tDi6QXUemppXK3P9BI7mr2hd6gx8=
github.com/StackExchange/wmi v0.0.0-20180116203802-5d049714c4a6/go.mod h1:3eOhrUMpNV+6aFIbp5/iudMxNCF27Vw2OZgy4xEx0Fg=
github.com/StackExchange/wmi v1.2.1 h1:VIkavFPXSjcnS+O8yTq7NI32k0R5Aj+v39y29VYDOSA=
github.com/StackExchange/wmi v1.2.1/go.mod h1:rcmrprowKIVzvc+NUiLncP2uuArMWLCbu9SBzvHz7e8=
github.com/VictoriaMetrics/fastcache v1.6.0 h1:C/3Oi3EiBCqufydp1neRZkqcwmEiuRT9c3fqvvgKm5o=
github.com/VividCortex/gohistogram v1.0.0/go.mod h1:Pf5mBqqDxYaXu3hDrrU+w6nw50o/4+TcAqDqk/vUH7g=
github.com/Workiva/go-datastructures v1.0.53/go.mod h1:1yZL+zfsztete+ePzZz/Zb1/t5BnDuE2Ya2MMGhzP6A=
Expand Down Expand Up @@ -331,6 +331,7 @@ github.com/go-logfmt/logfmt v0.3.0/go.mod h1:Qt1PoO58o5twSAckw1HlFXLmHsOX5/0LbT9
github.com/go-logfmt/logfmt v0.4.0/go.mod h1:3RMwSq7FuexP4Kalkev3ejPJsZTpXXBr9+V4qmtdjCk=
github.com/go-logfmt/logfmt v0.5.0/go.mod h1:wCYkCAKZfumFQihp8CzCvQ3paCTfi41vtzG1KdI/P7A=
github.com/go-logfmt/logfmt v0.5.1/go.mod h1:WYhtIu8zTZfxdn5+rREduYbwxfcBr/Vr6KEVveWlfTs=
github.com/go-ole/go-ole v1.2.5/go.mod h1:pprOEPIfldk/42T2oK7lQ4v4JSDwmV0As9GaiUsvbm0=
github.com/go-ole/go-ole v1.2.6 h1:/Fpf6oFPoeFik9ty7siob0G6Ke8QvQEuVcuChpwXzpY=
github.com/go-ole/go-ole v1.2.6/go.mod h1:pprOEPIfldk/42T2oK7lQ4v4JSDwmV0As9GaiUsvbm0=
github.com/go-redis/redis v6.15.8+incompatible/go.mod h1:NAIEuMOZ/fxfXJIrKDQDz8wamY7mA7PouImQ2Jvg6kA=
Expand Down Expand Up @@ -382,8 +383,8 @@ github.com/golang/mock v1.4.1/go.mod h1:UOMv5ysSaYNkG+OFQykRIcU/QvvxJf3p21QfJ2Bt
github.com/golang/mock v1.4.3/go.mod h1:UOMv5ysSaYNkG+OFQykRIcU/QvvxJf3p21QfJ2Bt3cw=
github.com/golang/mock v1.4.4/go.mod h1:l3mdAwkq5BuhzHwde/uurv3sEJeZMXNpwsxVWU71h+4=
github.com/golang/mock v1.5.0/go.mod h1:CWnOUgYIOo4TcNZ0wHX3YZCqsaM1I1Jvs6v3mP3KVu8=
github.com/golang/mock v1.6.0 h1:ErTB+efbowRARo13NNdxyJji2egdxLGQhRaY+DUumQc=
github.com/golang/mock v1.6.0/go.mod h1:p6yTPP+5HYm5mzsMV8JkE6ZKdX+/wYM6Hr+LicevLPs=
github.com/golang/mock v1.6.1-0.20220512030613-73266f9366fc h1:DxRM2MRFDKF8JGaT1ZSsCZ9KxoOki+rrOoB011jIEDc=
github.com/golang/protobuf v1.1.0/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U=
github.com/golang/protobuf v1.2.0/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U=
github.com/golang/protobuf v1.3.1/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U=
Expand Down Expand Up @@ -510,8 +511,8 @@ github.com/grpc-ecosystem/go-grpc-prometheus v1.2.0/go.mod h1:8NvIoxWQoOIhqOTXgf
github.com/grpc-ecosystem/grpc-gateway v1.9.5/go.mod h1:vNeuVxBJEsws4ogUvrchl83t/GYV9WGTSLVdBhOQFDY=
github.com/grpc-ecosystem/grpc-gateway v1.12.1/go.mod h1:8XEsbTttt/W+VvjtQhLACqCisSPWTxCZ7sBRjU6iH9c=
github.com/grpc-ecosystem/grpc-gateway v1.16.0/go.mod h1:BDjrQk3hbvj6Nolgz8mAMFbcEtjT1g+wF4CSlocrBnw=
github.com/grpc-ecosystem/grpc-gateway/v2 v2.7.3 h1:I8MsauTJQXZ8df8qJvEln0kYNc3bSapuaSsEsnFdEFU=
github.com/grpc-ecosystem/grpc-gateway/v2 v2.7.3/go.mod h1:lZdb/YAJUSj9OqrCHs2ihjtoO3+xK3G53wTYXFWRGDo=
github.com/grpc-ecosystem/grpc-gateway/v2 v2.9.0 h1:SLkFeyLhrg86Ny5Wme4MGGace7EHfgsb07uWX/QUGEQ=
github.com/grpc-ecosystem/grpc-gateway/v2 v2.9.0/go.mod h1:z5aB5opCfWSoAzCrC18hMgjy4oWJ2dPXkn+f3kqTHxI=
github.com/gtank/merlin v0.1.1-0.20191105220539-8318aed1a79f/go.mod h1:T86dnYJhcGOh5BjZFCJWTDeTK7XW8uE+E21Cy/bIQ+s=
github.com/gtank/merlin v0.1.1/go.mod h1:T86dnYJhcGOh5BjZFCJWTDeTK7XW8uE+E21Cy/bIQ+s=
github.com/gtank/ristretto255 v0.1.2/go.mod h1:Ph5OpO6c7xKUGROZfWVLiJf9icMDwUeIvY4OmlYW69o=
Expand Down Expand Up @@ -1004,7 +1005,7 @@ github.com/tomasen/realip v0.0.0-20180522021738-f0c99a92ddce/go.mod h1:o8v6yHRoi
github.com/tommy-muehle/go-mnd/v2 v2.5.0/go.mod h1:WsUAkMJMYww6l/ufffCD3m+P7LEvr8TnZn9lwVDlgzw=
github.com/ttacon/chalk v0.0.0-20160626202418-22c06c80ed31/go.mod h1:onvgF043R+lC5RZ8IT9rBXDaEDnpnw/Cl+HFiw+v/7Q=
github.com/tv42/httpunix v0.0.0-20150427012821-b75d8614f926/go.mod h1:9ESjWnEqriFuLhtthL60Sar/7RFoluCcXsuvEwTV5KM=
github.com/tyler-smith/go-bip39 v1.0.1-0.20181017060643-dbb3b84ba2ef h1:wHSqTBrZW24CsNJDfeh9Ex6Pm0Rcpc7qrgKBiL44vF4=
github.com/tyler-smith/go-bip39 v1.1.0 h1:5eUemwrMargf3BSLRRCalXT93Ns6pQJIjYQN2nyfOP8=
github.com/ugorji/go/codec v0.0.0-20181204163529-d75b2dcb6bc8/go.mod h1:VFNgLljTbGfSG7qAOspJ7OScBnGdDN/yBr0sguwnwf0=
github.com/ultraware/funlen v0.0.3/go.mod h1:Dp4UiAus7Wdb9KUZsYWZEWiRzGuM2kXM1lPbfaF6xhA=
github.com/ultraware/whitespace v0.0.5/go.mod h1:aVMh/gQve5Maj9hQ/hg+F75lr/X5A89uZnzAmWSineA=
Expand Down Expand Up @@ -1269,8 +1270,8 @@ golang.org/x/sync v0.0.0-20200625203802-6e8e738ad208/go.mod h1:RxMgew5VJxzue5/jJ
golang.org/x/sync v0.0.0-20201020160332-67f06af15bc9/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
golang.org/x/sync v0.0.0-20201207232520-09787c993a3a/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
golang.org/x/sync v0.0.0-20210220032951-036812b2e83c/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
golang.org/x/sync v0.0.0-20220513210516-0976fa681c29 h1:w8s32wxx3sY+OjLlv9qltkLU5yvJzxjjgiHWLjdIcw4=
golang.org/x/sync v0.0.0-20220513210516-0976fa681c29/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
golang.org/x/sync v0.0.0-20220601150217-0de741cfad7f h1:Ax0t5p6N38Ga0dThY21weqDEyz2oklo4IvDkpigvkD8=
golang.org/x/sys v0.0.0-20180823144017-11551d06cbcc/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
golang.org/x/sys v0.0.0-20180830151530-49385e6e1522/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
golang.org/x/sys v0.0.0-20180905080454-ebe1bf3edb33/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
Expand Down Expand Up @@ -1388,8 +1389,9 @@ golang.org/x/sys v0.0.0-20220422013727-9388b58f7150/go.mod h1:oPkhp1MJrh7nUepCBc
golang.org/x/sys v0.0.0-20220502124256-b6088ccd6cba/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.0.0-20220520151302-bc2c85ada10a/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.0.0-20220610221304-9f5ed59c137d/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.0.0-20220615213510-4f61da869c0c h1:aFV+BgZ4svzjfabn8ERpuB4JI4N6/rdy1iusx77G3oU=
golang.org/x/sys v0.0.0-20220615213510-4f61da869c0c/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.0.0-20220702020025-31831981b65f h1:xdsejrW/0Wf2diT5CPp3XmKUNbr7Xvw8kYilQ+6qjRY=
golang.org/x/sys v0.0.0-20220702020025-31831981b65f/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/term v0.0.0-20201117132131-f5c789dd3221/go.mod h1:Nr5EML6q2oocZ2LXRh80K7BxOlk5/8JxuGnuhpl+muw=
golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo=
golang.org/x/term v0.0.0-20201210144234-2321bbc49cbf/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo=
Expand Down
2 changes: 1 addition & 1 deletion liquiditycommitment/display.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"strings"
"time"

"code.vegaprotocol.io/protos/vega"
"code.vegaprotocol.io/vega/protos/vega"
"github.com/gdamore/tcell/v2"
)

Expand Down
6 changes: 3 additions & 3 deletions liquiditycommitment/liquiditycommitment.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ import (
"strconv"
"strings"

api "code.vegaprotocol.io/protos/data-node/api/v1"
proto "code.vegaprotocol.io/protos/vega"
eventspb "code.vegaprotocol.io/protos/vega/events/v1"
api "code.vegaprotocol.io/vega/protos/data-node/api/v1"
proto "code.vegaprotocol.io/vega/protos/vega"
eventspb "code.vegaprotocol.io/vega/protos/vega/events/v1"

"github.com/gdamore/tcell/v2"
"google.golang.org/grpc"
Expand Down
2 changes: 1 addition & 1 deletion liquidityviewer/display.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"strconv"
"time"

proto "code.vegaprotocol.io/protos/vega"
proto "code.vegaprotocol.io/vega/protos/vega"
"github.com/gdamore/tcell/v2"
)

Expand Down
6 changes: 3 additions & 3 deletions liquidityviewer/liquidityviewer.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ import (
"strconv"
"strings"

api "code.vegaprotocol.io/protos/data-node/api/v1"
proto "code.vegaprotocol.io/protos/vega"
eventspb "code.vegaprotocol.io/protos/vega/events/v1"
api "code.vegaprotocol.io/vega/protos/data-node/api/v1"
proto "code.vegaprotocol.io/vega/protos/vega"
eventspb "code.vegaprotocol.io/vega/protos/vega/events/v1"

"github.com/gdamore/tcell/v2"
"google.golang.org/grpc"
Expand Down
6 changes: 3 additions & 3 deletions marketdepthviewer/marketdepthviewer.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ import (
"strings"
"time"

api "code.vegaprotocol.io/protos/data-node/api/v1"
proto "code.vegaprotocol.io/protos/vega"
eventspb "code.vegaprotocol.io/protos/vega/events/v1"
api "code.vegaprotocol.io/vega/protos/data-node/api/v1"
proto "code.vegaprotocol.io/vega/protos/vega"
eventspb "code.vegaprotocol.io/vega/protos/vega/events/v1"

"github.com/gdamore/tcell/v2"
"google.golang.org/grpc"
Expand Down
4 changes: 2 additions & 2 deletions marketstakeviewer/marketstakeviewer.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ import (
"strconv"
"time"

api "code.vegaprotocol.io/protos/data-node/api/v1"
eventspb "code.vegaprotocol.io/protos/vega/events/v1"
api "code.vegaprotocol.io/vega/protos/data-node/api/v1"
eventspb "code.vegaprotocol.io/vega/protos/vega/events/v1"

"github.com/gdamore/tcell/v2"
"google.golang.org/grpc"
Expand Down
6 changes: 3 additions & 3 deletions perftest/datanode.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ import (
"strconv"
"time"

datanode "code.vegaprotocol.io/protos/data-node/api/v1"
proto "code.vegaprotocol.io/protos/vega"
v1 "code.vegaprotocol.io/protos/vega/commands/v1"
datanode "code.vegaprotocol.io/vega/protos/data-node/api/v1"
proto "code.vegaprotocol.io/vega/protos/vega"
v1 "code.vegaprotocol.io/vega/protos/vega/commands/v1"
)

type dnWrapper struct {
Expand Down
6 changes: 3 additions & 3 deletions perftest/perftest.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ import (

"google.golang.org/grpc"

datanode "code.vegaprotocol.io/protos/data-node/api/v1"
proto "code.vegaprotocol.io/protos/vega"
commandspb "code.vegaprotocol.io/protos/vega/commands/v1"
datanode "code.vegaprotocol.io/vega/protos/data-node/api/v1"
proto "code.vegaprotocol.io/vega/protos/vega"
commandspb "code.vegaprotocol.io/vega/protos/vega/commands/v1"
)

// Opts hold the command line values
Expand Down
9 changes: 5 additions & 4 deletions perftest/wallet.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ import (

"github.com/gogo/protobuf/jsonpb"

proto "code.vegaprotocol.io/protos/vega"
commandspb "code.vegaprotocol.io/protos/vega/commands/v1"
v1 "code.vegaprotocol.io/protos/vega/oracles/v1"
walletpb "code.vegaprotocol.io/protos/vega/wallet/v1"
proto "code.vegaprotocol.io/vega/protos/vega"
commandspb "code.vegaprotocol.io/vega/protos/vega/commands/v1"
v1 "code.vegaprotocol.io/vega/protos/vega/oracles/v1"
walletpb "code.vegaprotocol.io/vega/protos/vega/wallet/v1"
)

// WalletWrapper holds details about the wallet
Expand Down Expand Up @@ -290,6 +290,7 @@ func (w *walletWrapper) SendNewMarketProposal(user UserDetails) error {
Reference: "PerfBotProposalRef",
Rationale: &proto.ProposalRationale{
Description: "PerfBotRational",
Title: "Title",
},
Terms: &proto.ProposalTerms{
ClosingTimestamp: w.SecondsFromNowInSecs(15),
Expand Down
2 changes: 1 addition & 1 deletion pullvotes/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"net/http"
"path"

commandspb "code.vegaprotocol.io/protos/vega/commands/v1"
commandspb "code.vegaprotocol.io/vega/protos/vega/commands/v1"
"github.com/golang/protobuf/proto"
)

Expand Down
2 changes: 1 addition & 1 deletion snapshotdb/snapshotdb.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"fmt"
"os"

snapshot "code.vegaprotocol.io/protos/vega/snapshot/v1"
snapshot "code.vegaprotocol.io/vega/protos/vega/snapshot/v1"
"github.com/cosmos/iavl"
"github.com/gogo/protobuf/jsonpb"
"github.com/syndtr/goleveldb/leveldb/opt"
Expand Down
4 changes: 2 additions & 2 deletions stream/stream.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ import (
"syscall"
"time"

api "code.vegaprotocol.io/protos/vega/api/v1"
eventspb "code.vegaprotocol.io/protos/vega/events/v1"
api "code.vegaprotocol.io/vega/protos/vega/api/v1"
eventspb "code.vegaprotocol.io/vega/protos/vega/events/v1"
"github.com/golang/protobuf/jsonpb"
"google.golang.org/grpc"
)
Expand Down
4 changes: 2 additions & 2 deletions withdraw/pull_withdraw.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ import (
"fmt"
"time"

api "code.vegaprotocol.io/protos/data-node/api/v1"
"code.vegaprotocol.io/protos/vega"
api "code.vegaprotocol.io/vega/protos/data-node/api/v1"
"code.vegaprotocol.io/vega/protos/vega"

"google.golang.org/grpc"
)
Expand Down