Skip to content

[VEN-1832]: Feat Cross chain bridge for XVS #1477

[VEN-1832]: Feat Cross chain bridge for XVS

[VEN-1832]: Feat Cross chain bridge for XVS #1477

Triggered via pull request August 23, 2023 05:54
Status Failure
Total duration 13m 54s
Artifacts

ci.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

9 errors and 13 warnings
Lint: contracts/Bridge/lzApp/LzApp.sol#L120
Function order is incorrect, external view function can not go after internal pure function (line 112)
Lint: contracts/Bridge/lzApp/NonblockingLzApp.sol#L52
Function order is incorrect, public function can not go after internal function (line 41)
Lint: contracts/Bridge/oft/OFTCoreV2.sol#L137
Function order is incorrect, internal function can not go after internal view function (line 117)
Lint: contracts/Bridge/util/BytesLib.sol#L427
Function order is incorrect, internal view function can not go after internal pure function (line 384)
Lint: contracts/test/Mocks/LZEndpointMock.sol#L6
global import of path ../../../contracts/Bridge/interfaces/ILayerZeroReceiver.sol is not allowed. Specify names to import individually or bind all exports of the module into a name (import "path" as Name)
Lint: contracts/test/Mocks/LZEndpointMock.sol#L7
global import of path ../../../contracts/Bridge/interfaces/ILayerZeroEndpoint.sol is not allowed. Specify names to import individually or bind all exports of the module into a name (import "path" as Name)
Lint: contracts/test/Mocks/LZEndpointMock.sol#L8
global import of path ../lib/LzLib.sol is not allowed. Specify names to import individually or bind all exports of the module into a name (import "path" as Name)
Lint: contracts/test/Mocks/LZEndpointMock.sol#L52
Function order is incorrect, struct definition can not go after state variable declaration (line 50)
Lint
Process completed with exit code 1.
Lint
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-node@v2. 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/Bridge/lzApp/LzApp.sol#L81
Check result of "send" call
Lint: contracts/Bridge/lzApp/LzApp.sol#L114
Avoid to use inline assembly. It is acceptable only in rare cases
Lint: contracts/Bridge/lzApp/NonblockingLzApp.sol#L21
Code contains empty blocks
Lint: contracts/Bridge/oft/BaseOFTV2.sol#L10
Code contains empty blocks
Lint: contracts/Bridge/token/XVS.sol#L9
Code contains empty blocks
Lint: contracts/Bridge/util/BytesLib.sol#L13
Avoid to use inline assembly. It is acceptable only in rare cases
Lint: contracts/Bridge/util/BytesLib.sol#L121
Variable "mlengthmod" is unused
Lint: contracts/Bridge/util/BytesLib.sol#L149
Avoid to use inline assembly. It is acceptable only in rare cases
Lint: contracts/Bridge/util/BytesLib.sol#L230
Avoid to use inline assembly. It is acceptable only in rare cases
Lint: contracts/Bridge/util/BytesLib.sol#L289
Avoid to use inline assembly. It is acceptable only in rare cases
Deploy
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-node@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Test
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-node@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/