Skip to content

Commit

Permalink
Merge pull request #2 from patidarmanoj10/main
Browse files Browse the repository at this point in the history
Latest code
  • Loading branch information
patidarmanoj10 authored Oct 30, 2023
2 parents 34f0f0f + 0ff67a1 commit 41e69dc
Show file tree
Hide file tree
Showing 382 changed files with 94,638 additions and 2,857 deletions.
3 changes: 2 additions & 1 deletion .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@
"max-len": ["error", {"code": 120}],
"semi": ["error", "never"],
"quotes": ["error", "single"],
"arrow-body-style": "off"
"arrow-body-style": "off",
"sort-keys": "off"
}
}
4 changes: 2 additions & 2 deletions .github/env.properties
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
NODE_URL=https://eth.connect.bloq.cloud/v1/witness-open-trouble
BLOCK_NUMBER=16976969
NODE_URL=https://eth-mainnet.alchemyapi.io/v2/NbZ2px662CNSwdw3ZxdaZNe31yZbyddK
BLOCK_NUMBER=18383559
46 changes: 46 additions & 0 deletions .github/workflows/foundry.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
name: foundry tests
on:
pull_request:
paths:
- "test/foundry/**/*.sol"
- "contracts/**/*.sol"
- package*.json
- ".github/env.properties"
- ".github/workflows/foundry.yml"

env:
FOUNDRY_PROFILE: ci

jobs:
check:
strategy:
fail-fast: true

name: Foundry project
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
submodules: recursive
- run: cat "${GITHUB_WORKSPACE}/.github/env.properties" >> $GITHUB_ENV

- uses: actions/setup-node@v2
with:
node-version-file: ".nvmrc"
- run: npm i

- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1
with:
version: nightly

- name: Run Forge build
run: |
forge --version
forge build --sizes
id: build

- name: Run Forge tests
run: |
forge test -vvv
id: test
7 changes: 5 additions & 2 deletions .github/workflows/main.yml → .github/workflows/hardhat.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Tests
name: hardhat tests
on:
pull_request:
paths:
Expand All @@ -7,7 +7,7 @@ on:
- "deploy/**/*.ts"
- package*.json
- ".github/env.properties"
- ".github/workflows/main.yml"
- ".github/workflows/hardhat.yml"

jobs:
test:
Expand All @@ -26,5 +26,8 @@ jobs:
- name: Run npm install
run: npm i

- name: Run npm run lint
run: npm run lint

- name: Running tests
run: npm t
1 change: 0 additions & 1 deletion .husky/.gitignore

This file was deleted.

5 changes: 0 additions & 5 deletions .husky/pre-commit

This file was deleted.

5 changes: 0 additions & 5 deletions .lintstagedrc.json

This file was deleted.

Binary file added audits/Audit_Report_BLOQ-MSC_FINAL.pdf
Binary file not shown.
Binary file added audits/Audit_Report_BLOQ-MSC_REVIEW.pdf
Binary file not shown.
Loading

0 comments on commit 41e69dc

Please sign in to comment.