fix: update tycho-substreams version in all vm packages (#206)
This is needed after https://github.com/propeller-heads/tycho-protocol-sdk/pull/201 Co-authored-by: zizou <111426680+flopell@users.noreply.github.com>
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "ethereum-curve"
|
||||
version = "0.3.2"
|
||||
version = "0.3.3"
|
||||
edition = "2021"
|
||||
|
||||
[lib]
|
||||
@@ -18,7 +18,7 @@ hex = "0.4.3"
|
||||
bytes = "1.5.0"
|
||||
anyhow = "1.0.75"
|
||||
num-bigint = "0.4.4"
|
||||
tycho-substreams = { git = "https://github.com/propeller-heads/tycho-protocol-sdk.git", rev = "b8aeaa3" }
|
||||
tycho-substreams = { git = "https://github.com/propeller-heads/tycho-protocol-sdk.git", rev = "52d5021" }
|
||||
serde = { version = "1.0", features = ["derive"] }
|
||||
serde_qs = "0.13.0"
|
||||
itertools = "0.13.0"
|
||||
|
||||
@@ -100,12 +100,6 @@ pub fn address_map(
|
||||
Some((
|
||||
ProtocolComponent {
|
||||
id: hex::encode(component_id),
|
||||
tx: Some(Transaction {
|
||||
to: tx.to.clone(),
|
||||
from: tx.from.clone(),
|
||||
hash: tx.hash.clone(),
|
||||
index: tx.index.into(),
|
||||
}),
|
||||
tokens: tokens.clone(),
|
||||
contracts: vec![
|
||||
component_id.into(),
|
||||
@@ -218,12 +212,6 @@ pub fn address_map(
|
||||
Some((
|
||||
ProtocolComponent {
|
||||
id: hex::encode(component_id),
|
||||
tx: Some(Transaction {
|
||||
to: tx.to.clone(),
|
||||
from: tx.from.clone(),
|
||||
hash: tx.hash.clone(),
|
||||
index: tx.index.into(),
|
||||
}),
|
||||
tokens: tokens.clone(),
|
||||
contracts: vec![component_id.into()],
|
||||
static_att: vec![
|
||||
@@ -465,12 +453,6 @@ pub fn address_map(
|
||||
Some((
|
||||
ProtocolComponent {
|
||||
id: hex::encode(component_id),
|
||||
tx: Some(Transaction {
|
||||
to: tx.to.clone(),
|
||||
from: tx.from.clone(),
|
||||
hash: tx.hash.clone(),
|
||||
index: tx.index.into(),
|
||||
}),
|
||||
tokens: pool_added.coins.clone(),
|
||||
contracts: vec![component_id.into(), CRYPTO_SWAP_NG_FACTORY.into()],
|
||||
static_att: vec![
|
||||
@@ -538,12 +520,6 @@ pub fn address_map(
|
||||
Some((
|
||||
ProtocolComponent {
|
||||
id: hex::encode(component_id),
|
||||
tx: Some(Transaction {
|
||||
to: tx.to.clone(),
|
||||
from: tx.from.clone(),
|
||||
hash: tx.hash.clone(),
|
||||
index: tx.index.into(),
|
||||
}),
|
||||
tokens: vec![pool_added.coin.clone(), lp_token.clone()],
|
||||
contracts: vec![
|
||||
component_id.into(),
|
||||
@@ -637,12 +613,6 @@ pub fn address_map(
|
||||
Some((
|
||||
ProtocolComponent {
|
||||
id: id.clone(),
|
||||
tx: Some(Transaction {
|
||||
to: tx.to.clone(),
|
||||
from: tx.from.clone(),
|
||||
hash: tx.hash.clone(),
|
||||
index: tx.index.into(),
|
||||
}),
|
||||
tokens: tokens.clone(),
|
||||
contracts: vec![pool_added.pool, TRICRYPTO_FACTORY.into()],
|
||||
static_att: vec![
|
||||
@@ -758,12 +728,6 @@ pub fn address_map(
|
||||
Some((
|
||||
ProtocolComponent {
|
||||
id: hex::encode(component_id),
|
||||
tx: Some(Transaction {
|
||||
to: tx.to.clone(),
|
||||
from: tx.from.clone(),
|
||||
hash: tx.hash.clone(),
|
||||
index: tx.index.into(),
|
||||
}),
|
||||
tokens: tokens.clone(),
|
||||
contracts: vec![component_id.into()],
|
||||
static_att: vec![
|
||||
@@ -903,12 +867,6 @@ pub fn address_map(
|
||||
Some((
|
||||
ProtocolComponent {
|
||||
id: id.clone(),
|
||||
tx: Some(Transaction {
|
||||
to: tx.to.clone(),
|
||||
from: tx.from.clone(),
|
||||
hash: tx.hash.clone(),
|
||||
index: tx.index.into(),
|
||||
}),
|
||||
tokens: pool_added.coins.clone().into(),
|
||||
contracts: vec![pool_added.pool, TWOCRYPTO_FACTORY.into()],
|
||||
static_att: vec![
|
||||
|
||||
@@ -48,12 +48,6 @@ fn create_component(
|
||||
Ok(Some((
|
||||
ProtocolComponent {
|
||||
id: pool.address.clone(),
|
||||
tx: Some(Transaction {
|
||||
to: tx.to.clone(),
|
||||
from: tx.from.clone(),
|
||||
hash: tx.hash.clone(),
|
||||
index: tx.index.into(),
|
||||
}),
|
||||
tokens: pool
|
||||
.tokens
|
||||
.clone()
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
specVersion: v0.1.0
|
||||
package:
|
||||
name: "substreams_curve"
|
||||
version: v0.3.2
|
||||
version: v0.3.3
|
||||
|
||||
protobuf:
|
||||
files:
|
||||
|
||||
Reference in New Issue
Block a user