Staking code, deployment scripts, tests, and thread model #837
test.yml
on: pull_request
Run Forge Tests
1m 4s
Run Hardhat Tests
1m 28s
Run eslint
29s
Run solhint
28s
Run slither
1m 55s
Check README.md is contained in each contracts directory
3s
dependency-review
5s
Publish to NPM (dry run)
1m 26s
Annotations
11 errors and 9 warnings
Run solhint:
contracts/staking/StakeHolder.sol#L3
Compiler version ^0.8.20 does not satisfy the 0.8.19 semver requirement
|
|
|
|
|
|
|
|
|
Run solhint:
contracts/staking/StakeHolder.sol#L112
Replace bytes32·_role,·address·_account with ⏎········bytes32·_role,⏎········address·_account⏎····
|
Run slither
Process completed with exit code 255.
|
Check README.md is contained in each contracts directory
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Run solhint
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Run solhint:
contracts/access/MintingAccessControl.sol#L6
Variable "AccessControl" is unused
|
Run solhint:
contracts/access/MintingAccessControl.sol#L6
Variable "IAccessControl" is unused
|
Run eslint
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Run Forge Tests
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Publish to NPM (dry run)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Run Hardhat Tests
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Run slither
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|