Modular sequence sender #2075
arnaubennassar
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
This discussion suggest changes to be done in the sequence sender component for it to become more flexible, and enable alt implementations and/or different functionalities
Splitting batch aggregation from sequence sending
The logic for waiting and handling L1 tx sending should be independent from the actual SC implementation:
From all the steps performed by this function, the one that should be modularized is
send the final proof to L1
, actually it's more convinient to assume that L1 will always be Ethereum (or EVM based network), and split this step in two:The current implementation modularized should look like this:
Sequence sender should receive the implementation of
buildSendSequenceTx
in the constructor.This way, sequence sender should be agnostic to the underlying smart contracts, instead
sendsequencetxbuilder
should handle the relation between batch aggregation and SC specific logic. Still theethtxsender
abstraction is preserved for monitoring sending an monitoring L1Beta Was this translation helpful? Give feedback.
All reactions