-
Notifications
You must be signed in to change notification settings - Fork 271
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
Engineer can start the data archiver with RPC endpoint and rollup contract configuration #10
Comments
@PhilWindle what do you mean by persistence interface? |
@benesjan I mean that the archiver should be written in a way that abstracts how the data is stored. So it should take an argument that is merely an interface to storing/retrieving whatever data is required. The concrete implementation of that interface could be a db or a filesystem or just a set of in memory data structures. In fact, the other arguments I have specified are incorrect. It should take an interface that abstracts the ethereum host, rollup contract etc away. |
We run into some nutty error when dockerignore files get large (circleci path): ``` #3 [internal] load metadata for docker.io/library/ubuntu:noble #3 sha256:afb7fa05fafd7c9e9fe1ecefd45ae0531e51b736cd519c2fb8893340e4e08b59 #3 DONE 0.4s #10 [internal] load build context #10 sha256:8189bdeed2ad9e316ae51d8dddc8d96a01e5180ee99f9f37015f7c3dc8de7e41 #10 ERROR: rpc error: code = Internal desc = header list size to send violates the maximum size (1048896 bytes) set by server ``` This became the case with avm-transpiler as it's build context is the root of the monorepo so it can gain access to the noir source code. The autogenerated dockerignore file has to explicitly list every file in he monorepo as a reverse match which eventually got so big something broke internally to docker. New script will not autogen the dockerignore file if its committed to git. This PR includes a manually crafted one for avm-transpiler.
It should be possible to start the data archiver with configuration for an Ethereum host, a rollup contract, a starting block and a persistence interface.
The text was updated successfully, but these errors were encountered: