Closed norswap closed 11 months ago
Feeling like rewriting using a Foundry deploy script would probably fix the issue.
However, doing so would mean the deployment is no longer deterministic. How big of an issue is this?
We could make the deployment deterministic, but it would require deploying the Create2 factory contract to the chain, at a well-known address (Foundry turns CREATE2 calls in the deploy scripts into calls to this factory).
This requires sending a legacy transaction to deploy the factory, whose calldata is here: https://twitter.com/norswap/status/1588537558878720005 (note how this question was stupid, I could have looked that up from the block explorer on any chain where it was deployed).
This has now been fixed. The two commits in the account abstraction repo fixes this:
See https://github.com/0xFableOrg/roll-op/pull/55 for more details.