Skip to content

Update scripts for zkSync #944

Update scripts for zkSync

Update scripts for zkSync #944

Triggered via push July 28, 2023 22:19
Status Success
Total duration 2m 22s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

lint.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

11 warnings
lint
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-node@v1, webfactory/[email protected]. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
lint: contracts/callers/UniswapCaller.sol#L28
Replace ⏎····BadToken,⏎····InconsistentPairsAndDirectionsLengths,⏎····InputSlippage,⏎····LowReserve,⏎····ZeroAmountIn,⏎····ZeroAmountOut,⏎····ZeroLength⏎ with ·BadToken,·InconsistentPairsAndDirectionsLengths,·InputSlippage,·LowReserve,·ZeroAmountIn,·ZeroAmountOut,·ZeroLength·
lint: contracts/callers/UniswapCaller.sol#L255
Replace address·pair,·bool·direction) with ⏎········address·pair,⏎········bool·direction
lint: contracts/callers/UniswapCaller.sol#L256
Replace ········internal⏎········view⏎········returns·(uint256·reserveIn,·uint256·reserveOut)⏎··· with ····)·internal·view·returns·(uint256·reserveIn,·uint256·reserveOut)
lint: contracts/interfaces/IRouter.sol#L20
Replace ⏎····AbsoluteTokenAmount,⏎····Input,⏎····SwapDescription,⏎····AccountSignature,⏎····ProtocolFeeSignature,⏎····Fee⏎ with ·AbsoluteTokenAmount,·Input,·SwapDescription,·AccountSignature,·ProtocolFeeSignature,·Fee·
lint: contracts/interfaces/IRouter.sol#L92
Replace ·external with ⏎········external⏎·······
lint: contracts/interfaces/IUniswapV2Pair.sol#L30
Replace ⏎········uint256,⏎········uint256,⏎········address,⏎········bytes·calldata⏎···· with uint256,·uint256,·address,·bytes·calldata
lint: contracts/interfaces/IUniswapV2Pair.sol#L37
Replace ⏎········external⏎········view⏎········returns·(⏎············uint112,⏎············uint112,⏎············uint32⏎········ with ·external·view·returns·(uint112,·uint112,·uint32
lint: contracts/interfaces/IUniswapV2Router02.sol#L26
Replace ⏎········uint256,⏎········address[]·calldata,⏎········address,⏎········uint256⏎···· with uint256,·address[]·calldata,·address,·uint256
lint: contracts/interfaces/IYearnPermit.sol#L23
Replace ⏎········address,⏎········address,⏎········uint256,⏎········uint256,⏎········bytes·calldata⏎···· with address,·address,·uint256,·uint256,·bytes·calldata
lint: contracts/router/Router.sol#L33
Replace ⏎····BadAmount,⏎····BadAccount,⏎····BadAccountSignature,⏎····BadAmountType,⏎····BadFeeAmount,⏎····BadFeeBeneficiary,⏎····BadFeeShare,⏎····BadFeeSignature,⏎····ExceedingDelimiterAmount,⏎····ExceedingLimitFee,⏎····HighInputBalanceChange,⏎····InsufficientAllowance,⏎····InsufficientMsgValue,⏎····LowActualOutputAmount,⏎····NoneAmountType,⏎····NonePermitType,⏎····NoneSwapType,⏎····PassedDeadline⏎ with ·BadAmount,·BadAccount,·BadAccountSignature,·BadAmountType,·BadFeeAmount,·BadFeeBeneficiary,·BadFeeShare,·BadFeeSignature,·ExceedingDelimiterAmount,·ExceedingLimitFee,·HighInputBalanceChange,·InsufficientAllowance,·InsufficientMsgValue,·LowActualOutputAmount,·NoneAmountType,·NonePermitType,·NoneSwapType,·PassedDeadline·