Express lane timeboost auctioneer rpc forwarding and sequencer coordinator #2903
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR enables forwarding of express lane auction resolution txs ("auctioneer" namespace) and disables the requirement for JWT auth since the auction resolution method is already checked for signature by the auctioneer.
It also adds two new options for the autonomous-auctioneer which allow it to discover the active sequencer so that it can send its auction resolution transactions directly to it. If the sequencer is using the redis coordinator to manage which sequencer is active, then the same redis url can be passed as an option to the auctioneer.
The new options are:
--auctioneer-server.redis-coordinator-url
--auctioneer-server.use-redis-coordinator
Testing done
Forwaring feature
Tested with nitro-testnode timeboost-mode branch: OffchainLabs/nitro-testnode#95
Tested running timeboost-test https://github.com/OffchainLabs/timeboost-test targeting the forwarding sequencer with the following configuration, and observed that auction resolution messages are forwarded correctly and resolution occurs.
Auctioneer using Sequencer Coordinator
Tested with nitro-testnode timeboost-mode branch: OffchainLabs/nitro-testnode#95
Ran timeboost-test as above, then disabled the primary sequencer
then ran timeboost-test again.
Observed switchover in auctioneer logs:
Checked logs from sequencer to see that correct sequencer was receiving the auction resolution message.