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

refactor(papyrus_protobuf): proto regression test with fix option instead of build #4120

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions crates/papyrus_protobuf/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,6 @@ papyrus_common.workspace = true
rand.workspace = true
rand_chacha.workspace = true
papyrus_test_utils.path = "../papyrus_test_utils"

[build-dependencies]
prost-build.workspace = true
protoc-prebuilt.workspace = true

Expand Down
70 changes: 0 additions & 70 deletions crates/papyrus_protobuf/build.rs

This file was deleted.

3 changes: 3 additions & 0 deletions crates/papyrus_protobuf/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,6 @@ pub mod mempool;
pub mod protobuf;
pub mod sync;
mod transaction;

#[cfg(test)]
mod regression_test;
2 changes: 1 addition & 1 deletion crates/papyrus_protobuf/src/protobuf.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
// TODO(Dan, Shahak): consider whether to enable clippy::large_enum_variant
#![allow(clippy::large_enum_variant)]
include!(concat!(env!("OUT_DIR"), "/_.rs"));
include!(concat!("protoc_output", "/_.rs"));
Loading
Loading