Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: frames #564

Draft
wants to merge 7 commits into
base: feat/frame-state-machine
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
93 changes: 78 additions & 15 deletions Cargo.lock

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

12 changes: 8 additions & 4 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
[workspace]
members =["client", "notary", "core", "tests"]
members =["client", "notary", "core", "tests", "executor"]
resolver="2"

[workspace.dependencies]
# Local re-exporting
web-prover-client={ path="client" }
web-prover-core ={ path="core" }
web-prover-notary={ path="notary" }
web-prover-client ={ path="client" }
web-prover-core ={ path="core" }
web-prover-executor={ path="executor" }
web-prover-notary ={ path="notary" }
# Serde
serde ={ version="1.0.204", features=["derive"] }
serde_json="1.0.120"
Expand Down Expand Up @@ -38,6 +39,9 @@ uuid ={ version="1.10.0", default-features=false, features=["v4", "serde"]

tracing-test="0.2"

tempfile ="3.18.0"
wait-timeout="0.2.1"

[profile.dev]
incremental =true
opt-level =1
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ If you have any questions, please reach out to any of Pluto's [team members](htt
### Usage

```
cargo run -p notary -- --config ./fixture/notary-config.toml
cargo run -p client -- --config ./fixture/client.proxy.json
cargo run -p web-prover-notary -- --config ./fixture/notary-config.toml
cargo run -p web-prover-client -- --config ./fixture/client.proxy.json
```

## Security Status
Expand Down
12 changes: 12 additions & 0 deletions executor/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
[package]
edition="2021"
name ="web-prover-executor"
version="0.1.0"

[dependencies]
tempfile ={ workspace=true }
thiserror ={ workspace=true }
tokio ={ workspace=true }
tracing ={ workspace=true }
uuid ={ workspace=true }
wait-timeout={ workspace=true }
26 changes: 26 additions & 0 deletions executor/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# Web Prover Executor

## Set up playground

```
npx playwright install
npm install -g playwright-core
git clone git@github.com:pluto/playwright-playground.git
cd playwright-playground
npm install -g ./playwright-utils
export NODE_PATH=$(npm root -g)
```

## Run example

Run notary in a separate terminal:
```
RUST_LOG=debug cargo run -p web-prover-notary -- --config ./fixture/notary-config.toml
```

Run example executor:
```
cargo run -p web-prover-executor
```
1 change: 1 addition & 0 deletions executor/src/lib.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
pub mod playwright;
Loading