diff --git a/eth-balance/proto/eth_balance.proto b/eth-balance/proto/eth_balance.proto index 36b72779..ea4eab3c 100644 --- a/eth-balance/proto/eth_balance.proto +++ b/eth-balance/proto/eth_balance.proto @@ -1,6 +1,6 @@ syntax = "proto3"; -package messari.evm_token.v1; +package messari.eth_balance.v1; message Tokens { repeated Token items = 1; diff --git a/eth-balance/src/lib.rs b/eth-balance/src/lib.rs index 1cd5a715..4cad2b5e 100644 --- a/eth-balance/src/lib.rs +++ b/eth-balance/src/lib.rs @@ -2,7 +2,7 @@ pub mod pb; use substreams::Hex; use substreams_ethereum::pb::eth as pbeth; -use substreams_helper::pb::evm_token::v1 as token; +use substreams_helper::pb::eth_balance::v1 as token; use substreams_helper::token as token_helper; #[substreams::handlers::map] diff --git a/eth-balance/src/pb.rs b/eth-balance/src/pb.rs index 2b6dbd63..21c620eb 100644 --- a/eth-balance/src/pb.rs +++ b/eth-balance/src/pb.rs @@ -1,9 +1,9 @@ #[rustfmt::skip] -#[path = "../target/pb/messari.evm_token.v1.rs"] -pub(in crate::pb) mod evm_token_v1; +#[path = "../target/pb/messari.eth_balance.v1.rs"] +pub(in crate::pb) mod eth_balance_v1; -pub mod evm_token { +pub mod eth_balance { pub mod v1 { - pub use super::super::evm_token_v1::*; + pub use super::super::eth_balance_v1::*; } } diff --git a/substreams-helper/src/pb.rs b/substreams-helper/src/pb.rs index 2b6dbd63..21c620eb 100644 --- a/substreams-helper/src/pb.rs +++ b/substreams-helper/src/pb.rs @@ -1,9 +1,9 @@ #[rustfmt::skip] -#[path = "../target/pb/messari.evm_token.v1.rs"] -pub(in crate::pb) mod evm_token_v1; +#[path = "../target/pb/messari.eth_balance.v1.rs"] +pub(in crate::pb) mod eth_balance_v1; -pub mod evm_token { +pub mod eth_balance { pub mod v1 { - pub use super::super::evm_token_v1::*; + pub use super::super::eth_balance_v1::*; } } diff --git a/substreams-helper/src/token.rs b/substreams-helper/src/token.rs index d661a6d8..9517ff58 100644 --- a/substreams-helper/src/token.rs +++ b/substreams-helper/src/token.rs @@ -1,4 +1,4 @@ -use crate::pb::evm_token::v1::Token; +use crate::pb::eth_balance::v1::Token; use num_bigint; use substreams::scalar::BigInt; use substreams_ethereum::pb::eth as pbeth;