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

Panic during tx signing #42

Open
swift1337 opened this issue Jan 10, 2025 · 0 comments
Open

Panic during tx signing #42

swift1337 opened this issue Jan 10, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@swift1337
Copy link

swift1337 commented Jan 10, 2025

Accidentally found this while debugging another zetaclient issue.

cachedShares[roundInfo.Index] = value

logs 4.txt:

...

zetaclient1   | 2025-01-09T21:36:42.679882643Z panic: runtime error: index out of range [8] with length 8
zetaclient1   | 2025-01-09T21:36:42.679895327Z
zetaclient1   | 2025-01-09T21:36:42.679900637Z goroutine 14530 [running]:
zetaclient1   | 2025-01-09T21:36:42.679905486Z gitlab.com/thorchain/tss/go-tss/blame.(*Manager).TssMissingShareBlame(0xc001c6e2a0, 0x8, 0x1e)
zetaclient1   | 2025-01-09T21:36:42.679913692Z  /go/pkg/mod/github.com/zeta-chain/[email protected]/blame/policy.go:145 +0x94f
zetaclient1   | 2025-01-09T21:36:42.679932487Z gitlab.com/thorchain/tss/go-tss/keysign/ecdsa.(*TssKeySign).processKeySign(0xc00278c0c0, 0x3, 0xc00281e420, 0xc002028ae0, 0xc002028b40)
zetaclient1   | 2025-01-09T21:36:42.679938187Z  /go/pkg/mod/github.com/zeta-chain/[email protected]/keysign/ecdsa/tss_keysign.go:249 +0xf55
zetaclient1   | 2025-01-09T21:36:42.680052985Z gitlab.com/thorchain/tss/go-tss/keysign/ecdsa.(*TssKeySign).SignMessage(0xc00278c0c0, {0xc000e6f740, 0x3, 0x4}, {{0xc00169bd10, 0x4b}, {0xc00263a000, 0x2d2f, 0x2d30}, {0xc00209bc20, ...}, ...}, ...)
zetaclient1   | 2025-01-09T21:36:42.680062823Z  /go/pkg/mod/github.com/zeta-chain/[email protected]/keysign/ecdsa/tss_keysign.go:165 +0xdc8
zetaclient1   | 2025-01-09T21:36:42.680068083Z gitlab.com/thorchain/tss/go-tss/tss.(*TssServer).generateSignature(_, {_, _}, {_, _, _}, {{0xc0022c45f0, 0x4b}, {0xc001696e10, 0x3, ...}, ...}, ...)
zetaclient1   | 2025-01-09T21:36:42.680072842Z  /go/pkg/mod/github.com/zeta-chain/[email protected]/tss/keysign.go:163 +0x141e
zetaclient1   | 2025-01-09T21:36:42.680077430Z gitlab.com/thorchain/tss/go-tss/tss.(*TssServer).KeySign.func4()
zetaclient1   | 2025-01-09T21:36:42.680082640Z  /go/pkg/mod/github.com/zeta-chain/[email protected]/tss/keysign.go:339 +0x1d3
zetaclient1   | 2025-01-09T21:36:42.680088491Z created by gitlab.com/thorchain/tss/go-tss/tss.(*TssServer).KeySign in goroutine 14448
zetaclient1   | 2025-01-09T21:36:42.680093831Z  /go/pkg/mod/github.com/zeta-chain/[email protected]/tss/keysign.go:337 +0x1314

...
@swift1337 swift1337 added the bug Something isn't working label Jan 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant