-
Notifications
You must be signed in to change notification settings - Fork 991
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
23 changed files
with
299 additions
and
137 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
syntax = "proto3"; | ||
|
||
import "near.proto"; | ||
|
||
package receipts.v1; | ||
|
||
message BlockAndReceipts { | ||
sf.near.codec.v1.Block block = 1; | ||
repeated sf.near.codec.v1.ExecutionOutcomeWithId outcome = 2; | ||
repeated sf.near.codec.v1.Receipt receipt = 3; | ||
} | ||
|
||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
pub mod receipts { | ||
pub mod v1 { | ||
include!("receipts.v1.rs"); | ||
} | ||
} | ||
pub mod sf { | ||
pub mod arweave { | ||
pub mod r#type { | ||
pub mod v1 { | ||
include!("sf.arweave.r#type.v1.rs"); | ||
} | ||
} | ||
} | ||
pub mod ethereum { | ||
pub mod r#type { | ||
pub mod v2 { | ||
include!("sf.ethereum.r#type.v2.rs"); | ||
} | ||
} | ||
} | ||
pub mod near { | ||
pub mod codec { | ||
pub mod v1 { | ||
include!("sf.near.codec.v1.rs"); | ||
} | ||
} | ||
} | ||
} | ||
pub mod substreams { | ||
pub mod entity { | ||
pub mod v1 { | ||
include!("substreams.entity.v1.rs"); | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
syntax = "proto3"; | ||
|
||
import "near.proto"; | ||
|
||
package receipts.v1; | ||
|
||
message BlockAndReceipts { | ||
sf.near.codec.v1.Block block = 1; | ||
repeated sf.near.codec.v1.ExecutionOutcomeWithId outcome = 2; | ||
repeated sf.near.codec.v1.Receipt receipt = 3; | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
#[allow(clippy::derive_partial_eq_without_eq)] | ||
#[derive(Clone, PartialEq, ::prost::Message)] | ||
pub struct BlockAndReceipts { | ||
#[prost(message, optional, tag = "1")] | ||
pub block: ::core::option::Option<crate::codec::pbcodec::Block>, | ||
#[prost(message, repeated, tag = "2")] | ||
pub outcome: ::prost::alloc::vec::Vec<crate::codec::pbcodec::ExecutionOutcomeWithId>, | ||
#[prost(message, repeated, tag = "3")] | ||
pub receipt: ::prost::alloc::vec::Vec<crate::codec::pbcodec::Receipt>, | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.