Skip to content

Lint

Lint #23

Triggered via push June 14, 2024 14:17
Status Success
Total duration 33s
Artifacts

lint.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

11 warnings
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/Staking.sol#L68
Value parameter in mapping keyperStakes is not named
lint: src/Staking.sol#L71
Value parameter in mapping shuBalances is not named
lint: src/Staking.sol#L97
GC: Use Custom Errors instead of require statements
lint: src/Staking.sol#L137
Error message for require is too long: 46 counted / 32 allowed
lint: src/Staking.sol#L137
GC: Use Custom Errors instead of require statements
lint: src/Staking.sol#L161
Error message for require is too long: 50 counted / 32 allowed
lint: src/Staking.sol#L161
GC: Use Custom Errors instead of require statements
lint: src/Staking.sol#L213
Variable "stakeIndex" is unused
lint: src/Staking.sol#L218
GC: Use Custom Errors instead of require statements
lint: src/Staking.sol#L230
GC: Use Custom Errors instead of require statements