-
Notifications
You must be signed in to change notification settings - Fork 8
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
Arbitrum - Can't Add Safe #34
Comments
Ah I think the issue here is Etherscan's "similar bytecode" issue with the API not actually showing what it's similar to despite the UI showing something for the implementation contract It does correctly detect that it's a |
ahhh alright that is pretty narky problem tbh |
you can use the byte code trick, no? like fetch the bytecode, assert that it matches what a gnosis safe is expected to be, and just add the safe. Yeah etherscan api's not too reliable when it comes to proxies. |
we can hack |
we do that for proxy detection, but one step further is what the proxy points at. I think yours and mine points at different implementation contracts |
yeah mine is just the official safe one 🤔 i think the concern here is folks use |
It's more about not screwing up Ape, let's say you made a mistake and pointed it at some other type of contract, you'd get all sorts of errors that might be dangerous or at least annoying Manually, you can set the contract type in |
probably a |
I agree, we can probably err on the side of "the user knows what they are doing" and explicitly assume that the target contract is a Safe when they add it through the normal means |
Environment information
ape
and plugin versions:What went wrong?
Running the below to add a safe
returns an error
Please include information like:
How can it be fixed?
Fill this in if you have ideas on how the bug could be fixed.
The text was updated successfully, but these errors were encountered: