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 18, 2024
1 parent 4287b94 commit b9bf28c
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 Allocation 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 Allocation {
// 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 payload = 3;
}

message GetBundleStreamResponse {
Bundle bundle = 1;
}
Expand Down

0 comments on commit b9bf28c

Please sign in to comment.