-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ECDSA & EDDSA working w/ threshold-chain/tss-lib (#23)
* ECDSA & EDDSA working w/ bnb-chain/tss-lib v1.3.5 https://gitlab.com/thorchain/tss/go-tss/-/merge_requests/264 * use github.com/btcsuite/btcd/btcec/v2 * Use threshold-network tss-lib fork (#28) * Use threshold-network tss-lib fork * Add lock in notifier to avoid data race Write at 0x00c000288110 by goroutine 380: gitlab.com/thorchain/tss/go-tss/keysign.(*notifier).updateUnset() /home/runner/work/go-tss/go-tss/keysign/notifier.go:62 +0xe4 gitlab.com/thorchain/tss/go-tss/keysign.(*SignatureNotifier).createOrUpdateNotifier() /home/runner/work/go-tss/go-tss/keysign/signature_notifier.go:252 +0x2fd gitlab.com/thorchain/tss/go-tss/keysign.(*SignatureNotifier).handleStream() /home/runner/work/go-tss/go-tss/keysign/signature_notifier.go:136 +0xa71 gitlab.com/thorchain/tss/go-tss/keysign.(*SignatureNotifier).handleStream-fm() <autogenerated>:1 +0x4d github.com/libp2p/go-libp2p/p2p/host/basic.(*BasicHost).SetStreamHandler.func1() /home/runner/go/pkg/mod/github.com/zeta-chain/[email protected]/p2p/host/basic/basic_host.go:580 +0x86 github.com/libp2p/go-libp2p/p2p/host/basic.(*BasicHost).newStreamHandler.func1() /home/runner/go/pkg/mod/github.com/zeta-chain/[email protected]/p2p/host/basic/basic_host.go:421 +0x74 Previous read at 0x00c000288110 by goroutine 208: gitlab.com/thorchain/tss/go-tss/keysign.(*notifier).readyToProcess() /home/runner/work/go-tss/go-tss/keysign/notifier.go:51 +0xd46 gitlab.com/thorchain/tss/go-tss/keysign.TestSignatureNotifierBroadcastFirst() /home/runner/work/go-tss/go-tss/keysign/signature_notifier_test.go:162 +0xdb8 testing.tRunner() /opt/hostedtoolcache/go/1.20.14/x64/src/testing/testing.go:1576 +0x216 testing.(*T).Run.func1() /opt/hostedtoolcache/go/1.20.14/x64/src/testing/testing.go:1629 +0x47 --------- Co-authored-by: sumamu <[email protected]>
- Loading branch information
Showing
71 changed files
with
2,539 additions
and
559 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.