Skip to content

feat: squashed commit of the following#180

Merged
cpb8010 merged 2 commits intomainfrom
test-preview
Sep 4, 2025
Merged

feat: squashed commit of the following#180
cpb8010 merged 2 commits intomainfrom
test-preview

Conversation

@cpb8010
Copy link
Contributor

@cpb8010 cpb8010 commented Sep 4, 2025

Description

Updating the factory and paymaster because the old factory was pointing to an SSO Account Beacon Proxy that wasn't allowed.

Additional context

This was blocking OIDC testing. I can almost test the OIDC except there's now some passkey validation failures probably because of something with the domain.

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.
@github-actions
Copy link

github-actions bot commented Sep 4, 2025

Visit the preview URL for this PR (updated for commit 2e64576):

https://zksync-auth-server-staging--pr180-test-preview-0pmh65vl.web.app

(expires Thu, 11 Sep 2025 05:30:30 GMT)

🔥 via Firebase Hosting GitHub Action 🌎

Sign: 509a9c9ea42583076f531c53cf2979c544d5d0b7

@cpb8010 cpb8010 self-assigned this Sep 4, 2025
@cpb8010 cpb8010 requested a review from Copilot September 4, 2025 05:22
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

Updates factory and paymaster contract addresses in era-sepolia configuration to fix OIDC testing that was blocked by an old factory pointing to an unauthorized SSO Account Beacon Proxy.

  • Updates contract submodule to new commit with corrected factory
  • Replaces factory and paymaster addresses in era-sepolia store configuration
  • Temporarily changes salt service URL to localhost for development testing

Reviewed Changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 1 comment.

File Description
packages/contracts Updates submodule commit to version with corrected factory
packages/auth-server/stores/era-sepolia.json Updates accountFactory and accountPaymaster addresses
packages/auth-server/nuxt.config.ts Changes salt service URL to localhost for development
.github/workflows/deploy-preview.yml Adds salt service URL environment variable for preview deployments

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

This was helpful for debugging locally to avoid CORS, but not really
long-term necessary!
@cpb8010 cpb8010 requested review from itsacoyote and removed request for itsacoyote September 4, 2025 05:26
@cpb8010 cpb8010 merged commit 06bdc4c into main Sep 4, 2025
11 checks passed
@cpb8010 cpb8010 deleted the test-preview branch September 4, 2025 14:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants