zkmopro / mopro

Making client-side proving on mobile simple.
https://zkmopro.org
Apache License 2.0
131 stars 35 forks source link

Rust formatting fix for `templates/mopro-example-app/core` #158

Closed ElusAegis closed 5 months ago

ElusAegis commented 5 months ago

Before the fmt ci was not checking the issues in the templates/mopro-example-app, which resulted in the code not being correctly formatted error when running cargo fmt --all -- --check.

This PR:

  1. Fixed the code formatting issue.
  2. Added the additional check to the ci to catch similar issues.
ElusAegis commented 5 months ago

This PR's cli CI fails, even though the PR does no breaking changes, rather reordering the code. Do not understand why. Managed to run the same IOS test where the issue occures successfully on my local machine.