o1-labs/proof-systems

Cache BN254 SRS for tests

Closed this issue · 0 comments

MSM tests generate a lot of SRS in parallel, which takes about 20 seconds per test. This can be easily avoided with serialization, similarly to how it's done in kimchi/.

One technical detail that is tricky is that apparently the BN254 SRS cannot be properly deserialized due to the underlying bug in arkworks.