ZenGo-X / multi-party-ecdsa

Rust implementation of {t,n}-threshold ECDSA (elliptic curve digital signature algorithm).

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Question about the limitation of the size of sign message in demo/run.sh

fengshanshan opened this issue · comments

Hi,
I got a 'capacity overflow' panic when I worked with the run.sh script in the demo.

In the beginning, everything goes well. However, in my case, the message I need to sign is a JSON format, so I try to change the way in gg18_sign_client to receive a JSON string, then I got the 'capacity overflow' panic. I cannot figure out why.

Later I just tried to change the sign message from the simple "KZen Networks" to a longer one, and I got the same 'capacity overflow' panic. Is that from the limitation of the size of the sign message?
Hope to hear from you soon