Skip to content

Consider making BlobRefRegistry a library #86

Description

@ggonzalez94

One of the ideas of the BlobRefRegistry contract was to serve as a common piece of infrastructure where blob hashes are validated and registered. If used by multiple rollups, this can save some gas and simplify their code. But whoever calls registerRef has to pay the SSTORE cost. Because of that, in our current version of the rollup we are not using this functionality, we are directly calling getRef to validate the blobs and return a reference.
If this continues to be the case, then it maybe makes more sense to simplify the implementation and convert the functionalities we are using into a library or just embed the logic into the contracts

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs discussionThis issue still needs discussion before implementing

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions