-
Notifications
You must be signed in to change notification settings - Fork 932
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
Align data location of interface with implementation #394
Align data location of interface with implementation #394
Conversation
Totally makes sense to merge this, but I was wondering if this bug is triggered by the Safe code. We do have tests that call this code and it works as expected. (This is important to understand if we have to redeploy this contract and migrate existing Safes). |
Note: it seems the repo is not properly setup for external migrations, I will look into this |
No, I don't think your code is affected (other than you'd get a compilation error once we release a fix). The risk of calldata being reinterpreted as memory exists only for internal calls. You seem to be calling |
Any chance this will be merged soon? |
We are currently in the progress of migrating repositories and organisations. And as this is not security critical we didn't give it any priority. Are there any external dependencies that are related to this? |
Ok, thanks for the info. It's not critical for us either, it's just pretty trivial and would let us have one less workaround in the testing scripts. By dependencies, do you mean other PRs that would have to be merged in sync in the compiler or other projects? Not really. It's simply that the form you have now will be disallowed. The form this PR changes it to worked before and will still work. |
With dependencies I meant if there is a project that is depending on this PR being merged ;) I will try to get this done as soon we are are done with the coordination of the org migration. |
Thanks! No, I don't think there are any dependencies like that. For us it's just that Gnosis Safe is one of the projects we use to test the compiler binary in CI. We compile it and run its tests on every PR. We can add a workaround, it's just always easier if the problem gets fixed upstream :) |
Could you rebase this PR too, then the test will run :) |
…ations in the base function
3ef871b
to
dc7f4a5
Compare
Sure. Both PRs rebased now. |
@rmeissner Can we merge this? This is relevant for our 1.4.0 release #440 |
The reason behind the PR has already been explained well by @chriseth in a similar PR to OpenZeppelin (OpenZeppelin/openzeppelin-contracts#3293) so I'll copy that description here:
In case of Gnosis, the function in question is
isValidSignature
fromISignatureValidator
.