-
Notifications
You must be signed in to change notification settings - Fork 52
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #82 from noir-lang/zpedro/holesky
feat: refactor for bun, viem, and other things
- Loading branch information
Showing
28 changed files
with
363 additions
and
10,575 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,5 @@ | ||
FROM --platform=linux/amd64 node:lts-bookworm-slim | ||
SHELL ["/bin/bash", "-c"] | ||
RUN apt update && apt install -y curl bash git tar gzip libc++-dev | ||
RUN curl -L https://raw.githubusercontent.com/noir-lang/noirup/main/install | bash | ||
ENV PATH="/root/.nargo/bin:$PATH" | ||
RUN noirup | ||
ENTRYPOINT ["nargo"] | ||
RUN apt update && apt install -y curl bash git tar gzip libc++-dev unzip | ||
RUN curl -fsSL https://bun.sh/install | bash | ||
ENTRYPOINT ["bun"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,17 @@ | ||
// For format details, see https://aka.ms/devcontainer.json. For config options, see the | ||
// README at: https://github.com/devcontainers/templates/tree/main/src/docker-existing-dockerfile | ||
{ | ||
"name": "Existing Dockerfile", | ||
"build": { | ||
"context": ".", | ||
"dockerfile": "Dockerfile" | ||
}, | ||
"customizations": { | ||
// Configure properties specific to VS Code. | ||
"vscode": { | ||
// Set *default* container specific settings.json values on container create. | ||
"settings": {}, | ||
"extensions": ["noir-lang.vscode-noir"] | ||
} | ||
}, | ||
"postCreateCommand": "nargo" | ||
"name": "Existing Dockerfile", | ||
"build": { | ||
"context": ".", | ||
"dockerfile": "Dockerfile" | ||
}, | ||
"customizations": { | ||
// Configure properties specific to VS Code. | ||
"vscode": { | ||
// Set *default* container specific settings.json values on container create. | ||
"settings": {}, | ||
"extensions": ["noir-lang.vscode-noir"] | ||
} | ||
} | ||
} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,6 +6,9 @@ on: | |
schedule: | ||
# Run a nightly release at 2 AM UTC | ||
- cron: '0 2 * * *' | ||
pull_request: | ||
paths: | ||
- 'vite-hardhat/**' | ||
|
||
jobs: | ||
vite-hardhat-setup: | ||
|
@@ -48,15 +51,8 @@ jobs: | |
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- name: Set up yarn | ||
uses: ./.github/actions/setup-yarn | ||
with: | ||
project: vite-hardhat | ||
|
||
- name: Set up nargo | ||
uses: ./.github/actions/setup-nargo | ||
with: | ||
version: ${{ matrix.version }} | ||
- name: Set up bun | ||
uses: oven-sh/setup-bun@v1 | ||
|
||
- name: Get stability | ||
id: get-stability | ||
|
@@ -75,20 +71,19 @@ jobs: | |
echo "Is stable: $IS_STABLE" | ||
echo "::set-output name=is_stable::$IS_STABLE" | ||
- name: Install dependencies | ||
run: bun install | ||
|
||
- name: Install test version | ||
run: | | ||
yarn add \ | ||
bun i \ | ||
@noir-lang/noir_js@${{ matrix.version }} \ | ||
@noir-lang/backend_barretenberg@${{ matrix.version }} \ | ||
@noir-lang/noir_wasm@${{ matrix.version }} \ | ||
@noir-lang/types@${{ matrix.version }} | ||
- name: Generate verifier contract | ||
run: yarn prep | ||
|
||
- name: Run test | ||
run: yarn test | ||
id: yarn_test | ||
- name: Run tests | ||
run: bun test | ||
|
||
- name: Send GitHub Action trigger data to Slack workflow - Stable | ||
uses: slackapi/[email protected] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,5 @@ | ||
[package] | ||
name = "noirstarter" | ||
type = "bin" | ||
authors = [""] | ||
compiler_version = ">=0.27.0" | ||
|
||
[dependencies] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.