Skip to content

Commit

Permalink
Add index keys within pb
Browse files Browse the repository at this point in the history
  • Loading branch information
ArnaudBger committed May 8, 2024
1 parent 467e089 commit f4f960c
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 0 deletions.
13 changes: 13 additions & 0 deletions substreams/src/pb/mod.rs
Original file line number Diff line number Diff line change
@@ -1,2 +1,15 @@
// @generated
pub mod sf {
pub mod substreams {
pub mod index {
// @@protoc_insertion_point(attribute:sf.substreams.index.v1)
pub mod v1 {
include!("sf.substreams.index.v1.rs");
// @@protoc_insertion_point(sf.substreams.index.v1)
}
}
}
}

#[path = "./sf.substreams.v1.rs"]
pub mod substreams;
8 changes: 8 additions & 0 deletions substreams/src/pb/sf.substreams.index.v1.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
// @generated
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Keys {
#[prost(string, repeated, tag="1")]
pub keys: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
}
// @@protoc_insertion_point(module)

0 comments on commit f4f960c

Please sign in to comment.