txpool: Validate v, r, s in signature (#5251)

This commit is contained in:
Andrew Ashikhmin 2022-09-01 16:07:25 +02:00 committed by GitHub
parent 590276d3e1
commit 6affc2acb6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 12 deletions

17
go.mod
View File

@ -3,13 +3,11 @@ module github.com/ledgerwatch/erigon
go 1.18
require (
github.com/gballet/go-verkle v0.0.0-20220722103930-acd34254ebff
github.com/ledgerwatch/erigon-lib v0.0.0-20220831134151-0883fdc23d31
github.com/ledgerwatch/erigon-lib v0.0.0-20220901132642-987fb4a7e183
github.com/ledgerwatch/erigon-snapshot v1.0.1-0.20220809023834-6309df4da4b1
github.com/ledgerwatch/log/v3 v3.4.1
github.com/ledgerwatch/secp256k1 v1.0.0
github.com/ledgerwatch/trackerslist v1.0.0
gopkg.in/yaml.v2 v2.4.0
)
require (
@ -23,6 +21,7 @@ require (
github.com/btcsuite/btcd v0.22.0-beta
github.com/c2h5oh/datasize v0.0.0-20220606134207-859f65c6625b
github.com/consensys/gnark-crypto v0.4.0
github.com/crate-crypto/go-ipa v0.0.0-20220523130400-f11357ae11c7
github.com/davecgh/go-spew v1.1.1
github.com/deckarep/golang-set v0.0.0-20180603214616-504e848d77ea
github.com/dop251/goja v0.0.0-20211011172007-d99e4b8cbf48
@ -30,7 +29,7 @@ require (
github.com/emicklei/dot v1.0.0
github.com/emirpasic/gods v1.18.1
github.com/fjl/gencodec v0.0.0-20220412091415-8bb9e558978c
github.com/go-sourcemap/sourcemap v2.1.3+incompatible // indirect
github.com/gballet/go-verkle v0.0.0-20220722103930-acd34254ebff
github.com/goccy/go-json v0.9.7
github.com/gofrs/flock v0.8.1
github.com/golang-jwt/jwt/v4 v4.4.1
@ -73,6 +72,7 @@ require (
google.golang.org/grpc/cmd/protoc-gen-go-grpc v1.2.0
google.golang.org/protobuf v1.28.1
gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c
gopkg.in/yaml.v2 v2.4.0
modernc.org/sqlite v1.18.1
pgregory.net/rapid v0.4.7
)
@ -80,6 +80,7 @@ require (
require (
crawshaw.io/sqlite v0.3.3-0.20210127221821-98b1f83c5508 // indirect
github.com/ajwerner/btree v0.0.0-20211221152037-f427b3e689c0 // indirect
github.com/alecthomas/atomic v0.1.0-alpha2 // indirect
github.com/anacrolix/chansync v0.3.0 // indirect
github.com/anacrolix/dht/v2 v2.18.0 // indirect
github.com/anacrolix/envpprof v1.2.1 // indirect
@ -107,6 +108,7 @@ require (
github.com/garslo/gogen v0.0.0-20170306192744-1d203ffc1f61 // indirect
github.com/go-kit/kit v0.10.0 // indirect
github.com/go-logfmt/logfmt v0.5.0 // indirect
github.com/go-sourcemap/sourcemap v2.1.3+incompatible // indirect
github.com/go-stack/stack v1.8.1 // indirect
github.com/gogo/protobuf v1.3.2 // indirect
github.com/golang/protobuf v1.5.2 // indirect
@ -159,6 +161,7 @@ require (
google.golang.org/genproto v0.0.0-20200825200019-8632dd797987 // indirect
gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
gotest.tools/v3 v3.3.0 // indirect
lukechampine.com/uint128 v1.1.1 // indirect
modernc.org/cc/v3 v3.36.0 // indirect
modernc.org/ccgo/v3 v3.16.8 // indirect
@ -169,9 +172,3 @@ require (
modernc.org/strutil v1.1.1 // indirect
modernc.org/token v1.0.0 // indirect
)
require (
github.com/alecthomas/atomic v0.1.0-alpha2 // indirect
github.com/crate-crypto/go-ipa v0.0.0-20220523130400-f11357ae11c7 // indirect
gotest.tools/v3 v3.3.0 // indirect
)

4
go.sum
View File

@ -394,8 +394,8 @@ github.com/kr/text v0.2.0/go.mod h1:eLer722TekiGuMkidMxC/pM04lWEeraHUUmBw8l2grE=
github.com/kylelemons/godebug v0.0.0-20170224010052-a616ab194758 h1:0D5M2HQSGD3PYPwICLl+/9oulQauOuETfgFvhBDffs0=
github.com/leanovate/gopter v0.2.9 h1:fQjYxZaynp97ozCzfOyOuAGOU4aU/z37zf/tOujFk7c=
github.com/leanovate/gopter v0.2.9/go.mod h1:U2L/78B+KVFIx2VmW6onHJQzXtFb+p5y3y2Sh+Jxxv8=
github.com/ledgerwatch/erigon-lib v0.0.0-20220831134151-0883fdc23d31 h1:W7gszarSdZbXoMD3iEObhh3Qjy2hah7Aq5qVmz8Zj70=
github.com/ledgerwatch/erigon-lib v0.0.0-20220831134151-0883fdc23d31/go.mod h1:A7Z9E318VhlTpqQEYOzZd+NGYLZUr8O83Fr7gOtPOhA=
github.com/ledgerwatch/erigon-lib v0.0.0-20220901132642-987fb4a7e183 h1:lMZjBlO41w2sLzwjNrEIHvnZRGGPkbxcIkf/mWrYQZc=
github.com/ledgerwatch/erigon-lib v0.0.0-20220901132642-987fb4a7e183/go.mod h1:A7Z9E318VhlTpqQEYOzZd+NGYLZUr8O83Fr7gOtPOhA=
github.com/ledgerwatch/erigon-snapshot v1.0.1-0.20220809023834-6309df4da4b1 h1:qRIJu6cs6fbI8L52DSdPF27j3sOrEriXz1zQSuQvYpA=
github.com/ledgerwatch/erigon-snapshot v1.0.1-0.20220809023834-6309df4da4b1/go.mod h1:3AuPxZc85jkehh/HA9h8gabv5MSi3kb/ddtzBsTVJFo=
github.com/ledgerwatch/log/v3 v3.4.1 h1:/xGwlVulXnsO9Uq+tzaExc8OWmXXHU0dnLalpbnY5Bc=