Skip to content

Commit 205652a

Browse files
Merge branch 'develop' into feature/upgrade-workflow
2 parents d115bdb + 543948e commit 205652a

File tree

10 files changed

+3357
-477
lines changed

10 files changed

+3357
-477
lines changed

.github/workflows/main.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@ jobs:
2929
run: npm ci
3030
- name: Check Format
3131
run: npm run check-format
32+
- name: Check Lint
33+
run: npm run check-lint
3234
- name: Build
3335
run: npm run build
3436
- name: Check Types

.prettierrc

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -8,16 +8,12 @@
88
"prettier-plugin-organize-imports",
99
"prettier-plugin-solidity"
1010
],
11-
"pluginsComments": {
12-
"prettier-plugin-organize-import": "Supports .ts files (not .sol)",
13-
"prettier-plugin-solidity": "Does not support imports sorting yet. See prettier-solidity/prettier-plugin-solidity#918"
14-
},
1511
"overrides": [
1612
{
17-
"files": "*.sol",
18-
"options": {
19-
"singleQuote": false
20-
}
13+
"files": "*.sol",
14+
"options": {
15+
"singleQuote": false
16+
}
2117
}
22-
]
18+
]
2319
}

.solhint.json

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
{
2+
"extends": [
3+
"solhint:recommended"
4+
],
5+
"plugins": [],
6+
"rules": {
7+
"compiler-version": [
8+
"error",
9+
"^0.8.20"
10+
],
11+
"func-visibility": [
12+
"warn",
13+
{
14+
"ignoreConstructors": true
15+
}
16+
],
17+
"quotes": [
18+
"error",
19+
"double"
20+
]
21+
}
22+
}

.solhintignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
hardhat-dependency-compiler

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
## vNEXT
44
- Add upgrade workflow. (#64)
5+
- Add Halborn "Poco v5.5 & Voucher v1.0" audit report ( #70)
56
- Add `dealId` to `TaskClaimedWithVoucher` event. (#61)
67
- Add type-checking script (#53)
78
- Run partial upgrade tests on fork.

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,3 +67,7 @@ npx hardhat verify <voucherProxyAddress> --network bellecour <beaconAddress>
6767

6868
Note: no need to verify all VoucherProxy contracts because Blockscout automatically
6969
matches all similar contracts with the submitted source code.
70+
71+
## Audits
72+
73+
All contract audit files can be found in [audit/](./audit/) folder.
3.22 MB
Binary file not shown.

eslint.config.mjs

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
import eslint from '@eslint/js';
2+
import tsEslint from '@typescript-eslint/eslint-plugin';
3+
import tsParser from '@typescript-eslint/parser';
4+
import importPlugin from 'eslint-plugin-import';
5+
6+
export default [
7+
{
8+
...eslint.configs.recommended,
9+
ignores: ['.solcover.js'],
10+
languageOptions: {
11+
parser: tsParser,
12+
parserOptions: {
13+
ecmaVersion: 'latest',
14+
sourceType: 'module',
15+
},
16+
},
17+
plugins: {
18+
'@typescript-eslint': tsEslint,
19+
import: importPlugin,
20+
},
21+
},
22+
];

0 commit comments

Comments
 (0)