Closed lalexgap closed 11 months ago
Hmm, I thought I had this working but it looks like the test is still failing.
Hmm, I thought I had this working but it looks like the test is still failing.
Ah, it looks like I accidentally deleted a line when adding a helper, it has now been resolved.
Really great - thanks @lalexgap.
⚠️ Based on #110 This adds a test case to test the
Entrypoint
contract deploying ourSCBridgeWallet
on demand using our contract factory. Instead of deploying theSCBridgeWallet
before submitting theUserOperation
, the test specifies theinitcode
which points to our factory. When theEntryPoint
receives theUserOperation
it checks the precomputed address and deploys theSCBridgeWallet
for us.TODO:
initCode
and update our deploy script to just prefund theSCBridgeWallet
addresses instead of deploying to them.