-
Notifications
You must be signed in to change notification settings - Fork 91
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: skip new contracts on check_storage_layout
#974
base: development
Are you sure you want to change the base?
feat: skip new contracts on check_storage_layout
#974
Conversation
@rndquu Here are the QAs, new contract is working great now, but I can't reproduce a collision at my local fork for some reason.
here for some reason
|
…t pass with collision
…kflow should not pass
…ged with collision
…ged with collision
…ged with collision
…ged without collision
I can't QA properly because all artifacts from
|
Adding workflow dispatch seems like a simple and good idea. Its just a line of code. |
Won't really work since |
Is it easier to just merge and then run? You could always add a |
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.
Overall looks good, pls address the comments, once it's done I'll properly QA both for core and diamond lib contracts.
@zugdev, this task has been idle for a while. Please provide an update. |
waiting on PR review |
@zugdev, this task has been idle for a while. Please provide an update. |
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.
@zugdev Hey, sorry for a such a long review.
Check this commit which adds a new property at the beginning of a struct. The diamond-storage-check workflow should fail for this case but it passes unexpectedly.
…o fix-core-contracts-storage-check
- name: Check For Diamond Storage Changes | ||
uses: ubiquity/foundry-storage-check@main | ||
- name: Check For Core Contracts Storage Changes | ||
uses: Rubilmax/foundry-storage-check@main |
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.
Probably more appropriate to update our fork.
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.
Actually the problem is forge inspect <CONTRACT_NAME> storageLayout
, which is used by Rubilmax returns null for libraries, so our fork manually creates a layout storage for the libraries. Apparently it might be broken. Therefore, we have to fix our fork, using that action won't really work.
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.
we have to fix our fork
Yes that's what I meant
Resolves #972