Skip to content

Governance

Governance #20

Triggered via pull request June 19, 2024 14:47
Status Success
Total duration 1m 24s
Artifacts

static-checks.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 12 warnings
codestyle: contracts/Governance/MyGovernance.sol#L155
Variable "success" is unused
codestyle: contracts/Governance/MyGovernance.sol#L161
Variable "success" is unused
codestyle: contracts/interfaces/IWETH.sol#L2
Compiler version >=0.6.2 does not satisfy the ^0.8.0 semver requirement
codestyle: contracts/Raffle/Raffle.sol#L26
'CALLBACK_GAS_LIMIT' should start with _
codestyle: contracts/Raffle/Raffle.sol#L27
'REQUEST_CONFIRMATIONS' should start with _
codestyle: contracts/Raffle/Raffle.sol#L28
'NUM_WORDS' should start with _
codestyle: contracts/Raffle/Raffle.sol#L30
'requestId' should start with _
codestyle: contracts/Raffle/Raffle.sol#L31
'subscriptionId' should start with _
codestyle: contracts/Raffle/Raffle.sol#L32
'keyHash' should start with _
codestyle: contracts/Raffle/Raffle.sol#L259
'fulfillRandomWords' should start with _
codestyle
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
codestyle: contracts/ERC20/BaseERC20.sol#L5
global import of path @openzeppelin/contracts/access/Ownable.sol is not allowed. Specify names to import individually or bind all exports of the module into a name (import "path" as Name)
codestyle: contracts/ERC20/BaseERC20.sol#L30
GC: Use Custom Errors instead of require statements
codestyle: contracts/ERC20/BaseERC20.sol#L42
GC: Use Custom Errors instead of require statements
codestyle: contracts/ERC20/BaseERC20.sol#L80
GC: Use Custom Errors instead of require statements
codestyle: contracts/ERC20/BaseERC20.sol#L81
GC: Use Custom Errors instead of require statements
codestyle: contracts/ERC20/TradableERC20.sol#L18
Error message for require is too long: 37 counted / 32 allowed
codestyle: contracts/ERC20/TradableERC20.sol#L18
GC: Use Custom Errors instead of require statements
codestyle: contracts/ERC20/TradableERC20.sol#L31
GC: Use Custom Errors instead of require statements
codestyle: contracts/ERC20/TradableERC20.sol#L32
GC: Use Custom Errors instead of require statements
codestyle: contracts/ERC20/TradableERC20.sol#L62
Error message for require is too long: 34 counted / 32 allowed
test
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.