Replying to Avatar Yuki Kishimoto

I opened a PR: https://github.com/SnowCait/cloudflare-sandbox/pull/1

I reduced a little bit the size. I'll investigate to understand what cause this size

Thank you!

I confirmed that the size has decreased.

Total Upload: 1621.89 KiB / gzip: 1332.35 KiB

Reply to this note

Please Login to reply.

Discussion

I found the cause: it's the signature verification method.

Removing it the size (unzipped) is 642kb.

The verify signature method internally call only `secp.verify_schnorr` method (`secp256k1` library).

Indeed.

The size become much sumaller after removing the verify code.

Total Upload: 575.34 KiB / gzip: 299.15 KiB

I hope we can find an alternative as I don't want to save invalid data.