trifle-labs / anybody-problem

Anybody Problem simulates the 3-body problem in two dimensions using zk proofs written in circom.
https://okwme.github.io/anybody-problem/
12 stars 2 forks source link

Add test CI (include circuits first) #64

Open okwme opened 3 months ago

okwme commented 3 months ago

tests broke after #56 and didn't get caught cause we're not using any CI. Would be cool to have a minimal integration but I'm not sure how long it would take to run since it includes circom compilation. Should be relatively short since we don't use any big circuits in tests... actually that's not true, the contracts require the big circuits to have been built..... makes me think it will be time soon to include the built circuits in the distribution. Right now they're manually moved from anybody-problem to the front end, probably we should be saving them in anybody-problem like the compiled contracts

okwme commented 3 weeks ago

Failed to include compiled circuits and proving files using LFS. Github deprecated it. Have a solution using a bucket and cacheing the files thanks to @psugihara . Maybe we don't need CI tests tho unless we move to continual development of the project. If we're going for initial launch and then try second game it's less necessary and we can wait to work on this until it's clear.