Skip to content

Commit

Permalink
feat: upgrade to alpha.6 and new tlsn-wasm prover (#61)
Browse files Browse the repository at this point in the history
* Revert "chore: release v0.1.0-alpha.6 (#57)"

This reverts commit 292b426.

* parsed json

* add json commitments

* parse json from transcript

* wip

* wip

* wip

* feat: update to alpha.6

* chore: commit wasm pkg directory

* chore: version nump

* fix: test suite for alpha.6

* fix: remove wasm build from ci

* fix: update pnpm lockfile

* fix: remove test:wasm

* fix: linter and add new devDependency
  • Loading branch information
0xtsukino authored Aug 12, 2024
1 parent 292b426 commit e4a8a9c
Show file tree
Hide file tree
Showing 47 changed files with 41,618 additions and 1,481 deletions.
6 changes: 0 additions & 6 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,18 +53,12 @@ jobs:
restore-keys: |
${{ runner.os }}-pnpm-store-
- name: Install wasm-pack
run: npm install -g wasm-pack

- name: Install nightly tool-chain
run: rustup component add rust-src --toolchain nightly-x86_64-unknown-linux-gnu

- name: Install dependencies
run: pnpm install

- name: Build WASM
run: npm run build:wasm

- name: Build
run: npm run build

Expand Down
9 changes: 0 additions & 9 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -65,21 +65,12 @@ jobs:
restore-keys: |
${{ runner.os }}-pnpm-store-
- name: Install wasm-pack
run: npm install -g wasm-pack

- name: Install nightly tool-chain
run: rustup component add rust-src --toolchain nightly-x86_64-unknown-linux-gnu

- name: Install dependencies
run: pnpm install

- name: Build WASM
run: npm run build:wasm

- name: Test WASM
run: npm run test:wasm

- name: Build Test dependencies
run: npm run build:tlsn-binaries

Expand Down
6 changes: 1 addition & 5 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
wasm/prover/pkg
wasm/prover/target
wasm/prover/Cargo.lock
wasm-pack.log
node_modules/
.idea/
Expand All @@ -9,7 +8,4 @@ build/
dev-build/
test-build/
./demo/node_modules
./demo/package-lock.json
package-lock.json
pnpm-lock.yaml
yarn.lock
utils/tlsn
89 changes: 0 additions & 89 deletions demo/react-ts-webpack/app.tsx

This file was deleted.

9 changes: 7 additions & 2 deletions demo/react-ts-webpack/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,13 @@
"description": "",
"main": "webpack.js",
"scripts": {
"dev": "webpack-dev-server --config webpack.js"
"dev": "webpack-dev-server --config webpack.js",
"build": "webpack --config webpack.js"
},
"author": "",
"license": "ISC",
"dependencies": {
"comlink": "^4.4.1",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-loader-spinner": "^6.1.6",
Expand All @@ -19,12 +21,15 @@
"@types/react-dom": "^18.0.10",
"babel-loader": "^9.1.3",
"copy-webpack-plugin": "^11.0.0",
"crypto-browserify": "^3.12.0",
"html-webpack-plugin": "^5.5.0",
"source-map-loader": "^5.0.0",
"stream-browserify": "^3.0.0",
"ts-loader": "^9.4.2",
"typescript": "^4.9.4",
"vm-browserify": "^1.1.2",
"webpack": "^5.75.0",
"webpack-cli": "^4.10.0",
"webpack-dev-server": "^4.11.1"
}
}
}
Loading

0 comments on commit e4a8a9c

Please sign in to comment.