Set L2 blocktime > L1 blocktime #189
-
Did you check the documentation?
Did you read the specs?
Did you check for duplicate questions?
Issue DescriptionI researching in optimism rollup node: I want to set block time L2 > L1 block time in my network. I stuck in batches deriving in rollup node, many epochs checks fails (err: random field does not match as the result of L1 block attributes shifting in L2 block producing). L2 network make many reorgs with failed checks . Are there developers who try to did it? I will be happy to read any experience in this way. Thanks in advance. Additional InformationNo response FeedbackNo response |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 4 replies
-
The assumption is that the rollup block time is less than the L1 block time and is a whole number. Can you tell me more about why you're trying to implement a higher block time? Additionally: span batches |
Beta Was this translation helpful? Give feedback.
-
Hey @dim4egster, We hope your recent question was resolved to your satisfaction. Your feedback is invaluable and helps us improve our support services. Could you spare a moment to fill out a short feedback survey. Thank you for helping us improve our developer community. |
Beta Was this translation helpful? Give feedback.
-
Hey @dim4egster, We hope your recent question was resolved to your satisfaction. Your feedback is invaluable and helps us improve our support services. Could you spare a moment to fill out a short feedback survey. Thank you for helping us improve our developer community. |
Beta Was this translation helpful? Give feedback.
-
I researched the code. This ability requires a lot of work: changes to batch derivation process, some parent->child checks will become not actual and the L1 deposits processing logic needs to be changed. |
Beta Was this translation helpful? Give feedback.
-
Thanks everyone for the answers! |
Beta Was this translation helpful? Give feedback.
The assumption is that the rollup block time is less than the L1 block time and is a whole number. Can you tell me more about why you're trying to implement a higher block time?
Additionally: span batches
might be what you're looking for. This feature is currently supported on testnets and will land on mainnet if this proposal passes.
edit: added span batches spec