Skip to content

Commit

Permalink
fix: make notarize work (#5)
Browse files Browse the repository at this point in the history
  • Loading branch information
mhchia authored Sep 5, 2023
1 parent acaa9a0 commit 8c395b1
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 289 deletions.
287 changes: 0 additions & 287 deletions src/lib.rs

This file was deleted.

1 change: 0 additions & 1 deletion src/pages/Offscreen/worker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ class TLSN {
// await initThreadPool(2);
// console.log("!@# result js=", DATA.reduce((sum, n) => sum + n, 0));
// console.log("!@# result rs=", sum(new Int32Array(DATA)));
console.log('!@# reqProver=');
const resProver = await prover();
console.log('!@# resProver=', resProver);

Expand Down
10 changes: 9 additions & 1 deletion wasm/prover/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ crate-type = ["cdylib"]
wasm-bindgen = "0.2.74"
js-sys = "0.3"
tracing = "0.1"
tlsn-prover = { path = "../../tlsn/tlsn/tlsn-prover", features = ["tracing"] }

getrandom = { version = "0.2", features = ["js"] }
ws_stream_wasm = "0.7.4"
wasm-bindgen-futures = "0.4.37"
Expand All @@ -35,6 +35,14 @@ time = { version = "0.3", features = ["wasm-bindgen"] }
# Used to calculate elapsed time.
web-time = "0.2"

# tlsn-prover = { path = "../../tlsn/tlsn/tlsn-prover", features = ["tracing"] }
# FIXME: use the single-cpu-backend for now, until we solve the problem with rayon
[dependencies.tlsn-prover]
git = "https://github.com/mhchia/tlsn.git"
branch = "tlsn-examples-ws-single-cpu-backend"
package = "tlsn-prover"
features = ["tracing"]

[dependencies.web-sys]
version = "0.3.22"
features = [
Expand Down

0 comments on commit 8c395b1

Please sign in to comment.