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

feat(protos): add auction result to bundle protos #1795

Open
wants to merge 1 commit into
base: itamarreif/auctioneer/protos-v1-update
Choose a base branch
from

Conversation

itamarreif
Copy link
Contributor

@itamarreif itamarreif commented Nov 7, 2024

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

  • Add AuctionResult defintion to the bundle api

Changelogs

  • Added AuctionResult definition to the bundle api protos

Related Issues

closes #1790

@itamarreif itamarreif self-assigned this Nov 7, 2024
@github-actions github-actions bot added the proto pertaining to the Astria Protobuf spec label Nov 7, 2024
@itamarreif itamarreif marked this pull request as ready for review November 7, 2024 19:53
@itamarreif itamarreif requested review from a team as code owners November 7, 2024 19:53
@itamarreif itamarreif changed the base branch from main to itamarreif/auctioneer/protos-v1-update November 7, 2024 22:52
// 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 {
Copy link
Member

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?

Copy link
Member

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?

Copy link
Member

@SuperFluffy SuperFluffy left a 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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
proto pertaining to the Astria Protobuf spec
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add signed auction result to bundle API
3 participants