Skip to content
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

latest Auctioneer binary with CI #1855

Draft
wants to merge 75 commits into
base: main
Choose a base branch
from
Draft

Conversation

bharath-123
Copy link
Contributor

Summary

Brief summary of the changes made, ie "what?"

Background

Brief background on why these changes were made, ie "why?"

Changes

  • List changes which were made.

Testing

How are these changes tested?

Changelogs

Ensure all relevant changelog files are updated as necessary. See
keepachangelog for change
categories. Replace this text with e.g. "Changelogs updated." or "No updates
required." to acknowledge changelogs have been considered.

Metrics

  • List out metrics added by PR, delete section if none.

Breaking Changelist

  • Bulleted list of breaking changes, any notes on migration. Delete section if none.

Related Issues

Link any issues that are related, prefer full GitHub links.

closes

@github-actions github-actions bot added documentation Improvements or additions to documentation ci issues that are related to ci and github workflows conductor pertaining to the astria-conductor crate proto pertaining to the Astria Protobuf spec sequencer pertaining to the astria-sequencer crate sequencer-relayer pertaining to the astria-sequencer-relayer crate composer pertaining to composer cd labels Dec 6, 2024
itamarreif and others added 22 commits December 6, 2024 14:35
the intended way to communicate with a single
server is by multiplexing over one connection.

this also modifies the executed stream to not
also forward something to another stream (happening
outside of it, in the optimistic executor broker)
all streams were Unpin anyways
also makes pushing into the duplex stream a method
on on the stream (rather than on handle to it).

moves conversion of optimistic to base block to
outside the channel so that it doesn't get
swallowed (the error event would be happening in
a long-running span, if under any span at all).
The "optimistic executioner" task was an extra
indirection that provided no clear benefit over
just running all stream directly in the auctioneer
task.
SuperFluffy and others added 28 commits December 6, 2024 14:35
Also removes auction Handle and Builder - they add
unnecessary complexity.
it was only emitted inside the future constructed
by the closure used to start the reconnection.

Returning it means a downstream user can
explicitly log it. The next invocation of
RestartingStream::next will then return
Ready(None).
Auctions are very short lived tasks: it does not
matter if their channels are bounded or not. After
a short period they will end and their memory
freed.
…uction steps

the oneshot channels communicate cleanly what's happening
inside the auction and it's easier to track what was
already sent to the auction worker (to reject
even triggering other steps on the worker from
in its handle).
the trigger to start the auction timer comes from
the sequencer block commitment. the trigger to
start bids comes from the rollup executing the
optimistic block in time.

this means that the timer must start running
independently of whether or not the rollup returned
with the the executed block in time.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cd ci issues that are related to ci and github workflows composer pertaining to composer conductor pertaining to the astria-conductor crate documentation Improvements or additions to documentation proto pertaining to the Astria Protobuf spec sequencer pertaining to the astria-sequencer crate sequencer-relayer pertaining to the astria-sequencer-relayer crate
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants