-
Notifications
You must be signed in to change notification settings - Fork 5
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
feat(ci): add forge fmt
and solhint
jobs
#17
Conversation
It does not need to trigger on each push
This way, we avoid repeating the token whitelisting code in `Bootstrap` and `ClientChainGateway`.
This reverts commit 9a4f47b.
It applies recursively automatically
I had mistakenly confused the `BeaconProxyBytecode` and the beacon chain related functions
Important Review skippedMore than 25% of the files skipped due to max files limit. The review is being skipped to prevent a low-quality review. 34 files out of 92 files are above the max files limit of 50. Please upgrade to Pro plan to get higher limits. You can disable this status message by setting the WalkthroughThe changes encompass a variety of improvements and new features across multiple files, primarily focusing on code formatting, readability, and maintainability. These include the introduction of GitHub Actions workflows for formatting and linting, numerous formatting adjustments in Solidity scripts, and enhancements to contract logic and control flow. Additionally, several files have been updated to improve error handling, parameter validation, and overall code organization. Changes
Sequence Diagram(s) (Beta)Silently ignored as the changes are too varied to generate a meaningful diagram. Poem
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? TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (invoked as PR comments)
Additionally, you can add CodeRabbit Configration File (
|
The changes between #16 and #17 can be viewed here lint-workflow...solhint-workflow |
@MaxMustermann2 this will be only linting changes, correct? |
solhint
solhint
and forge fmt
solhint
and forge fmt
forge fmt
and solhint
jobs
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
...instead of ignoring the whole file
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.
LGTM
Refactored
BootstrapStorage
implementITokenWhitelister
so that the code for whitelisting can be shared betweenBootstrap
andClientChainGateway
. In addition, make thegetWhitelistedTokensCount
be part of the interface.ClientChainGateway
logic address and implementation data inBootstrap.setClientChainGatewayLogic
require(func)
where possibleWorkflow changes
forge-ci.yml
workflow which contains caching (of binaries and build artifacts) across jobs, and runs them in parallel, where possiblesolhint
workflowFormatting and linting changes
foundry.toml
'sfmt
section with some rulessolhint
configforge fmt
solhint
Summary by CodeRabbit
Chores
.solhintignore
to exclude specific directories from linting.Refactor
New Features
solhint
settings for Solidity code linting.BEACON_PROXY_BYTECODE
constant publicly accessible.Bug Fixes
These changes aim to enhance code quality, maintainability, and overall project workflow.