-
Notifications
You must be signed in to change notification settings - Fork 30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ci: fix matrix exclude for solidity packages #3255
Changes from 2 commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
@@ -0,0 +1,10 @@ | ||||||||||||||
// SPDX-License-Identifier: MIT | ||||||||||||||
pragma solidity ^0.8.0; | ||||||||||||||
|
||||||||||||||
import {Test} from "forge-std/Test.sol"; | ||||||||||||||
|
||||||||||||||
/// @notice No gas benchmark is required for contracts-core | ||||||||||||||
contract GasBenchmarkTest is Test { | ||||||||||||||
// solhint-disable-next-line no-empty-blocks | ||||||||||||||
function testGasBenchmark() public {} | ||||||||||||||
Comment on lines
+8
to
+9
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Reconsider the empty test function The Consider one of the following options:
Example of option 3: // solhint-disable-next-line no-empty-blocks
-function testGasBenchmark() public {}
+function testGasBenchmark() public {
+ // TODO: Implement gas benchmark logic for specific core contract operations
+} 📝 Committable suggestion
Suggested change
|
||||||||||||||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
// SPDX-License-Identifier: MIT | ||
pragma solidity ^0.8.0; | ||
|
||
import {Test} from "forge-std/Test.sol"; | ||
|
||
/// @notice No gas benchmark is required for solidity-devops | ||
contract GasBenchmarkTest is Test { | ||
// solhint-disable-next-line no-empty-blocks | ||
function testGasBenchmark() public {} | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
💡 Codebase verification
Remove the unnecessary GasBenchmarkTest contract
The comment indicates that no gas benchmark is required for contracts-core, yet the
GasBenchmarkTest
contract is defined inpackages/contracts-core/test/GasBenchmark.t.sol
without any references or functionality. Consider removing this contract to eliminate confusion and maintain consistency.🔗 Analysis chain
Clarify the purpose of this contract
The comment states that no gas benchmark is required for contracts-core, yet a
GasBenchmarkTest
contract is defined. This seems contradictory and may lead to confusion.Could you please clarify the intended purpose of this contract? If no gas benchmark is truly required, consider removing this file entirely.
Retrying search with correct file extension for Solidity files
🏁 Scripts executed
The following scripts were executed for the analysis:
Script:
Length of output: 70
Script:
Length of output: 621