-
Notifications
You must be signed in to change notification settings - Fork 80
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
Writing to DA is blocking reading of new sequencer txs #122
Comments
Currently sequencer-relayer has 1 block timing loop. Should we instead have 2 different loops? One for DA and one for sequencer. On sequencer timing, read new blocks, gossip, add to DA queue. On DA timing write the queue to DA? |
there are multiple problems here:
the only decent solution seems to be batching the writes on our end; so for each namespace we want to write to (sequencer, rollup), we batch all the writes into a the conductor will need to be updated to handle a batched |
Might be worth looking at how Sovereign Labs has their Celestia adapter working: https://github.com/Sovereign-Labs/sovereign-sdk/tree/main/adapters/celestia |
@jbowen93 looks like their adaptor only does reading, not writing? :/ |
Are you using the latest latest rc? rc5 @noot |
@renaynay I don't think so, looks like we've been using an older version: https://github.com/astriaorg/dev-cluster/blob/main/kubernetes/celestia-local/deployment.yml#L47 where can I find the API docs for rc5? |
@noot looks like ur using a custom image of node - can you tell me which version that points to? |
Specific commits are here: |
@renaynay I believe were are using v0.6.1 of celestia-node and 0.11.0 of celestia-app. will be updating to use rc5, as the new |
There are two somewhat orthogonal issues here:
#150 tracked in #151 addresses the second point. But a proper fix is to resolve the architectural issues. |
When I have sped up block times in our
dev-cluster
(see astriaorg/dev-cluster#35) the sequencer no longer consistently grabs blocks from metro. Looking at the log below, we can see timing wise that sequencer-relayer runs at the expected speed up until it starts seeing blocks. At that point there is significant delay in writing to celestia. We need to either make this non blocking, or bundle everything per celestia block into a single pfb.I think there are two fixes we need here:
Tasks
The text was updated successfully, but these errors were encountered: