Skip to content

Commit

Permalink
add auction result
Browse files Browse the repository at this point in the history
  • Loading branch information
itamarreif committed Nov 7, 2024
1 parent d1edce9 commit a2643ed
Show file tree
Hide file tree
Showing 3 changed files with 175 additions and 0 deletions.
27 changes: 27 additions & 0 deletions crates/astria-core/src/generated/astria.bundle.v1alpha1.rs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

132 changes: 132 additions & 0 deletions crates/astria-core/src/generated/astria.bundle.v1alpha1.serde.rs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

16 changes: 16 additions & 0 deletions proto/executionapis/astria/bundle/v1alpha1/bundle.proto
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,22 @@ message Bundle {
bytes prev_rollup_block_hash = 4;
}

// The AuctionResult message is submitted by the Auctioneer to the rollup as a
// `RollupDataSubmission` on the sequencer.
// 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 {
// The Ed25519 signature of the Auctioneer, to be verified against config by the
// rollup.
bytes signature = 1;
// The Ed25519 public key of the Auctioneer, to be verified against config by the
// rollup.
bytes public_key = 2;
// The bundle that was allocated the winning slot by the Auctioneer.
Bundle allocation = 3;
}

message GetBundleStreamResponse {
Bundle bundle = 1;
}
Expand Down

0 comments on commit a2643ed

Please sign in to comment.