Skip to content

compile

compile #11

Triggered via push June 10, 2024 13:41
Status Success
Total duration 20s
Artifacts

lint.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

6 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#L17
Immutable variables name are set to be in capitalized SNAKE_CASE
lint: src/Staking.sol#L30
Value parameter in mapping userStakes is not named
lint: src/Staking.sol#L31
Value parameter in mapping balances is not named
lint: src/Staking.sol#L42
Error message for require is too long: 46 counted / 32 allowed
lint: src/Staking.sol#L120
Possible reentrancy vulnerabilities. Avoid state changes after transfer