-
Notifications
You must be signed in to change notification settings - Fork 75
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
feat(protos): add auction result to bundle protos #1795
base: itamarreif/auctioneer/protos-v1-update
Are you sure you want to change the base?
feat(protos): add auction result to bundle protos #1795
Conversation
da3b5f5
to
c00046b
Compare
c00046b
to
e50a5a0
Compare
e50a5a0
to
a2643ed
Compare
// The rollup will verify the signature and public key against its configuration, | ||
// then unbundle the body into rollup transactions and execute them first in the | ||
// block. | ||
message AuctionResult { |
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.
I have to walk back my suggestion for calling this a Result
because it would clash with a regular Rust Result
: Result<AuctionResult, E>
.
Let's go with WinningBundle
instead?
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.
I think it's probably fine to just call this a SignedBundle? That's what it is and provides a more generic option. IE this could allow it to be a bundle generated and signed by a TEE and submitted.
The fact that this signer indicates it is a Auction Result bundle is an implementation detail for the rollup?
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.
Setting this to requesting changes to make it clear that this PR was reviewed and needs further action.
a2643ed
to
d9eb0ab
Compare
d1edce9
to
4287b94
Compare
d9eb0ab
to
b9bf28c
Compare
Summary
This PR adds the auction result definition to the bundle api protos.
Background
The auctioneer chooses a winning bundle which it needs to submit in a
RollupDataSubmission
to the sequencer. The winning bundle needs to be signed first, and this PR adds a wrapper object that includes the signature and public key required to verify the signature was done by the correct Auctioneer.Changes
AuctionResult
defintion to the bundle apiChangelogs
AuctionResult
definition to the bundle api protosRelated Issues
closes #1790