Skip to content

Commit

Permalink
chore: cleanup and remove redundant files (#474)
Browse files Browse the repository at this point in the history
* wip: cleanups

* chrore: update readme and remove unused imports

* update mdbook summary

* Update README.md

* cleanup proofs crate

---------

Co-authored-by: Matt <[email protected]>
  • Loading branch information
lonerapier and mattes authored Feb 17, 2025
1 parent c1d9ec7 commit 1c90462
Show file tree
Hide file tree
Showing 28 changed files with 33 additions and 6,913 deletions.
1 change: 0 additions & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ Visit the [Pluto documentation](https://docs.pluto.xyz) for integration guides,

If you have any questions, please reach out to any of Pluto's [team members](https://pluto.xyz/team) or join our [Telegram](https://t.me/pluto_xyz) to ask questions. We'd love to hear from you!


## Development

### Repo layout
Expand All @@ -28,6 +27,11 @@ If you have any questions, please reach out to any of Pluto's [team members](htt
- `notary`: notary server which can notarize MPC/ Origo/ TEE proofs.
- `proofs`: contains all of our circom artifacts for the Origo proofs as well as a set of extractor proofs for selective disclosure over response data.

### Setup
- Install rust nightly: `rustup install toolchain nightly-2024-10-28`
- Run `make artifacts` to download circuit artifacts required for Web Prover proxy mode
- Compilation errors? Have a look at [KNOWN_ISSUES.md](KNOWN_ISSUES.md)

### Native Client Development

```
Expand Down
3 changes: 1 addition & 2 deletions book/SUMMARY.md
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
- [Introduction](../README.md)
- [Proofs](../proofs/README.md)
- [Introduction](../README.md)
17 changes: 8 additions & 9 deletions proofs/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,12 @@ edition="2021"
publish=false
build ="build.rs"

[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
circom_witnesscalc={ git="https://github.com/pluto/circom-witnesscalc" } # Fork is needed apparently??

[dependencies]
serde ={ workspace=true }
serde_json ={ workspace=true }
thiserror ={ workspace=true }
tracing ={ workspace=true }
tracing-subscriber={ workspace=true }
tls-client2 ={ workspace=true } # a bit of an odd dependency to have in here imo
serde ={ workspace=true }
serde_json ={ workspace=true }
thiserror ={ workspace=true }
tracing ={ workspace=true }
tls-client2={ workspace=true } # a bit of an odd dependency to have in here imo

hex ="0.4"
client-side-prover ={ git="https://github.com/pluto/client-side-prover", rev="8e7eb839e901dcee416179116bb0f9c4f7ae683c" }
Expand Down Expand Up @@ -43,6 +39,9 @@ wasm-bindgen ="0.2.87"
js-sys ="0.3.64"
wasm-bindgen-futures="0.4.37"

[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
circom_witnesscalc={ git="https://github.com/pluto/circom-witnesscalc" } # Fork is needed apparently??

[dev-dependencies]
tracing-test="0.2.5"
tempdir ="0.3.7"
Expand Down
5 changes: 1 addition & 4 deletions proofs/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,4 @@ test-circuits:

build-circuit examples/circuit_data/add_external.circom examples/circuit_data/add_external.bin -l node_modules
build-circuit examples/circuit_data/square_zeroth.circom examples/circuit_data/square_zeroth.bin -l node_modules
build-circuit examples/circuit_data/swap_memory.circom examples/circuit_data/swap_memory.bin -l node_modules

proof: web-prover-circuits
cargo test --release --features timing -- tests::test_end_to_end_proofs --exact --show-output
build-circuit examples/circuit_data/swap_memory.circom examples/circuit_data/swap_memory.bin -l node_modules
48 changes: 0 additions & 48 deletions proofs/README.md

This file was deleted.

Loading

0 comments on commit 1c90462

Please sign in to comment.