-
Notifications
You must be signed in to change notification settings - Fork 0
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
chore: move post-merge code from protos to forrestrie #21
chore: move post-merge code from protos to forrestrie #21
Conversation
BACK-99 Move post-merge code and protobuffer out of `firehose-protos` to `forrestrie`
joseph said in BACK-98:
|
71ecdd2
to
8432fb1
Compare
4c8b374
to
ca6bee2
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Question. I don't mind this, but if we're okay with this, why wouldn't we just refactor firehose-protos
out of existence too? I know you'd mentioned this possibility before @suchapalaver.
Now, as opposed to when I said that, we have a monorepo rather than separate crates all with their own sets of dependencies. We have more than one crate pulling in the conversion methods for Ethereum blocks, so I say we keep |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please change your chore
commit to refactor
When we bring post merge into prod, would we undo this refactor? |
ca6bee2
to
7de071c
Compare
Possibly! I guess we see where we are at that point? I expect with the various refactorings and cleaning up that we anticipate in |
@anirudh2, what are your thoughts? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Alright. I guess we can leave it as a future us problem given that's what we're doing with the rest of post-merge.
BACK-99
Since our first aim is a library for verifying pre-merge Ethereum data we want to separate out post-merge code for now. The main overlap is in
firehose-protos
where we compile the protobuffer for Beacon blocks and implement conversion methods on it. This PR moves that code toforrestrie
- our library for post-merge PoC work.Now,
forrestrie
andfirehose-client
are the only crates with post-merge code. Further work should remove them from publishing processes.PS: when using cargo-udeps to detect unused dependencies I found a few unrelated to this work as well, hence the random dependency deletions.