Skip to content

Commit 7b6afbc

Browse files
committed
Fixing wasm-opt
1 parent 78c0cee commit 7b6afbc

47 files changed

Lines changed: 15857 additions & 10532 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/actions/setup-rust/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ description: Sets up Rust
33
runs:
44
using: "composite"
55
steps:
6-
- uses: actions/cache@v4
6+
- uses: actions/cache@v5
77
with:
88
path: |
99
~/.cargo/registry

.github/actions/setup-yarn/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ description: Sets up Yarn
33
runs:
44
using: "composite"
55
steps:
6-
- uses: actions/setup-node@v4
6+
- uses: actions/setup-node@v6
77
with:
88
cache: 'yarn'
99

.github/actions/use-build/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@ runs:
44
using: "composite"
55
steps:
66
- name: Download build
7-
uses: actions/download-artifact@v4
7+
uses: actions/download-artifact@v8
88
with:
99
name: build

.github/workflows/sdk.yml

Lines changed: 26 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -19,17 +19,17 @@ env:
1919
jobs:
2020
build:
2121
name: build
22-
runs-on: ubuntu-latest-m
22+
runs-on: ubuntu-latest
2323
steps:
24-
- uses: actions/checkout@v4
24+
- uses: actions/checkout@v6
2525
- uses: ./.github/actions/setup-yarn
2626
- uses: ./.github/actions/setup-rust
2727

2828
- run: |
2929
yarn build:all
3030
3131
- name: Upload build artifacts
32-
uses: actions/upload-artifact@v4
32+
uses: actions/upload-artifact@v7
3333
with:
3434
name: build
3535
path: |
@@ -40,9 +40,9 @@ jobs:
4040
4141
test-wasm:
4242
name: test wasm
43-
runs-on: ubuntu-latest-m
43+
runs-on: ubuntu-latest
4444
steps:
45-
- uses: actions/checkout@v4
45+
- uses: actions/checkout@v6
4646
- uses: ./.github/actions/setup-yarn
4747

4848
- run: |
@@ -54,7 +54,7 @@ jobs:
5454
runs-on: ubuntu-latest
5555
needs: build
5656
steps:
57-
- uses: actions/checkout@v4
57+
- uses: actions/checkout@v6
5858
- uses: ./.github/actions/setup-yarn
5959
- uses: ./.github/actions/use-build
6060

@@ -64,14 +64,14 @@ jobs:
6464
6565
e2e:
6666
name: "e2e"
67-
runs-on: ubuntu-latest-m
67+
runs-on: ubuntu-latest
6868
needs: build
6969
strategy:
7070
fail-fast: false
7171
matrix:
7272
network: [testnet, mainnet, dynamic]
7373
steps:
74-
- uses: actions/checkout@v4
74+
- uses: actions/checkout@v6
7575
- uses: ./.github/actions/setup-yarn
7676
- uses: ./.github/actions/use-build
7777

@@ -82,10 +82,10 @@ jobs:
8282
8383
create-leo-app-cli:
8484
name: "create-leo-app CLI"
85-
runs-on: ubuntu-latest-m
85+
runs-on: ubuntu-latest
8686
needs: build
8787
steps:
88-
- uses: actions/checkout@v4
88+
- uses: actions/checkout@v6
8989
- uses: ./.github/actions/setup-yarn
9090
- uses: ./.github/actions/use-build
9191

@@ -97,7 +97,7 @@ jobs:
9797
9898
create-leo-app-build:
9999
name: "create-leo-app build"
100-
runs-on: ubuntu-latest-m
100+
runs-on: ubuntu-latest
101101
needs: build
102102
strategy:
103103
fail-fast: false
@@ -112,7 +112,7 @@ jobs:
112112
- react-ts
113113
- vanilla
114114
steps:
115-
- uses: actions/checkout@v4
115+
- uses: actions/checkout@v6
116116
- uses: ./.github/actions/setup-yarn
117117
- uses: ./.github/actions/use-build
118118

@@ -123,7 +123,7 @@ jobs:
123123
124124
create-leo-app-run:
125125
name: "create-leo-app run"
126-
runs-on: ubuntu-latest-m
126+
runs-on: ubuntu-latest
127127
needs: build
128128
strategy:
129129
fail-fast: false
@@ -136,7 +136,7 @@ jobs:
136136
- template: node-ts
137137
command: test
138138
steps:
139-
- uses: actions/checkout@v4
139+
- uses: actions/checkout@v6
140140
- uses: ./.github/actions/setup-yarn
141141
- uses: ./.github/actions/use-build
142142

@@ -147,10 +147,10 @@ jobs:
147147
148148
create-leo-app-loyalty-program-local:
149149
name: "create-leo-app loyalty-program (local)"
150-
runs-on: ubuntu-latest-m
150+
runs-on: ubuntu-latest
151151
needs: build
152152
steps:
153-
- uses: actions/checkout@v4
153+
- uses: actions/checkout@v6
154154
- uses: ./.github/actions/setup-yarn
155155
- uses: ./.github/actions/use-build
156156

@@ -169,7 +169,7 @@ jobs:
169169
runs-on: ubuntu-latest
170170
needs: build
171171
steps:
172-
- uses: actions/checkout@v4
172+
- uses: actions/checkout@v6
173173
- uses: ./.github/actions/setup-yarn
174174
- uses: ./.github/actions/use-build
175175

@@ -201,10 +201,10 @@ jobs:
201201
# a throwing function to simulate mTLS environments.
202202
transport-e2e:
203203
name: "Transport-aware proving (testnet)"
204-
runs-on: ubuntu-latest-m
204+
runs-on: ubuntu-latest
205205
needs: build
206206
steps:
207-
- uses: actions/checkout@v4
207+
- uses: actions/checkout@v6
208208
- uses: ./.github/actions/setup-yarn
209209
- uses: ./.github/actions/use-build
210210

@@ -216,10 +216,10 @@ jobs:
216216

217217
create-leo-app-dynamic-dispatch-proving:
218218
name: "create-leo-app dynamic-dispatch-proving (testnet)"
219-
runs-on: ubuntu-latest-m
219+
runs-on: ubuntu-latest
220220
needs: build
221221
steps:
222-
- uses: actions/checkout@v4
222+
- uses: actions/checkout@v6
223223
- uses: ./.github/actions/setup-yarn
224224
- uses: ./.github/actions/use-build
225225

@@ -231,7 +231,7 @@ jobs:
231231
232232
create-leo-app-loyalty-program-delegated:
233233
name: "create-leo-app loyalty-program (delegated + scanner)"
234-
runs-on: ubuntu-latest-m
234+
runs-on: ubuntu-latest
235235
needs: build
236236
env:
237237
# Consumer ID (used for both DPS and RSS)
@@ -242,7 +242,7 @@ jobs:
242242
# RSS configuration
243243
ALEO_RSS_URL: https://api.provable.com/scanner
244244
steps:
245-
- uses: actions/checkout@v4
245+
- uses: actions/checkout@v6
246246
- uses: ./.github/actions/setup-yarn
247247
- uses: ./.github/actions/use-build
248248

@@ -265,7 +265,7 @@ jobs:
265265
matrix:
266266
network: [testnet, mainnet]
267267
steps:
268-
- uses: actions/checkout@v4
268+
- uses: actions/checkout@v6
269269
- uses: ./.github/actions/setup-rust
270270

271271
- name: "cargo clippy"
@@ -278,7 +278,7 @@ jobs:
278278
name: "rustfmt"
279279
runs-on: ubuntu-latest
280280
steps:
281-
- uses: actions/checkout@v4
281+
- uses: actions/checkout@v6
282282
- uses: ./.github/actions/setup-rust
283283

284284
- name: "cargo fmt"
@@ -293,7 +293,7 @@ jobs:
293293
needs: build
294294

295295
steps:
296-
- uses: actions/checkout@v4
296+
- uses: actions/checkout@v6
297297
- uses: ./.github/actions/setup-yarn
298298
- uses: ./.github/actions/use-build
299299

.github/workflows/staging-website.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
name: SDK Website
1010
runs-on: ubuntu-latest
1111
steps:
12-
- uses: actions/checkout@v4
12+
- uses: actions/checkout@v6
1313
- uses: ./.github/actions/setup-yarn
1414
- uses: ./.github/actions/setup-rust
1515

.github/workflows/update-snarkvm.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
pull-requests: write
2121
steps:
2222
- name: Checkout SDK
23-
uses: actions/checkout@v5
23+
uses: actions/checkout@v6
2424
with:
2525
ref: mainnet
2626
token: ${{ secrets.GITHUB_TOKEN }}
@@ -35,7 +35,7 @@ jobs:
3535
3636
- name: Get latest snarkVM staging commit
3737
id: snarkvm-commit
38-
uses: actions/github-script@v7
38+
uses: actions/github-script@v9
3939
with:
4040
script: |
4141
// Get the latest commit hash from snarkVM staging branch
@@ -44,7 +44,7 @@ jobs:
4444
repo: 'snarkVM',
4545
branch: 'staging'
4646
});
47-
47+
4848
const latestCommit = branch.commit.sha;
4949
console.log('Latest snarkVM staging commit:', latestCommit);
5050
core.setOutput('latest_commit', latestCommit);
@@ -74,7 +74,7 @@ jobs:
7474
echo "Error: Invalid commit hash format: $LATEST_COMMIT"
7575
exit 1
7676
fi
77-
77+
7878
# First, update the rev in Cargo.toml to point to the new commit
7979
cd wasm
8080
cargo add snarkvm-algorithms --git https://github.com/ProvableHQ/snarkVM --rev $LATEST_COMMIT
@@ -98,7 +98,7 @@ jobs:
9898
9999
Previous commit: ${{ steps.snarkvm-commit.outputs.current_commit }}
100100
Latest commit: ${{ steps.snarkvm-commit.outputs.latest_commit }}
101-
101+
102102
This update was performed automatically by the snarkVM update workflow."
103103
104104
# Make sure the remote branch exists and is up to date
@@ -109,7 +109,7 @@ jobs:
109109
110110
- name: Create or update PR
111111
if: steps.snarkvm-commit.outputs.update_needed == 'true'
112-
uses: actions/github-script@v7
112+
uses: actions/github-script@v9
113113
with:
114114
script: |
115115
// Check if a PR already exists from update-snarkvm-staging to staging
@@ -120,7 +120,7 @@ jobs:
120120
base: 'staging',
121121
state: 'open'
122122
});
123-
123+
124124
if (prs.length === 0) {
125125
// No PR exists, create one
126126
const { data: pr } = await github.rest.pulls.create({

.github/workflows/website.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
name: SDK Website
1010
runs-on: ubuntu-latest
1111
steps:
12-
- uses: actions/checkout@v4
12+
- uses: actions/checkout@v6
1313
- uses: ./.github/actions/setup-yarn
1414
- uses: ./.github/actions/setup-rust
1515

.yarnrc.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
nodeLinker: "node-modules"
1+
nodeLinker: node-modules

create-leo-app/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
"minimist": "^1.2.8",
3838
"prompts": "^2.4.2",
3939
"ts-node": "^10.9.2",
40-
"typescript": "^5.8.2",
41-
"unbuild": "^3.3.1"
40+
"typescript": "^6.0.3",
41+
"unbuild": "^3.6.1"
4242
}
4343
}

create-leo-app/template-build-and-execute-authorization-ts/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@
1111
"@provablehq/sdk": "^0.10.5"
1212
},
1313
"devDependencies": {
14-
"rimraf": "^6.0.1",
15-
"rollup": "^4.59.0",
16-
"rollup-plugin-typescript2": "^0.36.0",
17-
"typescript": "^5.7.3"
14+
"rimraf": "^6.1.3",
15+
"rollup": "^4.60.3",
16+
"rollup-plugin-typescript2": "^0.37.0",
17+
"typescript": "^6.0.3"
1818
}
1919
}

0 commit comments

Comments
 (0)