-
Notifications
You must be signed in to change notification settings - Fork 88
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
0c2992d
commit 738199a
Showing
14 changed files
with
655 additions
and
524 deletions.
There are no files selected for viewing
246 changes: 140 additions & 106 deletions
246
crates/astria-core/src/generated/astria.execution.v2.rs
Large diffs are not rendered by default.
Oops, something went wrong.
801 changes: 444 additions & 357 deletions
801
crates/astria-core/src/generated/astria.execution.v2.serde.rs
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains 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
7 changes: 7 additions & 0 deletions
7
proto/executionapis/astria/execution/v2/create_execution_session_request.proto
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
syntax = 'proto3'; | ||
|
||
package astria.execution.v2; | ||
|
||
// CreateExecutionSessionRequest is used to create a new execution session on the | ||
// rollup. | ||
message CreateExecutionSessionRequest {} |
11 changes: 11 additions & 0 deletions
11
proto/executionapis/astria/execution/v2/execute_block_response.proto
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
syntax = 'proto3'; | ||
|
||
package astria.execution.v2; | ||
|
||
import "astria/execution/v2/executed_block_metadata.proto"; | ||
|
||
// ExecuteBlockResponse is the response type for the ExecuteBlock RPC. It contains | ||
// the metadata of the block which was executed against the rollup. | ||
message ExecuteBlockResponse { | ||
ExecutedBlockMetadata executed_block_metadata = 1; | ||
} |
13 changes: 13 additions & 0 deletions
13
proto/executionapis/astria/execution/v2/executed_block_identifier.proto
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
syntax = 'proto3'; | ||
|
||
package astria.execution.v2; | ||
|
||
// Identifiers to select a rollup block by. | ||
message ExecutedBlockIdentifier { | ||
oneof identifier { | ||
// Identifier by block number, corresponding to `ExecutedBlockMetadata.number`. | ||
uint64 number = 1; | ||
// Identifier by block hash, corresponding to `ExecutedBlockMetadata.hash`. | ||
string hash = 2; | ||
} | ||
} |
This file contains 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 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 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 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
10 changes: 0 additions & 10 deletions
10
proto/executionapis/astria/execution/v2/get_block_request.proto
This file was deleted.
Oops, something went wrong.
10 changes: 10 additions & 0 deletions
10
proto/executionapis/astria/execution/v2/get_executed_block_metadata_request.proto
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
syntax = 'proto3'; | ||
|
||
package astria.execution.v2; | ||
|
||
import "astria/execution/v2/executed_block_identifier.proto"; | ||
|
||
// Used in GetExecutedBlockMetadata to find a single block. | ||
message GetExecutedBlockMetadataRequest { | ||
ExecutedBlockIdentifier identifier = 1; | ||
} |
7 changes: 0 additions & 7 deletions
7
proto/executionapis/astria/execution/v2/new_execution_session_request.proto
This file was deleted.
Oops, something went wrong.
13 changes: 0 additions & 13 deletions
13
proto/executionapis/astria/execution/v2/rollup_block_identifier.proto
This file was deleted.
Oops, something went wrong.