Closed ChiTimesChi closed 1 month ago
The changes in this pull request enhance the handling of verification options during the deployment process in the Solidity DevOps package. A new method, readChainVerificationOptions
, is introduced to read verification options based on the specified chain. The existing method addVerifyOptions
is renamed to addVerifyIfNotPresent
, maintaining its core functionality while ensuring verification options are only added if they are not already present.
File Path | Change Summary |
---|---|
.../solidity-devops/js/forgeScriptRun.js | Added import for readChainVerificationOptions , replaced addVerifyOptions with new logic for handling verification options. |
.../solidity-devops/js/utils/options.js | Renamed addVerifyOptions to addVerifyIfNotPresent , updated export statement accordingly. |
.../solidity-devops/test/GasBenchmark.t.sol | Added new contract GasBenchmarkTest with comments regarding gas benchmarks and Solhint rules. |
forgeScriptRun.js
and chain.js
in this PR involve modifications to the verification options handling, which directly relates to the enhancements made in the main PR regarding the readChainVerificationOptions
function and the conditional logic for verification during deployment.🐰 In the code, I hop and play,
With options for verification today.
A new method here, a name change too,
Ensuring all checks are properly due.
In the script, we’ll dance and sing,
For deployment, let the options ring! 🎉
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
Latest commit: |
ae25d0c
|
Status: | ✅ Deploy successful! |
Preview URL: | https://9a6a9d8f.sanguine-fe.pages.dev |
Branch Preview URL: | https://fix-solidity-devops-verifier.sanguine-fe.pages.dev |
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 90.43902%. Comparing base (
768209d
) to head (ae25d0c
). Report is 6 commits behind head on master.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Description A clear and concise description of the features you're adding in this pull request.
Additional context Add any other context about the problem you're solving.
Metadata
Summary by CodeRabbit
New Features
Bug Fixes
Refactor