File tree 7 files changed +10
-12
lines changed
7 files changed +10
-12
lines changed Original file line number Diff line number Diff line change @@ -64,10 +64,6 @@ issues:
64
64
text : ' SA1019: "golang.org/x/crypto/openpgp" is deprecated: this package is unmaintained except for security fixes.'
65
65
- path : core/vm/contracts.go
66
66
text : ' SA1019: "golang.org/x/crypto/ripemd160" is deprecated: RIPEMD-160 is a legacy hash and should not be used for new applications.'
67
- - path : accounts/usbwallet/trezor.go
68
- text : ' SA1019: "github.com/golang/protobuf/proto" is deprecated: Use the "google.golang.org/protobuf/proto" package instead.'
69
- - path : accounts/usbwallet/trezor/
70
- text : ' SA1019: "github.com/golang/protobuf/proto" is deprecated: Use the "google.golang.org/protobuf/proto" package instead.'
71
67
exclude :
72
68
- ' SA1019: event.TypeMux is deprecated: use Feed'
73
69
- ' SA1019: strings.Title is deprecated'
Original file line number Diff line number Diff line change 42
42
devtools :
43
43
env GOBIN= go install golang.org/x/tools/cmd/stringer@latest
44
44
env GOBIN= go install github.com/fjl/gencodec@latest
45
- env GOBIN= go install github.com/ golang/protobuf/protoc-gen-go@latest
45
+ env GOBIN= go install google. golang.org /protobuf/cmd /protoc-gen-go@latest
46
46
env GOBIN= go install ./cmd/abigen
47
47
@type " solc" 2> /dev/null || echo ' Please install solc'
48
48
@type " protoc" 2> /dev/null || echo ' Please install protoc'
Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ import (
33
33
"github.com/ethereum/go-ethereum/common/hexutil"
34
34
"github.com/ethereum/go-ethereum/core/types"
35
35
"github.com/ethereum/go-ethereum/log"
36
- "github.com/ golang/protobuf/proto"
36
+ "google. golang.org /protobuf/proto"
37
37
)
38
38
39
39
// ErrTrezorPINNeeded is returned if opening the trezor requires a PIN code. In
Original file line number Diff line number Diff line change 39
39
// - Download the latest protoc https://github.com/protocolbuffers/protobuf/releases
40
40
// - Build with the usual `./configure && make` and ensure it's on your $PATH
41
41
// - Delete all the .proto and .pb.go files, pull in fresh ones from Trezor
42
- // - Grab the latest Go plugin `go get -u github.com/ golang/protobuf/protoc-gen-go`
43
- // - Vendor in the latest Go plugin `govendor fetch github.com/ golang/protobuf/...`
42
+ // - Grab the latest Go plugin `go get -u google. golang.org /protobuf/cmd /protoc-gen-go`
43
+ // - Vendor in the latest Go plugin `govendor fetch google. golang.org /protobuf/...`
44
44
45
45
//go:generate protoc -I/usr/local/include:. --go_out=paths=source_relative:. messages.proto messages-common.proto messages-management.proto messages-ethereum.proto
46
46
@@ -50,7 +50,7 @@ package trezor
50
50
import (
51
51
"reflect"
52
52
53
- "github.com/ golang/protobuf/proto"
53
+ "google. golang.org /protobuf/proto"
54
54
)
55
55
56
56
// Type returns the protocol buffer type number of a specific message. If the
Original file line number Diff line number Diff line change @@ -22,6 +22,6 @@ package tools
22
22
import (
23
23
// Tool imports for go:generate.
24
24
_ "github.com/fjl/gencodec"
25
- _ "github.com/golang/protobuf/protoc-gen-go"
26
25
_ "golang.org/x/tools/cmd/stringer"
26
+ _ "google.golang.org/protobuf/cmd/protoc-gen-go"
27
27
)
Original file line number Diff line number Diff line change @@ -31,7 +31,6 @@ require (
31
31
github.com/gballet/go-libpcsclite v0.0.0-20190607065134-2772fd86a8ff
32
32
github.com/gofrs/flock v0.8.1
33
33
github.com/golang-jwt/jwt/v4 v4.5.0
34
- github.com/golang/protobuf v1.5.4
35
34
github.com/golang/snappy v0.0.5-0.20220116011046-fa5810519dcb
36
35
github.com/google/gofuzz v1.2.0
37
36
github.com/google/uuid v1.3.0
@@ -74,7 +73,7 @@ require (
74
73
golang.org/x/text v0.14.0
75
74
golang.org/x/time v0.5.0
76
75
golang.org/x/tools v0.20.0
77
- google.golang.org/protobuf v1.33.0
76
+ google.golang.org/protobuf v1.34.2
78
77
gopkg.in/natefinch/lumberjack.v2 v2.2.1
79
78
gopkg.in/yaml.v3 v3.0.1
80
79
)
@@ -112,6 +111,7 @@ require (
112
111
github.com/go-sourcemap/sourcemap v2.1.3+incompatible // indirect
113
112
github.com/goccy/go-json v0.10.2 // indirect
114
113
github.com/gogo/protobuf v1.3.2 // indirect
114
+ github.com/golang/protobuf v1.5.4 // indirect
115
115
github.com/google/go-querystring v1.1.0 // indirect
116
116
github.com/google/pprof v0.0.0-20230207041349-798e818bf904 // indirect
117
117
github.com/hashicorp/go-cleanhttp v0.5.2 // indirect
Original file line number Diff line number Diff line change @@ -842,6 +842,8 @@ google.golang.org/protobuf v1.26.0-rc.1/go.mod h1:jlhhOSvTdKEhbULTjvd4ARK9grFBp0
842
842
google.golang.org/protobuf v1.26.0 /go.mod h1:9q0QmTI4eRPtz6boOQmLYwt+qCgq0jsYwAQnmE0givc =
843
843
google.golang.org/protobuf v1.33.0 h1:uNO2rsAINq/JlFpSdYEKIZ0uKD/R9cpdv0T+yoGwGmI =
844
844
google.golang.org/protobuf v1.33.0 /go.mod h1:c6P6GXX6sHbq/GpV6MGZEdwhWPcYBgnhAHhKbcUYpos =
845
+ google.golang.org/protobuf v1.34.2 h1:6xV6lTsCfpGD21XK49h7MhtcApnLqkfYgPcdHftf6hg =
846
+ google.golang.org/protobuf v1.34.2 /go.mod h1:qYOHts0dSfpeUzUFpOMr/WGzszTmLH+DiWniOlNbLDw =
845
847
gopkg.in/alecthomas/kingpin.v2 v2.2.6 /go.mod h1:FMv+mEhP44yOT+4EoQTLFTRgOQ1FBLkstjWtayDeSgw =
846
848
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 /go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0 =
847
849
gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127 /go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0 =
You can’t perform that action at this time.
0 commit comments