feat(contracts): Merkle Tree library for priority queue migration #2035
Annotations
6 errors and 1 warning
l1-contracts/contracts/common/libraries/openzeppelin/IncrementalMerkle.sol#L99
GC: For [ self ] variable, increment/decrement by 1 using: [ ++variable ] to save gas
|
l1-contracts/contracts/common/libraries/openzeppelin/IncrementalMerkle.sol#L114
GC: For [ i ] variable, increment/decrement by 1 using: [ ++variable ] to save gas
|
l1-contracts/contracts/state-transition/chain-deps/DiamondInit.sol#L57
Use double quotes for string literals
|
l1-contracts/contracts/state-transition/chain-deps/facets/Executor.sol#L343
GC: Found [ .length ] property in Loop condition. Suggestion: assign it to a variable
|
l1-contracts/contracts/state-transition/libraries/PriorityTree.sol#L62
GC: Use Custom Errors instead of require statements
|
|
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/.
|
This job failed
Loading