Skip to content

Commit

Permalink
Include versions
Browse files Browse the repository at this point in the history
  • Loading branch information
joroshiba committed May 19, 2023
1 parent 5cd0c46 commit a1888d0
Show file tree
Hide file tree
Showing 7 changed files with 12 additions and 7 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/proto.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
github_token: ${{ github.token }}
- uses: bufbuild/buf-lint-action@v1
with:
input: "crates/astria-proto/proto"
input: "crates/astria-proto"
# TODO(GH-3): Uncomment out after reaching any production stage
# - uses: bufbuild/buf-breaking-action@v1
# with:
Expand All @@ -26,5 +26,5 @@ jobs:
- uses: bufbuild/buf-push-action@v1
with:
draft: ${{ github.ref_name != 'main'}}
input: "crates/astria-proto"
input: "crates/astria-proto/proto"
buf_token: ${{ secrets.BUF_TOKEN }}
2 changes: 1 addition & 1 deletion crates/astria-conductor/src/execution_client.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
use astria_proto::execution::{
use astria_proto::execution::v1::{
execution_service_client::ExecutionServiceClient,
DoBlockRequest,
DoBlockResponse,
Expand Down
2 changes: 1 addition & 1 deletion crates/astria-conductor/src/executor.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
use std::collections::HashMap;

use astria_proto::sequencer::SequencerMsg;
use astria_proto::sequencer::v1::SequencerMsg;
use astria_sequencer_relayer::{
base64_string::Base64String,
sequencer_block::{
Expand Down
File renamed without changes.
File renamed without changes.
9 changes: 7 additions & 2 deletions crates/astria-proto/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,12 @@
pub mod execution {
include!(concat!(env!("OUT_DIR"), "/astria.execution.v1.rs"));
pub mod v1 {
include!(concat!(env!("OUT_DIR"), "/astria.execution.v1.rs"));
}

}

pub mod sequencer {
include!(concat!(env!("OUT_DIR"), "/astria.sequencer.v1.rs"));
pub mod v1 {
include!(concat!(env!("OUT_DIR"), "/astria.sequencer.v1.rs"));
}
}
2 changes: 1 addition & 1 deletion crates/astria-sequencer-relayer/src/sequencer_block.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ use std::{
fmt,
};

use astria_proto::sequencer::{
use astria_proto::sequencer::v1::{
SequencerMsg,
TxBody,
TxRaw,
Expand Down

0 comments on commit a1888d0

Please sign in to comment.