Skip to content
Open
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
2 changes: 1 addition & 1 deletion .github/actions/setup-rust/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ description: Sets up Rust
runs:
using: "composite"
steps:
- uses: actions/cache@v4
- uses: actions/cache@v5
with:
path: |
~/.cargo/registry
Expand Down
2 changes: 1 addition & 1 deletion .github/actions/setup-yarn/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ description: Sets up Yarn
runs:
using: "composite"
steps:
- uses: actions/setup-node@v4
- uses: actions/setup-node@v6
with:
cache: 'yarn'

Expand Down
2 changes: 1 addition & 1 deletion .github/actions/use-build/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ runs:
using: "composite"
steps:
- name: Download build
uses: actions/download-artifact@v4
uses: actions/download-artifact@v8
with:
name: build
52 changes: 26 additions & 26 deletions .github/workflows/sdk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,17 +19,17 @@ env:
jobs:
build:
name: build
runs-on: ubuntu-latest-m
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6
- uses: ./.github/actions/setup-yarn
- uses: ./.github/actions/setup-rust

- run: |
yarn build:all

- name: Upload build artifacts
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v7
with:
name: build
path: |
Expand All @@ -40,9 +40,9 @@ jobs:

test-wasm:
name: test wasm
runs-on: ubuntu-latest-m
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6
- uses: ./.github/actions/setup-yarn

- run: |
Expand All @@ -54,7 +54,7 @@ jobs:
runs-on: ubuntu-latest
needs: build
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6
- uses: ./.github/actions/setup-yarn
- uses: ./.github/actions/use-build

Expand All @@ -64,14 +64,14 @@ jobs:

e2e:
name: "e2e"
runs-on: ubuntu-latest-m
runs-on: ubuntu-latest
needs: build
strategy:
fail-fast: false
matrix:
network: [testnet, mainnet, dynamic]
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6
- uses: ./.github/actions/setup-yarn
- uses: ./.github/actions/use-build

Expand All @@ -82,10 +82,10 @@ jobs:

create-leo-app-cli:
name: "create-leo-app CLI"
runs-on: ubuntu-latest-m
runs-on: ubuntu-latest
needs: build
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6
- uses: ./.github/actions/setup-yarn
- uses: ./.github/actions/use-build

Expand All @@ -97,7 +97,7 @@ jobs:

create-leo-app-build:
name: "create-leo-app build"
runs-on: ubuntu-latest-m
runs-on: ubuntu-latest
needs: build
strategy:
fail-fast: false
Expand All @@ -112,7 +112,7 @@ jobs:
- react-ts
- vanilla
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6
- uses: ./.github/actions/setup-yarn
- uses: ./.github/actions/use-build

Expand All @@ -123,7 +123,7 @@ jobs:

create-leo-app-run:
name: "create-leo-app run"
runs-on: ubuntu-latest-m
runs-on: ubuntu-latest
needs: build
strategy:
fail-fast: false
Expand All @@ -136,7 +136,7 @@ jobs:
- template: node-ts
command: test
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6
- uses: ./.github/actions/setup-yarn
- uses: ./.github/actions/use-build

Expand All @@ -147,10 +147,10 @@ jobs:

create-leo-app-loyalty-program-local:
name: "create-leo-app loyalty-program (local)"
runs-on: ubuntu-latest-m
runs-on: ubuntu-latest
needs: build
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6
- uses: ./.github/actions/setup-yarn
- uses: ./.github/actions/use-build

Expand Down Expand Up @@ -190,7 +190,7 @@ jobs:
runs-on: ubuntu-latest
needs: build
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6
- uses: ./.github/actions/setup-yarn
- uses: ./.github/actions/use-build

Expand Down Expand Up @@ -222,10 +222,10 @@ jobs:
# a throwing function to simulate mTLS environments.
transport-e2e:
name: "Transport-aware proving (testnet)"
runs-on: ubuntu-latest-m
runs-on: ubuntu-latest
needs: build
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6
- uses: ./.github/actions/setup-yarn
- uses: ./.github/actions/use-build

Expand All @@ -237,10 +237,10 @@ jobs:

create-leo-app-dynamic-dispatch-proving:
name: "create-leo-app dynamic-dispatch-proving (testnet)"
runs-on: ubuntu-latest-m
runs-on: ubuntu-latest
needs: build
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6
- uses: ./.github/actions/setup-yarn
- uses: ./.github/actions/use-build

Expand All @@ -252,7 +252,7 @@ jobs:

create-leo-app-loyalty-program-delegated:
name: "create-leo-app loyalty-program (delegated + scanner)"
runs-on: ubuntu-latest-m
runs-on: ubuntu-latest
needs: build
env:
# Consumer ID (used for both DPS and RSS)
Expand All @@ -263,7 +263,7 @@ jobs:
# RSS configuration
ALEO_RSS_URL: https://api.provable.com/scanner
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6
- uses: ./.github/actions/setup-yarn
- uses: ./.github/actions/use-build

Expand All @@ -286,7 +286,7 @@ jobs:
matrix:
network: [testnet, mainnet]
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6
- uses: ./.github/actions/setup-rust

- name: "cargo clippy"
Expand All @@ -299,7 +299,7 @@ jobs:
name: "rustfmt"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6
- uses: ./.github/actions/setup-rust

- name: "cargo fmt"
Expand All @@ -314,7 +314,7 @@ jobs:
needs: build

steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6
- uses: ./.github/actions/setup-yarn
- uses: ./.github/actions/use-build

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/staging-website.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
name: SDK Website
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6
- uses: ./.github/actions/setup-yarn
- uses: ./.github/actions/setup-rust

Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/update-snarkvm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
pull-requests: write
steps:
- name: Checkout SDK
uses: actions/checkout@v5
uses: actions/checkout@v6
with:
ref: mainnet
token: ${{ secrets.GITHUB_TOKEN }}
Expand All @@ -35,7 +35,7 @@ jobs:

- name: Get latest snarkVM staging commit
id: snarkvm-commit
uses: actions/github-script@v7
uses: actions/github-script@v9
with:
script: |
// Get the latest commit hash from snarkVM staging branch
Expand All @@ -44,7 +44,7 @@ jobs:
repo: 'snarkVM',
branch: 'staging'
});

const latestCommit = branch.commit.sha;
console.log('Latest snarkVM staging commit:', latestCommit);
core.setOutput('latest_commit', latestCommit);
Expand Down Expand Up @@ -74,7 +74,7 @@ jobs:
echo "Error: Invalid commit hash format: $LATEST_COMMIT"
exit 1
fi

# First, update the rev in Cargo.toml to point to the new commit
cd wasm
cargo add snarkvm-algorithms --git https://github.com/ProvableHQ/snarkVM --rev $LATEST_COMMIT
Expand All @@ -98,7 +98,7 @@ jobs:

Previous commit: ${{ steps.snarkvm-commit.outputs.current_commit }}
Latest commit: ${{ steps.snarkvm-commit.outputs.latest_commit }}

This update was performed automatically by the snarkVM update workflow."

# Make sure the remote branch exists and is up to date
Expand All @@ -109,7 +109,7 @@ jobs:

- name: Create or update PR
if: steps.snarkvm-commit.outputs.update_needed == 'true'
uses: actions/github-script@v7
uses: actions/github-script@v9
with:
script: |
// Check if a PR already exists from update-snarkvm-staging to staging
Expand All @@ -120,7 +120,7 @@ jobs:
base: 'staging',
state: 'open'
});

if (prs.length === 0) {
// No PR exists, create one
const { data: pr } = await github.rest.pulls.create({
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/website.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
name: SDK Website
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6
- uses: ./.github/actions/setup-yarn
- uses: ./.github/actions/setup-rust

Expand Down
4 changes: 0 additions & 4 deletions .yarnrc.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,2 @@
approvedGitRepositories:
- "**"

enableScripts: true

nodeLinker: node-modules
4 changes: 2 additions & 2 deletions create-leo-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
"minimist": "^1.2.8",
"prompts": "^2.4.2",
"ts-node": "^10.9.2",
"typescript": "^5.8.2",
"unbuild": "^3.3.1"
"typescript": "^6.0.3",
"unbuild": "^3.6.1"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@
"@provablehq/sdk": "^0.10.5"
},
"devDependencies": {
"rimraf": "^6.0.1",
"rollup": "^4.59.0",
"rollup-plugin-typescript2": "^0.36.0",
"typescript": "^5.7.3"
"rimraf": "^6.1.3",
"rollup": "^4.60.3",
"rollup-plugin-typescript2": "^0.37.0",
"typescript": "^6.0.3"
}
}
8 changes: 4 additions & 4 deletions create-leo-app/template-extension/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@
},
"devDependencies": {
"@provablehq/sdk": "^0.10.5",
"@rollup/plugin-node-resolve": "^16.0.0",
"@web/rollup-plugin-import-meta-assets": "^2.2.1",
"rimraf": "^6.0.1",
"rollup": "^4.59.0"
"@rollup/plugin-node-resolve": "^16.0.3",
"@web/rollup-plugin-import-meta-assets": "^2.3.3",
"rimraf": "^6.1.3",
"rollup": "^4.60.3"
}
}
20 changes: 10 additions & 10 deletions create-leo-app/template-nextjs-ts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,22 +3,22 @@
"version": "0.1.0",
"private": true,
"scripts": {
"dev": "next dev",
"build": "next build",
"dev": "next dev --webpack",
"build": "next build --webpack",
"start": "next start",
"lint": "next lint"
},
"dependencies": {
"@provablehq/sdk": "^0.10.5",
"next": "15.5.18",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"terser-webpack-plugin": "^5.3.11"
"next": "16.2.6",
"react": "^19.2.6",
"react-dom": "^19.2.6",
"terser-webpack-plugin": "^5.6.0"
},
"devDependencies": {
"@types/node": "^22.12.0",
"@types/react": "^19.0.8",
"@types/react-dom": "^19.0.3",
"typescript": "^5.7.3"
"@types/node": "^25.6.2",
"@types/react": "^19.2.14",
"@types/react-dom": "^19.2.3",
"typescript": "^6.0.3"
}
}
1 change: 1 addition & 0 deletions create-leo-app/template-nextjs-ts/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
"esModuleInterop": true,
"module": "esnext",
"moduleResolution": "bundler",
"noUncheckedSideEffectImports": false,
"resolveJsonModule": true,
"isolatedModules": true,
"jsx": "preserve",
Expand Down
Loading
Loading