audit fixes #3
Annotations
1 error and 13 warnings
test
Process completed with exit code 1.
|
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:
script/foundry-scripts/AddNewAsset.s.sol#L5
global import of path forge-std/Script.sol is not allowed. Specify names to import individually or bind all exports of the module into a name (import "path" as Name)
|
lint:
script/foundry-scripts/AddNewAsset.s.sol#L34
Use Custom Errors instead of revert statements
|
lint:
script/foundry-scripts/cross-chain/RSETHRate.s.sol#L5
global import of path forge-std/Script.sol is not allowed. Specify names to import individually or bind all exports of the module into a name (import "path" as Name)
|
lint:
script/foundry-scripts/cross-chain/RSETHRate.s.sol#L15
Use Custom Errors instead of revert statements
|
lint:
script/foundry-scripts/cross-chain/RSETHRate.s.sol#L36
Error message for revert is too long: 33 counted / 32 allowed
|
lint:
script/foundry-scripts/cross-chain/RSETHRate.s.sol#L36
Use Custom Errors instead of revert statements
|
lint:
script/foundry-scripts/DeployLRT.s.sol#L5
global import of path forge-std/Script.sol is not allowed. Specify names to import individually or bind all exports of the module into a name (import "path" as Name)
|
lint:
script/foundry-scripts/DeployLRT.s.sol#L31
Use Custom Errors instead of revert statements
|
lint:
script/foundry-scripts/DeployLRT.s.sol#L35
Contract has 16 states declarations but allowed no more than 15
|
lint:
script/foundry-scripts/DeployLRT.s.sol#L42
Variable name must be in mixedCase
|
build
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
test
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|