sig-net / mpc

6 stars 0 forks source link

respond() call is too expensive. #8

Open volovyks opened 4 months ago

ppca commented 2 months ago

I tried removing the logic that checks the signature completely, still costs the same N. I am guessing the cost mostly comes from promise_yield_resume(). I'm checking with Saketh from protocol who implemented the function.

ppca commented 1 month ago

Chatted with Protocol folks on Zulip So problem is near protocol level sets the cost of env::promise_yield_resume() per byte too high. It is confirmed to be a typo, and will be fixed in the next protocol release. I'm following up with them on the dates of next release.

ppca commented 1 month ago

We will wait for nearcore release 2.4 (early December)

volovyks commented 1 month ago

I will reopen this one for visibility and move it to blocked.

volovyks commented 4 weeks ago

@ppca was that fix released on mainnet?

ppca commented 4 weeks ago

No. It's coming December