Skip to content

Cache RPC responses in CI for improved performance #991

@mds1

Description

@mds1

forge caches RPC responses automatically, they are saved to ~/.foundry/cache/rpc/{chain}/{blockNumber}, so there is probably just some CI config we need to save/load the cache to improve CI performance

We have code in the monorepo that handles this caching based on the pinned block: https://github.com/ethereum-optimism/optimism/blob/b6a82c2de9c9372d3012e73e702e9671579425b7/.circleci/config.yml#L869-L915

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions