Skip to content

Commit 8a3e33b

Browse files
authored
chore: Update dependencies to latest versions (#276)
* chore: Update dependencies to latest versions Upgrade various dependencies across multiple crates to their latest compatible versions * chore: Update Cargo.toml dependency versions to latest compatible releases Upgrade serde and serde_json dependency versions using more flexible version specifiers * chore: Update Cargo dependencies to latest compatible versions Upgrade Ark and Wasmer dependencies to their latest minor versions, including: - ark-circom from 0.1.0 to 0.5.0 - ark-zkey from 0.1.0 to 0.1.2 - wasmer from 2.3.0 to 2.3.x - num-traits to 0.2.19 Also update Makefile to improve cross-platform build process for wabt * chore: Update Ark dependencies to latest patch versions * chore: Revert ark-zkey dependency and update Wasmer to 4.4.0 Remove ark-zkey optional dependency and update Wasmer to version 4.4.0 across multiple crates. Modify circuit module to include necessary structs and functions previously provided by ark-zkey. * chore: Update zkey path to use uncompressed arkzkey file * Remove rln-wasm package and related configurations Clean up project structure by removing the rln-wasm package, associated GitHub workflows, and WASM-specific configurations. This includes: - Removing rln-wasm directory and its contents - Updating Cargo.toml workspace configuration - Removing WASM-specific build and test configurations from CI workflows - Removing WASM-related dependencies and features from RLN crate * Fix CI workflow for default feature testing * rollback to default * Fix CI workflow to support default feature testing * Fix CI workflow syntax for feature testing condition * Update README.md with clearer testing instructions for RLN module
1 parent 7bb2444 commit 8a3e33b

File tree

25 files changed

+3124
-2182
lines changed

25 files changed

+3124
-2182
lines changed

.github/labels.yml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -90,11 +90,6 @@
9090
description: go-waku-productionization track (Waku Product)
9191
color: 9DEA79
9292

93-
# Tracks within zk-WASM project
94-
- name: track:kickoff
95-
description: Kickoff track (zk-WASM)
96-
color: 06B6C8
97-
9893
# Tracks within RAD project
9994
- name: track:waku-specs
10095
description: Waku specs track (RAD)

.github/workflows/ci.yml

Lines changed: 5 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,13 @@ on:
55
paths-ignore:
66
- "**.md"
77
- "!.github/workflows/*.yml"
8-
- "!rln-wasm/**"
98
- "!rln/src/**"
109
- "!rln/resources/**"
1110
- "!utils/src/**"
1211
pull_request:
1312
paths-ignore:
1413
- "**.md"
1514
- "!.github/workflows/*.yml"
16-
- "!rln-wasm/**"
1715
- "!rln/src/**"
1816
- "!rln/resources/**"
1917
- "!utils/src/**"
@@ -71,36 +69,13 @@ jobs:
7169
run: make installdeps
7270
- name: cargo-make test
7371
run: |
74-
cargo make test_${{ matrix.feature }} --release
72+
if [ ${{ matrix.feature }} == default ]; then
73+
cargo make test --release
74+
else
75+
cargo make test_${{ matrix.feature }} --release
76+
fi
7577
working-directory: ${{ matrix.crate }}
7678

77-
rln-wasm:
78-
strategy:
79-
matrix:
80-
platform: [ ubuntu-latest, macos-latest ]
81-
runs-on: ${{ matrix.platform }}
82-
timeout-minutes: 60
83-
84-
name: test - rln-wasm - ${{ matrix.platform }}
85-
steps:
86-
- uses: actions/checkout@v3
87-
- name: Install stable toolchain
88-
uses: actions-rs/toolchain@v1
89-
with:
90-
profile: minimal
91-
# TODO: Update to stable once wasmer supports it
92-
toolchain: 1.82.0
93-
override: true
94-
- uses: Swatinem/rust-cache@v2
95-
- name: Install Dependencies
96-
run: make installdeps
97-
- name: Install wasm-pack
98-
uses: jetli/wasm-pack-action@v0.3.0
99-
- run: cargo make build
100-
working-directory: rln-wasm
101-
- run: cargo make test --release
102-
working-directory: rln-wasm
103-
10479
lint:
10580
strategy:
10681
matrix:
@@ -133,9 +108,6 @@ jobs:
133108
run: |
134109
cargo clippy --release -- -D warnings
135110
working-directory: ${{ matrix.crate }}
136-
# We skip clippy on rln-wasm, since wasm target is managed by cargo make
137-
# Currently not treating warnings as error, too noisy
138-
# -- -D warnings
139111

140112
benchmark-utils:
141113
# run only in pull requests

.github/workflows/nightly-release.yml

Lines changed: 3 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
run: make installdeps
3434
- name: cross build
3535
run: |
36-
cross build --release --target ${{ matrix.target }} --features ${{ matrix.feature }} --workspace --exclude rln-wasm ${{ matrix.cargo_args }}
36+
cross build --release --target ${{ matrix.target }} --features ${{ matrix.feature }}
3737
mkdir release
3838
cp target/${{ matrix.target }}/release/librln* release/
3939
tar -czvf ${{ matrix.target }}-${{ matrix.feature }}-rln.tar.gz release/
@@ -72,7 +72,7 @@ jobs:
7272
run: make installdeps
7373
- name: cross build
7474
run: |
75-
cross build --release --target ${{ matrix.target }} --features ${{ matrix.feature }} --workspace --exclude rln-wasm ${{ matrix.cargo_args }}
75+
cross build --release --target ${{ matrix.target }} --features ${{ matrix.feature }}
7676
mkdir release
7777
cp target/${{ matrix.target }}/release/librln* release/
7878
tar -czvf ${{ matrix.target }}-${{ matrix.feature }}-rln.tar.gz release/
@@ -84,42 +84,9 @@ jobs:
8484
path: ${{ matrix.target }}-${{ matrix.feature }}-rln.tar.gz
8585
retention-days: 2
8686

87-
browser-rln-wasm:
88-
name: Browser build (RLN WASM)
89-
runs-on: ubuntu-latest
90-
steps:
91-
- name: Checkout sources
92-
uses: actions/checkout@v3
93-
- name: Install stable toolchain
94-
uses: actions-rs/toolchain@v1
95-
with:
96-
profile: minimal
97-
# TODO: Update to stable once wasmer supports it
98-
toolchain: 1.82.0
99-
override: true
100-
- uses: Swatinem/rust-cache@v2
101-
- name: Install dependencies
102-
run: make installdeps
103-
- name: Install wasm-pack
104-
uses: jetli/wasm-pack-action@v0.3.0
105-
- name: cross make build
106-
run: |
107-
cross make build
108-
mkdir release
109-
cp pkg/** release/
110-
tar -czvf browser-rln-wasm.tar.gz release/
111-
working-directory: rln-wasm
112-
113-
- name: Upload archive artifact
114-
uses: actions/upload-artifact@v4
115-
with:
116-
name: browser-rln-wasm-archive
117-
path: rln-wasm/browser-rln-wasm.tar.gz
118-
retention-days: 2
119-
12087
prepare-prerelease:
12188
name: Prepare pre-release
122-
needs: [ linux, macos, browser-rln-wasm ]
89+
needs: [ linux, macos ]
12390
runs-on: ubuntu-latest
12491
steps:
12592
- name: Checkout code

0 commit comments

Comments
 (0)