Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
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
283 changes: 210 additions & 73 deletions Cargo.lock

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions chain/ethereum/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ graph = { path = "../../graph" }
lazy_static = "1.2.0"
mockall = "0.9.1"
serde = "1.0"
prost = "0.8"
prost-types = "0.8"
prost = "0.10.1"
prost-types = "0.10.1"
dirs-next = "2.0"
anyhow = "1.0"
tiny-keccak = "1.5.0"
Expand All @@ -31,4 +31,4 @@ test-store = { path = "../../store/test-store" }
base64 = "0.13.0"

[build-dependencies]
tonic-build = "0.5.1"
tonic-build = { version = "0.7.1", features = ["prost"] }
2 changes: 1 addition & 1 deletion chain/ethereum/build.rs
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
fn main() {
println!("cargo:rerun-if-changed=proto");

tonic_build::configure()
.out_dir("src/protobuf")
.format(true)
.compile(&["proto/codec.proto"], &["proto"])
.expect("Failed to compile Firehose Ethereum proto(s)");
}
1 change: 1 addition & 0 deletions chain/ethereum/src/codec.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#[rustfmt::skip]
#[path = "protobuf/sf.ethereum.codec.v1.rs"]
mod pbcodec;

Expand Down
339 changes: 169 additions & 170 deletions chain/ethereum/src/protobuf/sf.ethereum.codec.v1.rs

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions chain/near/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@ version = "0.26.0"
edition = "2021"

[build-dependencies]
tonic-build = "0.5.1"
tonic-build = { version = "0.7.1", features = ["prost"] }

[dependencies]
base64 = "0.13"
graph = { path = "../../graph" }
prost = "0.8.0"
prost-types = "0.8.0"
prost = "0.10.1"
prost-types = "0.10.1"
serde = "1.0"

graph-runtime-wasm = { path = "../../runtime/wasm" }
Expand Down
1 change: 0 additions & 1 deletion chain/near/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ fn main() {
println!("cargo:rerun-if-changed=proto");
tonic_build::configure()
.out_dir("src/protobuf")
.format(true)
.compile(&["proto/codec.proto"], &["proto"])
.expect("Failed to compile Firehose NEAR proto(s)");
}
1 change: 1 addition & 0 deletions chain/near/src/codec.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#[rustfmt::skip]
#[path = "protobuf/sf.near.codec.v1.rs"]
pub mod pbcodec;

Expand Down
Loading