Unhappy path on Staking tests #7
ci.yml
on: pull_request
build
48s
test
53s
coverage
29s
lint
34s
slither-analyze
1m 24s
Annotations
2 errors and 16 warnings
coverage
Process completed with exit code 1.
|
test
Process completed with exit code 1.
|
coverage
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
lint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
lint:
src/RewardsDistributor.sol#L4
imported name console is not used
|
lint:
src/RewardsDistributor.sol#L5
imported name ERC20 is not used
|
lint:
src/RewardsDistributor.sol#L8
imported name SafeTransferLib is not used
|
lint:
src/RewardsDistributor.sol#L80
GC: Use Custom Errors instead of require statements
|
lint:
src/RewardsDistributor.sol#L81
GC: Use Custom Errors instead of require statements
|
lint:
src/Staking.sol#L4
imported name console is not used
|
lint:
src/Staking.sol#L6
imported name ERC20 is not used
|
lint:
src/Staking.sol#L69
Value parameter in mapping stakes is not named
|
lint:
src/Staking.sol#L144
GC: Use Custom Errors instead of require statements
|
lint:
src/Staking.sol#L210
GC: Use Custom Errors instead of require statements
|
build
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
test
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
slither-analyze
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: github/codeql-action/upload-sarif@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
slither-analyze
CodeQL Action v2 will be deprecated on December 5th, 2024. Please update all occurrences of the CodeQL Action in your workflow files to v3. For more information, see https://github.blog/changelog/2024-01-12-code-scanning-deprecation-of-codeql-action-v2/
|