Commit 06bdc4c
authored
feat: squashed commit of the following (#180)
* feat: squashed commit of the following
commit c350f2e
Author: cbe <cbe@matterlabs.dev>
Date: Wed Sep 3 21:01:36 2025 -0700
fix: account deployment testing
Attempted to upgrade factory and now paymaster is broken
commit deac079
Author: cbe <cbe@matterlabs.dev>
Date: Wed Sep 3 19:50:00 2025 -0700
fix: new paymaster
This has the new factory
commit ddaa1bb
Author: cbe <cbe@matterlabs.dev>
Date: Wed Sep 3 08:58:43 2025 -0700
fix: deploy new factory with old sso beacon
The problem was in the upgrade process a new SSO beacon proxy was
deployed for the new implemention instead of re-using the existing one.
This was because it used the era-sepolia.json which only contains the
contracts necessary for the auth-server and didn't have the SSO Beacon
address.
The SSO beacon address needs to stay the same because its address is
specifically allowed by the sequencer.
Might also need to update + fund the paymaster, will test in PR.
* fix: undo localhost change
This was helpful for debugging locally to avoid CORS, but not really
long-term necessary!1 parent f6d5621 commit 06bdc4c
File tree
4 files changed
+6
-3
lines changed- .github/workflows
- packages
- auth-server/stores
4 files changed
+6
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
| 57 | + | |
57 | 58 | | |
58 | 59 | | |
59 | 60 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
| 59 | + | |
| 60 | + | |
59 | 61 | | |
60 | 62 | | |
61 | 63 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
5 | | - | |
| 4 | + | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| |||
- hardhat.config.ts+10
- scripts/check-beacon-versions.ts+93
- scripts/check-deployment-mismatch.ts+116
- scripts/check-factory-proxy-type.ts+99
- scripts/debug-paymaster-error.ts+117
- scripts/deploy-new-factory.ts+116
- scripts/deploy-new-paymaster.ts+168
- scripts/fund-paymaster.ts+70
- scripts/sync-beacon-implementations.ts+97
- scripts/upgrade-factory-beacon.ts+95
- scripts/verify-paymaster-factory.ts+119
- src/SsoAccount.sol+14-1
- src/interfaces/IGuardianRecoveryValidator.sol+1-1
- src/interfaces/IOidcRecoveryValidator.sol+1-1
- src/libraries/SessionLib.sol+1-1
- src/validators/AllowedSessionsValidator.sol+5-8
- src/validators/GuardianRecoveryValidator.sol+4
- src/validators/OidcRecoveryValidator.sol+1
- src/validators/SessionKeyValidator.sol+18-14
- src/validators/WebAuthValidator.sol+1
0 commit comments