Skip to content

fixed compiler errors #150

fixed compiler errors

fixed compiler errors #150

Triggered via push July 20, 2024 22:23
Status Failure
Total duration 28s
Artifacts

test.yml

on: push
Foundry project
19s
Foundry project
Matrix: Run Linters
Fit to window
Zoom out
Zoom in

Annotations

6 errors and 11 warnings
Foundry project
Process completed with exit code 1.
Run Linters (18.x): src/contracts/factories/pendle/PendleRelayerFactory.sol#L9
Unexpected import of console file
Run Linters (18.x): src/contracts/oracles/ChainlinkRelayer.sol#L5
Unexpected import of console file
Run Linters (18.x): src/contracts/oracles/ChainlinkRelayer.sol#L51
Unexpected console statement
Run Linters (18.x): src/contracts/oracles/pendle/PendlePtToSyRelayer.sol#L6
Unexpected import of console file
Run Linters (18.x)
Process completed with exit code 1.
Run Linters (18.x)
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3, 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/
Run Linters (18.x): src/contracts/factories/pendle/PendleRelayerFactory.sol#L9
global import of path forge-std/console2.sol is not allowed. Specify names to import individually or bind all exports of the module into a name (import "path" as Name)
Run Linters (18.x): src/contracts/factories/pendle/PendleRelayerFactory.sol#L9
Import 'forge-std/console2.sol' in contract PendleRelayerFactory should be declared as import {contract_to_import} from 'forge-std/console2.sol';
Run Linters (18.x): src/contracts/for-test/Data.sol#L31
Return value 'uint256' in function 'getPoolBal' must be named
Run Linters (18.x): src/contracts/for-test/Data.sol#L31
Return value 'uint256' in function 'getPoolBal' must be named
Run Linters (18.x): src/contracts/for-test/Data.sol#L32
't0' should start with _
Run Linters (18.x): src/contracts/for-test/Data.sol#L32
't1' should start with _
Run Linters (18.x): src/contracts/for-test/Data.sol#L33
'poolAddress' should start with _
Run Linters (18.x): src/contracts/for-test/Data.sol#L37
Return value 'address' in function 'getPoolPair' must be named
Run Linters (18.x): src/contracts/for-test/Data.sol#L37
Return value 'address' in function 'getPoolPair' must be named
Run Linters (18.x): src/contracts/for-test/Data.sol#L41
'bottomTick' should start with _