Skip to content

fix L2 tests

fix L2 tests #1722

Triggered via pull request May 17, 2024 17:15
Status Failure
Total duration 1m 2s
Artifacts

l1-contracts-ci.yaml

on: pull_request
check-verifier-generator
35s
check-verifier-generator
test-foundry
0s
test-foundry
test-hardhat
0s
test-hardhat
Fit to window
Zoom out
Zoom in

Annotations

11 errors and 18 warnings
lint: l1-contracts/contracts/bridge/interfaces/IL1NativeTokenVault.sol#L5
imported name L2TransactionRequestTwoBridgesInner is not used
lint: l1-contracts/contracts/bridge/L1NativeTokenVault.sol#L17
imported name TWO_BRIDGES_MAGIC_VALUE is not used
lint: l1-contracts/contracts/bridge/L1NativeTokenVault.sol#L19
imported name IBridgehub is not used
lint: l1-contracts/contracts/bridge/L1NativeTokenVault.sol#L19
imported name L2TransactionRequestTwoBridgesInner is not used
lint: l1-contracts/contracts/bridge/L1NativeTokenVault.sol#L19
imported name L2TransactionRequestDirect is not used
lint: l1-contracts/contracts/bridge/L1NativeTokenVault.sol#L91
Variable "_mintValue" is unused
lint: l1-contracts/contracts/bridge/L1NativeTokenVault.sol#L117
Named parameters missing. MIN unnamed argumenst is 4
lint: l1-contracts/contracts/bridge/L1NativeTokenVault.sol#L146
Variable "_chainId" is unused
lint: l1-contracts/contracts/bridge/L1NativeTokenVault.sol#L170
Variable "_prevMsgSender" is unused
lint: l1-contracts/contracts/bridge/L1SharedBridge.sol#L8
imported name IERC20Metadata is not used
build
Process completed with exit code 1.
check-verifier-generator
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions-rs/toolchain@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
check-verifier-generator
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/toolchain@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
check-verifier-generator
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
check-verifier-generator
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
check-verifier-generator
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
check-verifier-generator
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
lint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: 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: l1-contracts/contracts/upgrades/Upgrade_v1_4_1.sol#L11
Contract name must be in CamelCase
lint: l1-contracts/contracts/vendor/AddressAliasHelper.sol#L55
Avoid to use tx.origin
lint: l1-contracts/test/foundry/unit/concrete/Executor/ExecutorProof.t.sol#L2
Found more than One contract per file. 2 contracts found!
lint: l1-contracts/test/foundry/unit/concrete/state-transition/chain-deps/DiamondProxy/DiamondProxy.t.sol#L2
Found more than One contract per file. 2 contracts found!
lint: l1-contracts/test/foundry/unit/concrete/state-transition/chain-deps/facets/Admin/ExecuteUpgrade.t.sol#L3
Found more than One contract per file. 2 contracts found!
lint: l1-contracts/test/foundry/unit/concrete/state-transition/chain-deps/facets/Base/_Base_Shared.t.sol#L2
Found more than One contract per file. 2 contracts found!
lint: l1-contracts/test/foundry/unit/concrete/state-transition/chain-deps/facets/Getters/_Getters_Shared.t.sol#L2
Found more than One contract per file. 2 contracts found!
build
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.