Skip to content

Commit e8bde64

Browse files
authored
fix: update tycho-substreams version in all vm packages (#206)
This is needed after #201 Co-authored-by: zizou <111426680+flopell@users.noreply.github.com>
1 parent 1442215 commit e8bde64

File tree

22 files changed

+279
-344
lines changed

22 files changed

+279
-344
lines changed

substreams/Cargo.lock

Lines changed: 30 additions & 30 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

substreams/ethereum-ambient/Cargo.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
[package]
2-
name = "substreams-ethereum-ambient"
3-
version = "0.5.2"
2+
name = "ethereum-ambient"
3+
version = "0.6.1"
44
edition = "2021"
55

66
[lib]
7-
name = "substreams_ethereum_ambient"
7+
name = "ethereum_ambient"
88
crate-type = ["cdylib"]
99

1010
[dependencies]
11-
tycho-substreams = { git = "https://github.com/propeller-heads/tycho-protocol-sdk.git", rev = "f90c33b" }
11+
tycho-substreams = { git = "https://github.com/propeller-heads/tycho-protocol-sdk.git", rev = "52d5021" }
1212
substreams = "0.5.22"
1313
substreams-ethereum = "0.9.9"
1414
prost = "0.11"

substreams/ethereum-ambient/src/modules/3_map_changes.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ impl From<InterimContractChange> for ContractChange {
4747
.map(|(slot, value)| ContractSlot { slot, value: value.new_value })
4848
.collect(),
4949
change: value.change.into(),
50+
token_balances: Vec::new(),
5051
}
5152
}
5253
}

substreams/ethereum-ambient/substreams.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
specVersion: v0.1.0
22
package:
3-
name: "substreams_ethereum_ambient"
4-
version: v0.6.0
3+
name: "ethereum_ambient"
4+
version: v0.6.1
55

66
protobuf:
77
files:
@@ -14,7 +14,7 @@ protobuf:
1414
binaries:
1515
default:
1616
type: wasm/rust-v1
17-
file: ../target/wasm32-unknown-unknown/release/substreams_ethereum_ambient.wasm
17+
file: ../target/wasm32-unknown-unknown/release/ethereum_ambient.wasm
1818

1919
modules:
2020
- name: map_pool_changes

substreams/ethereum-balancer-v2/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "ethereum-balancer-v2"
3-
version = "0.2.4"
3+
version = "0.2.5"
44
edition = "2021"
55

66
[lib]
@@ -19,7 +19,7 @@ bytes = "1.5.0"
1919
anyhow = "1.0.75"
2020
num-bigint = "0.4.4"
2121
itertools = "0.12.0"
22-
tycho-substreams = { git = "https://github.com/propeller-heads/tycho-protocol-sdk.git", rev = "b8aeaa3" }
22+
tycho-substreams = { git = "https://github.com/propeller-heads/tycho-protocol-sdk.git", rev = "52d5021" }
2323

2424
[build-dependencies]
2525
anyhow = "1"

substreams/ethereum-balancer-v2/build.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,10 @@ fn main() -> Result<()> {
2626

2727
let contract_name = file_name.split('.').next().unwrap();
2828

29-
let input_path = format!("{}/{}", abi_folder, file_name);
30-
let output_path = format!("{}/{}.rs", output_folder, contract_name);
29+
let input_path = format!("{abi_folder}/{file_name}");
30+
let output_path = format!("{output_folder}/{contract_name}.rs");
3131

32-
mod_rs_content.push_str(&format!("pub mod {};\n", contract_name));
32+
mod_rs_content.push_str(&format!("pub mod {contract_name};\n"));
3333

3434
if std::path::Path::new(&output_path).exists() {
3535
continue;
@@ -40,7 +40,7 @@ fn main() -> Result<()> {
4040
.write_to_file(&output_path)?;
4141
}
4242

43-
let mod_rs_path = format!("{}/mod.rs", output_folder);
43+
let mod_rs_path = format!("{output_folder}/mod.rs");
4444
let mut mod_rs_file = fs::File::create(mod_rs_path)?;
4545

4646
mod_rs_file.write_all(mod_rs_content.as_bytes())?;

0 commit comments

Comments
 (0)