Skip to content

refactor and test: addressing audit issue 16 #605

refactor and test: addressing audit issue 16

refactor and test: addressing audit issue 16 #605

Triggered via pull request June 29, 2024 08:49
Status Success
Total duration 2m 52s
Artifacts

workflow.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

18 warnings
gitleaks
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-go@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
build
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions/setup-node@v3, codecov/codecov-action@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
build
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, codecov/codecov-action@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
build: contracts/DeploymentFactory.sol#L4
global import of path @openzeppelin/contracts/utils/Create2.sol is not allowed. Specify names to import individually or bind all exports of the module into a name (import "path" as Name)
build: contracts/DeploymentFactory.sol#L5
global import of path ./OLAS.sol is not allowed. Specify names to import individually or bind all exports of the module into a name (import "path" as Name)
build: contracts/DeploymentFactory.sol#L6
global import of path ./veOLAS.sol is not allowed. Specify names to import individually or bind all exports of the module into a name (import "path" as Name)
build: contracts/OLAS.sol#L4
global import of path ../lib/solmate/src/tokens/ERC20.sol is not allowed. Specify names to import individually or bind all exports of the module into a name (import "path" as Name)
build: contracts/OLAS.sol#L28
Immutable variables name are set to be in capitalized SNAKE_CASE
build: contracts/Timelock.sol#L4
global import of path @openzeppelin/contracts/governance/TimelockController.sol is not allowed. Specify names to import individually or bind all exports of the module into a name (import "path" as Name)
build: contracts/VoteWeighting.sol#L161
Immutable variables name are set to be in capitalized SNAKE_CASE
build: contracts/buOLAS.sol#L4
global import of path @openzeppelin/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)
build: contracts/buOLAS.sol#L5
global import of path @openzeppelin/contracts/utils/introspection/IERC165.sol is not allowed. Specify names to import individually or bind all exports of the module into a name (import "path" as Name)
build: contracts/buOLAS.sol#L6
global import of path ./interfaces/IErrors.sol is not allowed. Specify names to import individually or bind all exports of the module into a name (import "path" as Name)
build: scripts/deployment/bridges/solana/test/polygon/deploy_00_mock_timelock.js#L26
'provider' is assigned a value but never used
build: scripts/deployment/bridges/solana/test/sepolia/deploy_00_mock_timelock.js#L12
'provider' is assigned a value but never used
build: test/Deployment.js#L38
'deploymentAddress' is defined but never used
build: test/Deployment.js#L43
'deploymentAddress' is defined but never used
build: test/Deployment.js#L43
'olasAddress' is defined but never used