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

transition to single astria-proto directory #7

Merged
merged 1 commit into from May 21, 2023
Merged

Conversation

joroshiba
Copy link
Member

@joroshiba joroshiba commented May 17, 2023

  • Adds workflow to run buf lint, and push build artifacts to buf.build/astria/astria (non main pushes are drafts)
  • Combines astria-execution-apis-rpc and astria-sequencer-relayer-proto into astria-proto
  • Makes all packages prefixed with astria following proto standards to allow cleaner imports. (ie astria.execution.v1)
  • Adds a protobuf package name to astria-sequencer-relayer-proto

Fixes #10

@joroshiba joroshiba force-pushed the astria-proto branch 2 times, most recently from d64defa to a99b9b8 Compare May 17, 2023 19:49
@joroshiba joroshiba temporarily deployed to BUF May 17, 2023 20:17 — with GitHub Actions Inactive
@joroshiba joroshiba temporarily deployed to BUF May 17, 2023 20:28 — with GitHub Actions Inactive
@joroshiba joroshiba changed the title astria-proto Transition to single astria-proto directory May 17, 2023
@joroshiba joroshiba marked this pull request as ready for review May 17, 2023 20:34
@joroshiba joroshiba temporarily deployed to BUF May 17, 2023 21:59 — with GitHub Actions Inactive
@joroshiba joroshiba temporarily deployed to BUF May 17, 2023 22:02 — with GitHub Actions Inactive
@joroshiba joroshiba temporarily deployed to BUF May 17, 2023 22:56 — with GitHub Actions Inactive
@joroshiba joroshiba linked an issue May 18, 2023 that may be closed by this pull request
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.

This looks very good to me.

I would like to match the rust module names to the proto package names (see the comments).

But I am also wondering if the directory structure could be flattened:

# protobuf package
astria.execution.v1
# current path
proto/astria/execution/v1/execution.proto
# suggested path
proto/astria.execution.v1/execution.proto

crates/astria-proto/src/lib.rs Show resolved Hide resolved
.github/workflows/proto.yml Outdated Show resolved Hide resolved
crates/astria-proto/src/lib.rs Show resolved Hide resolved
@SuperFluffy SuperFluffy mentioned this pull request May 19, 2023
1 task
@joroshiba joroshiba temporarily deployed to BUF May 19, 2023 16:38 — with GitHub Actions Inactive
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.

Looks great, thank you for transitioning this.

I would like to merge this into main after #6 is merged.

crates/astria-proto/buf.work.yaml Outdated Show resolved Hide resolved
@SuperFluffy SuperFluffy changed the title Transition to single astria-proto directory transition to single astria-proto directory May 19, 2023
@joroshiba joroshiba temporarily deployed to BUF May 20, 2023 00:36 — with GitHub Actions Inactive
@joroshiba joroshiba merged commit a53331c into main May 21, 2023
4 checks passed
@joroshiba joroshiba deleted the astria-proto branch May 21, 2023 20:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Provide a package name for sequencer protos
2 participants