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

feat(core): generate pbjon impls for sequencer types needed to mock conductor #905

Merged
merged 1 commit into from
Apr 4, 2024

Conversation

SuperFluffy
Copy link
Member

Summary

The protobuf compiler tool also generates serde::Serialize impls for some sequencer types needed to mock conductor.

Background

The grpc mocking crate introduced in #872 requires gRPC request and response objects to implement serde::Serialize. This PR generates the code necessary to mock a sequencer server used by conductor in blackbox tests.

Changes

  • Update proto compiler tool to emit serde::Serialize and serde::Deserialize implementations for:
    • astria.sequencer.v1.FilteredSequencerBlock
    • astria.sequencer.v1.GetFilteredSequencerBlockRequest
    • astria.sequencer.v1.Proof
    • astria.sequencer.v1.RollupTransactions

Testing

n/a only generating cod

@github-actions github-actions bot added the proto pertaining to the Astria Protobuf spec label Apr 3, 2024
@SuperFluffy SuperFluffy added this pull request to the merge queue Apr 4, 2024
Merged via the queue into main with commit af74764 Apr 4, 2024
35 checks passed
@SuperFluffy SuperFluffy deleted the superfluffy/some-sequencer-pbjson branch April 4, 2024 11:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
proto pertaining to the Astria Protobuf spec
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants