-
Notifications
You must be signed in to change notification settings - Fork 5
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
STR-378 Semantic Information L1Block #298
Conversation
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.
Looks good, some comments.
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.
There's two issues here that I would want to resolve, but I'm not sure if it's a feasible lift to do it in here:
- It's entirely possible for a tx to both be a deposit request, a batch inscription reveal, and a checkpoint inscription reveal. The way the types and filtering are structured right now can't describe that, so it's possible we could end up in a situation where someone can prove that they did something right but the rollup can't understand it and we're stuck.
- We need to split the manifests into two different types, for a few reasons.
- We need to be able to extract the raw batch data so that we can store it in the database and reconstruct states from it, but we really don't want to expose all of that into the CL prover because it's a large amount of data. We'd introduce a "short" version that only includes the
BlobId
that comes out of the prover (ideally we'd reuse the same types for consistency), which is all the CL STF cares about. - The "short" version also won't have the request transactions, since the rollup should only care about deposits after they're actually accepted.
- We also want to break down the inscription types more, so that we have separate types for both blobs and the checkpoints. We could do that here right now, but it would involve making the inscription parsing messier.
- We need to be able to extract the raw batch data so that we can store it in the database and reconstruct states from it, but we really don't want to expose all of that into the CL prover because it's a large amount of data. We'd introduce a "short" version that only includes the
I'm not sure what's feasible to of those parts to do here at this stage. Keep in mind some considerations in how the types are structured to make it easier to implement STR-274.
b753bd0
to
0fbeefc
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.
When we rename something we have to rename all the identifiers that are derived from it. There's 3 different names that refer to the same concept now that need to be unified.
…ss and resolve other comments rename all relevant_tx/_info usage with protocol_op/filters fix tests
0fbeefc
to
ff18eec
Compare
Still pending formatting issue for fntest lints, can merge now. |
Description
Puts the RelevantTx information in L1Tx db by modifying the filter relevancies logic.
Some fixes required :
Type of Change
Checklist
Related Issues