Skip to content

Academy/milestone4

Academy/milestone4 #11

Triggered via pull request May 8, 2024 14:43
Status Success
Total duration 43s
Artifacts

static-checks.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

3 errors and 12 warnings
codestyle: contracts/ERC20/TradableERC20.sol#L27
'updateVoteOnInteraction' should start with _
codestyle: contracts/ERC20/TradableERC20.sol#L141
'transferFromInternal' should start with _
codestyle: contracts/ERC20/VotingERC20.sol#L12
'_leadingPrice' should not 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: test/VotingToken.ts#L406
'votingContractList' is assigned a value but never used
codestyle: test/VotingToken.ts#L482
'votingContractList' is assigned a value but never used
codestyle: contracts/ERC20/BaseERC20.sol#L6
Unexpected import of console file
codestyle: contracts/ERC20/BaseERC20.sol#L6
global import of path hardhat/console.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#L32
GC: Use Custom Errors instead of require statements
codestyle: contracts/ERC20/BaseERC20.sol#L44
GC: Use Custom Errors instead of require statements
codestyle: contracts/ERC20/BaseERC20.sol#L82
GC: Use Custom Errors instead of require statements
codestyle: contracts/ERC20/BaseERC20.sol#L83
GC: Use Custom Errors instead of require statements
codestyle: contracts/ERC20/TradableERC20.sol#L5
Unexpected import of console file
codestyle: contracts/ERC20/TradableERC20.sol#L5
global import of path hardhat/console.sol is not allowed. Specify names to import individually or bind all exports of the module into a name (import "path" as Name)
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/.