Skip to content

Commit 9249b30

Browse files
committed
Merge branch 'QA-Test' into Stable-Test
2 parents f5ca977 + 141850d commit 9249b30

File tree

126 files changed

+22764
-31250
lines changed

Some content is hidden

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

126 files changed

+22764
-31250
lines changed

.dockerignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
node_modules/

.github/workflows/ci.yml

Lines changed: 16 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,8 @@ name: CI
55
# Controls when the workflow will run
66
on:
77
push:
8-
branches: [ master, Stable-Test, QA-Test ]
8+
branches: [master, Stable-Test, QA-Test]
99
pull_request:
10-
branches: [ master, Stable-Test, QA-Test ]
1110

1211
# Allows you to run this workflow manually from the Actions tab
1312
workflow_dispatch:
@@ -27,21 +26,28 @@ jobs:
2726
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
2827
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
2928

30-
- name: Use Node.js 19.6.0
29+
- name: Use Node.js 20.15.1
3130
uses: actions/setup-node@0a44ba7841725637a19e28fa30b79a866c81b0a6 # v4.0.4
3231
with:
33-
node-version: '19.6.0'
34-
35-
- name: Install truffle
36-
run: npm install -g truffle
32+
node-version: "20.15.1"
3733

3834
- name: NPM Login
39-
run: npm config set //npm.pkg.github.com/:_authToken ${{ secrets.GITHUB_TOKEN }}
35+
env:
36+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
37+
run: npm config set //npm.pkg.github.com/:_authToken $GITHUB_TOKEN
4038

4139
- name: Install dependencies
4240
run: npm ci
43-
# - name: Lint source and tests
44-
# run: npm run lint
41+
42+
- name: Lint contracts
43+
run: npm run lint:sol
44+
45+
- name: Compile contracts
46+
run: npm run compile
47+
48+
- name: Lint test and scripts
49+
run: npm run lint:ts
50+
4551
- name: Unit test smart contracts
4652
run: npm test
4753
# - name: Coverage report

.github/workflows/dependency-review.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,17 +6,22 @@
66
# PRs introducing known-vulnerable packages will be blocked from merging.
77
#
88
# Source repository: https://github.com/actions/dependency-review-action
9-
name: 'Dependency Review'
9+
name: "Dependency Review"
1010
on: [pull_request]
1111

1212
permissions:
1313
contents: read
1414

1515
jobs:
1616
dependency-review:
17+
permissions:
18+
contents: read
19+
pull-requests: write
1720
runs-on: ubuntu-latest
1821
steps:
1922
- name: 'Checkout Repository'
2023
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
2124
- name: 'Dependency Review'
2225
uses: actions/dependency-review-action@3b139cfc5fae8b618d3eae3675e383bb1769c019 # v4.5.0
26+
with:
27+
comment-summary-in-pr: true

.github/workflows/scorecard.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@ name: Scorecard supply-chain security
22
on:
33
branch_protection_rule:
44
schedule:
5-
- cron: '0 0 * * 1'
5+
- cron: "0 0 * * 1"
66
push:
7-
branches: [ "master" ]
7+
branches: ["master"]
88

99
permissions: read-all
1010

.github/workflows/slither.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,15 @@ jobs:
1313
steps:
1414
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
1515

16-
- name: Use Node.js 19.6.0
16+
- name: Use Node.js 20.15.1
1717
uses: actions/setup-node@0a44ba7841725637a19e28fa30b79a866c81b0a6 # v4.0.4
1818
with:
19-
node-version: '19.6.0'
19+
node-version: "20.15.1"
2020

2121
- name: NPM Login
22-
run: npm config set //npm.pkg.github.com/:_authToken ${{ secrets.GITHUB_TOKEN }}
22+
env:
23+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
24+
run: npm config set //npm.pkg.github.com/:_authToken $GITHUB_TOKEN
2325

2426
- name: Install dependencies
2527
run: npm ci
@@ -31,8 +33,7 @@ jobs:
3133
sarif: results.sarif
3234
fail-on: none
3335
target: .
34-
slither-args: --filter-paths "node_modules/"
35-
36+
slither-args: --filter-paths "node_modules/|contracts/safe-test-contracts/"
3637
- name: Upload SARIF file
3738
uses: github/codeql-action/upload-sarif@48ab28a6f5dbc2a99bf1e0131198dd8f1df78169 # v3.28.0
3839
with:

.gitignore

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,21 @@ coverage.json
1111
.DS_Store
1212
integration-test/test.config.json
1313
.env
14+
15+
node_modules
16+
.env
17+
18+
# Hardhat files
19+
/cache
20+
/artifacts
21+
22+
# TypeChain files
23+
/typechain
24+
/typechain-types
25+
26+
# solidity-coverage files
27+
/coverage
28+
/coverage.json
29+
30+
# Hardhat Ignition default folder for deployments against a local node
31+
ignition/deployments/chain-31337

.nvmrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
v20.15.1

0 commit comments

Comments
 (0)