From e59879ff41ec7ac55b8ced6454d9d46723f84c48 Mon Sep 17 00:00:00 2001 From: Lukasz Zimnoch Date: Tue, 14 Dec 2021 12:43:34 +0100 Subject: [PATCH] Bump up tss-lib version --- go.mod | 1 + go.sum | 4 ++++ pkg/ecdsa/tss/keygen.go | 1 + pkg/ecdsa/tss/signing.go | 1 + 4 files changed, 7 insertions(+) diff --git a/go.mod b/go.mod index 7eef99362..bd7aef600 100644 --- a/go.mod +++ b/go.mod @@ -8,6 +8,7 @@ replace ( github.com/btcsuite/btcd => github.com/keep-network/btcd v0.0.0-20190427004231-96897255fd17 github.com/btcsuite/btcutil => github.com/keep-network/btcutil v0.0.0-20210527170813-e2ba6805a890 github.com/urfave/cli => github.com/keep-network/cli v1.20.0 + github.com/binance-chain/tss-lib => github.com/keep-network/tss-lib v1.3.3-0.20211215091450-8afce0f07c9f // Branch: v1.3.3.keep ) require ( diff --git a/go.sum b/go.sum index 62d9fd91a..0b43c2342 100644 --- a/go.sum +++ b/go.sum @@ -59,6 +59,7 @@ github.com/VictoriaMetrics/fastcache v1.6.0 h1:C/3Oi3EiBCqufydp1neRZkqcwmEiuRT9c github.com/VictoriaMetrics/fastcache v1.6.0/go.mod h1:0qHz5QP0GMX4pfmMA/zt5RgfNuXJrTP0zS7DqpHGGTw= github.com/aead/siphash v1.0.1 h1:FwHfE/T45KPKYuuSAKyyvE+oPWcaQ+CUmFW0bPlM+kg= github.com/aead/siphash v1.0.1/go.mod h1:Nywa3cDsYNNK3gaciGTWPwHt0wlpNV15vwmswBAUSII= +github.com/agl/ed25519 v0.0.0-20170116200512-5312a6153412 h1:w1UutsfOrms1J05zt7ISrnJIXKzwaspym5BTKGx93EI= github.com/agl/ed25519 v0.0.0-20170116200512-5312a6153412/go.mod h1:WPjqKcmVOxf0XSf3YxCJs6N6AOSrOx3obionmG7T0y0= github.com/ajstarks/svgo v0.0.0-20180226025133-644b8db467af/go.mod h1:K08gAheRH3/J6wwsYMMT4xOr94bZjxIelGM0+d/wbFw= github.com/alecthomas/template v0.0.0-20160405071501-a0175ee3bccc/go.mod h1:LOuyumcjzFXgccqObfd/Ljyb9UuFJ6TxHnclSeseNhc= @@ -165,6 +166,7 @@ github.com/davidlazar/go-crypto v0.0.0-20190912175916-7055855a373f/go.mod h1:rQY github.com/deckarep/golang-set v0.0.0-20180603214616-504e848d77ea/go.mod h1:93vsz/8Wt4joVM7c2AVqh+YRMiUSc14yDtF28KmMOgQ= github.com/deckarep/golang-set v1.7.1 h1:SCQV0S6gTtp6itiFrTqI+pfmJ4LN85S1YzhDf9rTHJQ= github.com/deckarep/golang-set v1.7.1/go.mod h1:93vsz/8Wt4joVM7c2AVqh+YRMiUSc14yDtF28KmMOgQ= +github.com/decred/dcrd/dcrec/edwards/v2 v2.0.0 h1:E5KszxGgpjpmW8vN811G6rBAZg0/S/DftdGqN4FW5x4= github.com/decred/dcrd/dcrec/edwards/v2 v2.0.0/go.mod h1:d0H8xGMWbiIQP7gN3v2rByWUcuZPm9YsgmnfoxgbINc= github.com/deepmap/oapi-codegen v1.6.0/go.mod h1:ryDa9AgbELGeB+YEXE1dR53yAjHwFvE9iAUlWl9Al3M= github.com/deepmap/oapi-codegen v1.8.2 h1:SegyeYGcdi0jLLrpbCMoJxnUUn8GBXHsvr4rbzjuhfU= @@ -500,6 +502,8 @@ github.com/keep-network/tbtc v1.1.1-0.20211005102550-e0f035c575a2 h1:KUkq7+GLFoi github.com/keep-network/tbtc v1.1.1-0.20211005102550-e0f035c575a2/go.mod h1:POTeEzpqsuuK9Hng5tbLLJckmfGAQqtVUoCpW0PkuJU= github.com/keep-network/toml v0.3.0 h1:G+NJwWR/ZiORqeLBsDXDchYoL29PXHdxOPcCueA7ctE= github.com/keep-network/toml v0.3.0/go.mod h1:Zeyd3lxbIlMYLREho3UK1dMP2xjqt2gLkQ5E5vM6K38= +github.com/keep-network/tss-lib v1.3.3-0.20211215091450-8afce0f07c9f h1:yeErMU/AgG7R66yo11CD5Wqwm8IYyshRjrq3XvoyJFY= +github.com/keep-network/tss-lib v1.3.3-0.20211215091450-8afce0f07c9f/go.mod h1:y85qADlz1+q+Eo01GupDnNt68XJDmb6I/jEwAolIHtQ= github.com/kilic/bls12-381 v0.0.0-20201226121925-69dacb279461/go.mod h1:vDTTHJONJ6G+P2R74EhnyotQDTliQDnFEwhdmfzw1ig= github.com/kisielk/errcheck v1.1.0/go.mod h1:EZBBE59ingxPouuu3KfxchcWSUPOHkagtvWXihfKN4Q= github.com/kisielk/errcheck v1.2.0/go.mod h1:/BMXB+zMLi60iA8Vv6Ksmxu/1UDYcXs4uQLJ+jE2L00= diff --git a/pkg/ecdsa/tss/keygen.go b/pkg/ecdsa/tss/keygen.go index 7a3ee79a5..3ba38c5ff 100644 --- a/pkg/ecdsa/tss/keygen.go +++ b/pkg/ecdsa/tss/keygen.go @@ -171,6 +171,7 @@ func initializeKeyGenerationParty( } params := tss.NewParameters( + tss.EC(), tss.NewPeerContext(tss.SortPartyIDs(groupPartiesIDs)), currentPartyID, len(groupPartiesIDs), diff --git a/pkg/ecdsa/tss/signing.go b/pkg/ecdsa/tss/signing.go index 1d2d4ea15..c842bda66 100644 --- a/pkg/ecdsa/tss/signing.go +++ b/pkg/ecdsa/tss/signing.go @@ -119,6 +119,7 @@ func (s *ThresholdSigner) initializeSigningParty( } params := tss.NewParameters( + tss.EC(), tss.NewPeerContext(tss.SortPartyIDs(groupPartiesIDs)), currentPartyID, len(groupPartiesIDs),