-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert "feat: Body Parsing With Audit Fixes (#59)"
This reverts commit fac4274.
- Loading branch information
1 parent
e74b2af
commit 7c6b1e8
Showing
214 changed files
with
15,090 additions
and
22,328 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
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
name: Build-Test-Fmt | ||
|
||
on: | ||
[push] | ||
|
||
jobs: | ||
build-test-fmt: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- run: rustup show | ||
|
||
- uses: Swatinem/rust-cache@v2 | ||
|
||
- name: Setup Node.js | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: 18 | ||
cache: "yarn" | ||
|
||
- name: Install dependencies | ||
run: yarn install --frozen-lockfile | ||
|
||
- name: Install Foundry | ||
uses: foundry-rs/foundry-toolchain@v1 | ||
with: | ||
version: nightly-0079a1146b79a4aeda58b0258215bedb1f92700b | ||
|
||
- name: Run tests | ||
working-directory: packages/contracts | ||
run: yarn build | ||
|
||
- name: Free Disk Space (Ubuntu) | ||
uses: jlumbroso/free-disk-space@main | ||
with: | ||
# this might remove tools that are actually needed, | ||
# if set to "true" but frees about 6 GB | ||
tool-cache: false | ||
|
||
# all of these default to true, but feel free to set to | ||
# "false" if necessary for your workflow | ||
android: true | ||
dotnet: true | ||
haskell: true | ||
large-packages: true | ||
docker-images: true | ||
swap-storage: true | ||
|
||
- name: Build | ||
run: cargo build --release | ||
|
||
- name: Test | ||
run: cargo test --release |
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,4 +1,4 @@ | ||
name: Unit Tests | ||
name: unit-tests | ||
|
||
on: [push] | ||
|
||
|
@@ -21,8 +21,8 @@ jobs: | |
override: true | ||
components: rustfmt, clippy | ||
|
||
- name: Download circom v2.1.9 (Linux) | ||
run: wget https://github.com/iden3/circom/releases/download/v2.1.9/circom-linux-amd64 -O /usr/local/bin/circom && chmod +x /usr/local/bin/circom | ||
- name: Download circom (Linux) | ||
run: git clone https://github.com/iden3/circom.git && cd circom && cargo build --release && cargo install --path circom | ||
|
||
- name: Print circom version | ||
run: circom --version | ||
|
@@ -47,7 +47,7 @@ jobs: | |
uses: actions/setup-node@v3 | ||
with: | ||
node-version: 18 | ||
|
||
- name: Install yarn | ||
run: npm install -g yarn | ||
|
||
|
@@ -62,37 +62,3 @@ jobs: | |
- name: Run tests | ||
working-directory: packages/contracts | ||
run: yarn test | ||
|
||
- name: Run script tests | ||
working-directory: packages/contracts | ||
run: yarn test:script | ||
|
||
relayer: | ||
name: relayer | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- name: Install Node.js | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: 18 | ||
|
||
- name: Install yarn | ||
run: npm install -g yarn | ||
|
||
- name: Install dependencies | ||
run: yarn install --frozen-lockfile | ||
|
||
- name: Install Foundry | ||
uses: foundry-rs/[email protected] | ||
with: | ||
version: nightly-0079a1146b79a4aeda58b0258215bedb1f92700b | ||
|
||
- name: Build contracts | ||
working-directory: packages/contracts | ||
run: yarn build | ||
|
||
- name: Run tests | ||
working-directory: packages/relayer | ||
run: cargo test |
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.