-
Notifications
You must be signed in to change notification settings - Fork 0
feat: Trusted auctioneer: Maintain a separate optimistic block fork #3
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
Merged
bharath-123
merged 104 commits into
trusted-auctioneer
from
bharath/implement-optimistic-fork-creation
Jan 13, 2025
Merged
Changes from all commits
Commits
Show all changes
104 commits
Select commit
Hold shift + click to select a range
2c091a2
implement optimistic block execution with tests
bharath-123 14ecb93
use commitmentUpdateLock when accessing the safe block
bharath-123 9ffc153
fix test
bharath-123 d4ed621
add a flag to check if the payload is being built optimistically
bharath-123 3946bba
add tx validaton to optimistic block execution
bharath-123 4745feb
take the block execution lock when accessing nextFeeRecipient
bharath-123 0130470
use v1 protos
bharath-123 12f933c
acquire fee recipient lock after getting the softblock
bharath-123 9f7886f
avoid taking block commitment lock when fetching softblock pointer
bharath-123 a7b1404
add event for optimistic head
bharath-123 21416ea
add optimistic head subscription method to mempool Blockchain interface
bharath-123 721ee82
test fixes
bharath-123 a800a16
use optimistic head event in txpool's maintanance loop
bharath-123 0fac052
fix tests
bharath-123 c62b0bd
add logic to clear mempool
bharath-123 e09cfde
remove invalids
bharath-123 878c5c0
add comments
bharath-123 f2fdd0f
remove mempool conditionals
bharath-123 6a8e446
split out reset logic and head only reset logc
bharath-123 01be512
ensure that unreserved addresses are removed
bharath-123 2051f8a
add event for mempool clearance
bharath-123 864138e
update subscription interfaces
bharath-123 f7bb86f
fix potential panic while subscribing to mempool clearance
bharath-123 9a352f1
dont send mempool clearing event while holding mempool lock
bharath-123 7dc78f5
implement stream execute optimistic block
bharath-123 f311e0a
unit tests
bharath-123 b0ec901
use generics to implement mock bi directional stream
bharath-123 56dc5cd
wip
bharath-123 98edfc9
use an atomic pointer for sequencer block hash
bharath-123 c929957
reduce mempool clearing timeout
bharath-123 a1152d7
fix imports
bharath-123 17a333c
update grpc method names
bharath-123 f1356b2
only allow 1 client to be connected to the execute optimistic block s…
bharath-123 e37bba3
rename executeBlockStreamConnected to executeOptimisticBlockStreamCon…
bharath-123 db067e1
remove restrictions to allow just one client to connect to the optimi…
bharath-123 c529b84
implement bundle streaming
bharath-123 bea3622
update unit tests
bharath-123 35f3a6c
only send the effective tip as part of the fee
bharath-123 4b612d6
minor test updates
bharath-123 5acc678
rename grpc methods
bharath-123 e57148b
close the bundle stream when client closes the connection
bharath-123 e4cf569
allow only 1 client to connect to the bundle stream
bharath-123 f795b75
fix minor error
bharath-123 0c02e8c
fetch the next fee recipient under the block execution lock
bharath-123 a5fb8a5
validate txs before optimistically executing them
bharath-123 a114f0d
support uds endpoints for auctioneer
bharath-123 edfddc9
remove duplicate code
bharath-123 12e3ab2
add uds flag to options
bharath-123 14c097e
separate out execution api services and optimistic execution api serv…
bharath-123 2f6e1eb
minor updates
bharath-123 df7504f
minor nits
bharath-123 128be57
make tests more robust
bharath-123 99560fa
move BigIntoToProtoU128 to shared test utils
bharath-123 a62047e
minor updates
bharath-123 e5065e5
update grpc methods
bharath-123 0af0e92
close the bundle stream when client closes the connection
bharath-123 258c8e2
remove UDS references
bharath-123 54381f4
rename a wrongly renamed word
bharath-123 f28ac18
re add single client connection checks
bharath-123 12eec4d
maintain only 1 server instance
bharath-123 651a6ca
renaming
bharath-123 9bf573a
remove atomic bools to restrict client connections to 1
bharath-123 6abc0f4
feature flag auctioneer
bharath-123 e48458f
add flags
bharath-123 591e827
save
bharath-123 7444772
maintain a copy of legacy pool tests to test the cases when auctionee…
bharath-123 61af0ec
unmarshall auction result
bharath-123 c4662a7
add signature verification
bharath-123 64758bb
set the trusted builder public key in genesis
bharath-123 6985314
add some tests for the auction results
bharath-123 3661b01
dilineate trusted builder public keys by block number
bharath-123 9e0e612
renaming
bharath-123 f4bc725
update protos
bharath-123 2992b5b
change trusted builder instances to auctioneer
bharath-123 a82a00e
fix typo
bharath-123 9809d0c
add an api to query the optimistic block
bharath-123 e6f1345
support querying optimistic block using the optimistic string
bharath-123 2561dc3
close the stream when we get the done signal
bharath-123 df8ead5
add debug logs for when the stream rpcs are called
bharath-123 7aed2a0
add some logs
bharath-123 634e962
add some logs
bharath-123 e5d90d2
use atomic pointer for fee recipient
bharath-123 9e7abe7
remove unecessary lock
bharath-123 f7d5584
wrap errors
bharath-123 1457ce3
buffer the reserved addresses and remove them at once
bharath-123 b6e5401
avoid cleaning up duplicate addresses
bharath-123 1cd5701
add metrics
bharath-123 b555cc9
update depot token
bharath-123 3284998
add a few debug logs
bharath-123 17dbebd
update to use new protos
bharath-123 1c1a935
update protobufs
bharath-123 5b99a85
Merge pull request #28 from astriaorg/bharath/update-protos
bharath-123 d5628b5
Merge pull request #25 from astriaorg/bharath/add-auctioneer-metrics
bharath-123 e49d7f4
Merge pull request #24 from astriaorg/bharath/code-cleanups
bharath-123 98e817c
Merge pull request #22 from astriaorg/bharath/api-to-query-optimistic…
bharath-123 2b9a863
Merge pull request #21 from astriaorg/bharath/auction-result
bharath-123 e384e18
Merge pull request #17 from astriaorg/bharath/feature-flag-auctioneer
bharath-123 9a7f5ad
Merge pull request #16 from astriaorg/bharath/refactor-services
bharath-123 43fdcea
Merge pull request #12 from astriaorg/bharath/implement-bundle-streaming
bharath-123 9496cb9
Merge pull request #11 from astriaorg/bharath/implement-optimistic-ex…
bharath-123 41fb511
Merge pull request #9 from astriaorg/bharath/add-mempool-clearing-event
bharath-123 11cebfd
Merge pull request #8 from astriaorg/bharath/clear-mempool
bharath-123 19f8867
Merge pull request #7 from astriaorg/bharath/use-optimistic-fork-event
bharath-123 2e26e91
Merge pull request #4 from astriaorg/bharath/implement-optimistic-for…
bharath-123 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We can use this instead of maintaining a separate
currentOptimisticBlock