Skip to content
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

fix: Do not reuse anvil admin key #8304

Merged
merged 1 commit into from
Sep 3, 2024
Merged

Commits on Aug 30, 2024

  1. fix: Do not reuse anvil admin key

    In #8277 we added a PUBLIC_API_KEY that was used for accessing anvil
    with cheat codes disabled, and the API_KEY was left for "admin" access
    with cheat codes allowed. However, the API_KEY is also needed for
    connecting to the node, which is is needed for retrieving proofs, needed
    for prover nodes to operate.
    
    This PR changes how keys are handled. API_KEY is now mapped to the anvil
    public access, so it is not disclosed when sharing access to the node
    API. A new FORK_ADMIN_API_KEY is introduced for admin access, and only
    used for bootstrapping operations and for the bootstrapping sequencer.
    spalladino committed Aug 30, 2024
    Configuration menu
    Copy the full SHA
    a2f9226 View commit details
    Browse the repository at this point in the history