Skip to content

feat: membership

feat: membership #70

Triggered via pull request September 6, 2024 15:31
Status Failure
Total duration 39s
Artifacts

ci.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

4 errors and 12 warnings
lint: src/Membership.sol#L190
Function has cyclomatic complexity 9 but allowed no more than 8
lint: src/Membership.sol#L300
Line length must be no more than 120 but current length is 121
lint: test/WakuRlnV2.t.sol#L481
Line length must be no more than 120 but current length is 121
lint
Process completed with exit code 1.
lint
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, pnpm/action-setup@v2, actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
lint: script/Deploy.s.sol#L9
imported name UUPSUpgradeable is not used
lint: script/Deploy.s.sol#L29
Avoid to use inline assembly. It is acceptable only in rare cases
lint: script/Deploy.s.sol#L34
Avoid to use inline assembly. It is acceptable only in rare cases
lint: src/Membership.sol#L5
global import of path openzeppelin-contracts/contracts/token/ERC20/IERC20.sol is not allowed. Specify names to import individually or bind all exports of the module into a name (import "path" as Name)
lint: src/Membership.sol#L6
global import of path openzeppelin-contracts/contracts/token/ERC20/utils/SafeERC20.sol is not allowed. Specify names to import individually or bind all exports of the module into a name (import "path" as Name)
lint: src/Membership.sol#L7
global import of path openzeppelin-contracts/contracts/utils/Context.sol is not allowed. Specify names to import individually or bind all exports of the module into a name (import "path" as Name)
lint: src/Membership.sol#L56
Main key parameter in mapping balancesToWithdraw is not named
lint: src/Membership.sol#L62
Main key parameter in mapping members is not named
lint: src/Membership.sol#L62
Value parameter in mapping members is not named
lint: src/WakuRlnV2.sol#L38
Variable name must be in mixedCase
build
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, pnpm/action-setup@v2, actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/