Skip to content

Gas Optimizations

Gas Optimizations #419

Triggered via pull request December 7, 2023 18:05
@toshiSattoshiSat
opened #294
GAS
Status Failure
Total duration 16m 9s
Billable time 17m
Artifacts

lint-github-action.yml

on: pull_request
Run Tests & Lint
16m 0s
Run Tests & Lint
Fit to window
Zoom out
Zoom in

Annotations

1 error and 10 warnings
Run Tests & Lint
Process completed with exit code 6.
Run Tests & Lint: contracts/AfEth.sol#L4
global import of path @openzeppelin/contracts-upgradeable/token/ERC20/ERC20Upgradeable.sol is not allowed. Specify names to import individually or bind all exports of the module into a name (import "path" as Name)
Run Tests & Lint: contracts/AfEth.sol#L5
global import of path contracts/strategies/votium/VotiumStrategy.sol is not allowed. Specify names to import individually or bind all exports of the module into a name (import "path" as Name)
Run Tests & Lint: contracts/AfEth.sol#L6
global import of path contracts/external_interfaces/IVotiumStrategy.sol is not allowed. Specify names to import individually or bind all exports of the module into a name (import "path" as Name)
Run Tests & Lint: contracts/AfEth.sol#L7
global import of path contracts/external_interfaces/ISafEth.sol is not allowed. Specify names to import individually or bind all exports of the module into a name (import "path" as Name)
Run Tests & Lint: contracts/AfEth.sol#L8
global import of path contracts/strategies/AbstractStrategy.sol is not allowed. Specify names to import individually or bind all exports of the module into a name (import "path" as Name)
Run Tests & Lint: contracts/AfEth.sol#L11
Contract has 19 states declarations but allowed no more than 15
Run Tests & Lint: contracts/AfEthRelayer.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)
Run Tests & Lint: contracts/AfEthRelayer.sol#L5
global import of path ./external_interfaces/IAfEth.sol is not allowed. Specify names to import individually or bind all exports of the module into a name (import "path" as Name)
Run Tests & Lint: contracts/AfEthRelayer.sol#L6
global import of path ./external_interfaces/IWETH.sol is not allowed. Specify names to import individually or bind all exports of the module into a name (import "path" as Name)
Run Tests & Lint: contracts/AfEthRelayer.sol#L7
global import of path contracts/external_interfaces/ISafEth.sol is not allowed. Specify names to import individually or bind all exports of the module into a name (import "path" as Name)