From b8d7f6686c7e63d85378bbdec3abdde53f39311d Mon Sep 17 00:00:00 2001 From: Florian Pellissier <111426680+flopell@users.noreply.github.com> Date: Thu, 7 Mar 2024 15:39:07 +0100 Subject: [PATCH] Fix balancer substream naming --- substreams/Readme.md | 2 +- substreams/ethereum-balancer/Cargo.toml | 4 ++-- substreams/ethereum-balancer/substreams.yaml | 8 ++++---- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/substreams/Readme.md b/substreams/Readme.md index f4f9aa3..530d858 100644 --- a/substreams/Readme.md +++ b/substreams/Readme.md @@ -47,7 +47,7 @@ The example from the official docs will serve us just well: ```toml [package] -name = "substreams_[CHAIN]_[PROTOCOL_SYSTEM]" +name = "substreams-[CHAIN]-[PROTOCOL_SYSTEM]" version = "0.1.0" edition = "2021" diff --git a/substreams/ethereum-balancer/Cargo.toml b/substreams/ethereum-balancer/Cargo.toml index 795c565..ace53d3 100644 --- a/substreams/ethereum-balancer/Cargo.toml +++ b/substreams/ethereum-balancer/Cargo.toml @@ -1,10 +1,10 @@ [package] -name = "substreams-balancer" +name = "substreams-ethereum-balancer" version = "0.1.0" edition = "2021" [lib] -name = "substreams_balancer" +name = "substreams_ethereum_balancer" crate-type = ["cdylib"] [dependencies] diff --git a/substreams/ethereum-balancer/substreams.yaml b/substreams/ethereum-balancer/substreams.yaml index 6324d2b..f1bc3af 100644 --- a/substreams/ethereum-balancer/substreams.yaml +++ b/substreams/ethereum-balancer/substreams.yaml @@ -1,6 +1,6 @@ specVersion: v0.1.0 package: - name: "substreams_balancer" + name: "substreams_ethereum_balancer" version: v0.1.0 protobuf: @@ -14,7 +14,7 @@ protobuf: binaries: default: type: wasm/rust-v1 - file: target/wasm32-unknown-unknown/release/substreams_balancer.wasm + file: target/wasm32-unknown-unknown/release/substreams_ethereum_balancer.wasm modules: - name: map_pools_created @@ -35,7 +35,7 @@ modules: - name: map_balance_deltas kind: map - initialBlock: 12369300 # An arbitrary block that should change based on your requirements + initialBlock: 12369300 # An arbitrary block that should change based on your requirements inputs: - source: sf.ethereum.type.v2.Block - store: store_pools_created @@ -59,6 +59,6 @@ modules: - map: map_balance_deltas - store: store_pools_created - store: store_balance_changes - mode: deltas # This is the key property that simplifies `BalanceChange` handling + mode: deltas # This is the key property that simplifies `BalanceChange` handling output: type: proto:tycho.evm.v1.BlockContractChanges