Skip to content

Commit

Permalink
remove unused dependencies in Cargo.toml (entity and database changes)
Browse files Browse the repository at this point in the history
  • Loading branch information
sduchesneau committed Jan 17, 2025
1 parent ee1062a commit b590830
Show file tree
Hide file tree
Showing 14 changed files with 6 additions and 35 deletions.
4 changes: 1 addition & 3 deletions evm-events-calls/templates/Cargo.toml.gotmpl
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,7 @@ num-traits = "0.2.15"
prost = "0.13.3"
prost-types = "0.13.3"
substreams = "0.6.0"
substreams-ethereum = "0.10.0"
substreams-database-change = "2.0"
substreams-entity-change = "2.0"
substreams-ethereum = "0.10.2"

# Required so that ethabi > ethereum-types build correctly under wasm32-unknown-unknown
[target.wasm32-unknown-unknown.dependencies]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,7 @@ num-traits = "0.2.15"
prost = "0.13.3"
prost-types = "0.13.3"
substreams = "0.6.0"
substreams-ethereum = "0.10.0"
substreams-database-change = "2.0"
substreams-entity-change = "2.0"
substreams-ethereum = "0.10.2"

# Required so that ethabi > ethereum-types build correctly under wasm32-unknown-unknown
[target.wasm32-unknown-unknown.dependencies]
Expand Down
4 changes: 1 addition & 3 deletions evm-events-calls/testoutput/complex_abi/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,7 @@ num-traits = "0.2.15"
prost = "0.13.3"
prost-types = "0.13.3"
substreams = "0.6.0"
substreams-ethereum = "0.10.0"
substreams-database-change = "2.0"
substreams-entity-change = "2.0"
substreams-ethereum = "0.10.2"

# Required so that ethabi > ethereum-types build correctly under wasm32-unknown-unknown
[target.wasm32-unknown-unknown.dependencies]
Expand Down
2 changes: 0 additions & 2 deletions evm-events-calls/testoutput/complex_abi/substreams.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ package:

imports:
graph: https://github.com/streamingfast/substreams-sink-subgraph/releases/download/v0.1.0/substreams-sink-subgraph-protodefs-v0.1.0.spkg
entity: https://github.com/streamingfast/substreams-entity-change/releases/download/v1.1.0/substreams-entity-change-v1.1.0.spkg

protobuf:
files:
Expand All @@ -19,7 +18,6 @@ binaries:
file: ./target/wasm32-unknown-unknown/release/substreams.wasm

modules:

- name: store_test_created
kind: store
initialBlock: 213919
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,7 @@ num-traits = "0.2.15"
prost = "0.13.3"
prost-types = "0.13.3"
substreams = "0.6.0"
substreams-ethereum = "0.10.0"
substreams-database-change = "2.0"
substreams-entity-change = "2.0"
substreams-ethereum = "0.10.2"

# Required so that ethabi > ethereum-types build correctly under wasm32-unknown-unknown
[target.wasm32-unknown-unknown.dependencies]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ package:

imports:
graph: https://github.com/streamingfast/substreams-sink-subgraph/releases/download/v0.1.0/substreams-sink-subgraph-protodefs-v0.1.0.spkg
entity: https://github.com/streamingfast/substreams-entity-change/releases/download/v1.1.0/substreams-entity-change-v1.1.0.spkg

protobuf:
files:
Expand All @@ -19,7 +18,6 @@ binaries:
file: ./target/wasm32-unknown-unknown/release/substreams.wasm

modules:

- name: store_pool_created
kind: store
initialBlock: 32
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,7 @@ num-traits = "0.2.15"
prost = "0.13.3"
prost-types = "0.13.3"
substreams = "0.6.0"
substreams-ethereum = "0.10.0"
substreams-database-change = "2.0"
substreams-entity-change = "2.0"
substreams-ethereum = "0.10.2"

# Required so that ethabi > ethereum-types build correctly under wasm32-unknown-unknown
[target.wasm32-unknown-unknown.dependencies]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ package:

imports:
graph: https://github.com/streamingfast/substreams-sink-subgraph/releases/download/v0.1.0/substreams-sink-subgraph-protodefs-v0.1.0.spkg
entity: https://github.com/streamingfast/substreams-entity-change/releases/download/v1.1.0/substreams-entity-change-v1.1.0.spkg

protobuf:
files:
Expand All @@ -19,8 +18,6 @@ binaries:
file: ./target/wasm32-unknown-unknown/release/substreams.wasm

modules:


- name: map_events
kind: map
initialBlock: 12369621
Expand Down
4 changes: 1 addition & 3 deletions evm-minimal/templates/Cargo.toml.gotmpl
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,7 @@ num-traits = "0.2.15"
prost = "0.13.3"
prost-types = "0.13.3"
substreams = "0.6.0"
substreams-ethereum = "0.10.0"
substreams-database-change = "1"
substreams-entity-change = "1"
substreams-ethereum = "0.10.2"

# Required so that ethabi > ethereum-types build correctly under wasm32-unknown-unknown
[target.wasm32-unknown-unknown.dependencies]
Expand Down
2 changes: 0 additions & 2 deletions injective-minimal/templates/Cargo.toml.gotmpl
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@ prost = "0.13.3"
prost-types = "0.13.3"
substreams = "0.6.0"
cosmrs = { version = "0.16.0", features = ["cosmwasm"] }
substreams-database-change = "2.0"
substreams-entity-change = "2.0"

# Required so that ethabi > ethereum-types build correctly under wasm32-unknown-unknown
[target.wasm32-unknown-unknown.dependencies]
Expand Down
2 changes: 0 additions & 2 deletions mantra-minimal/templates/Cargo.toml.gotmpl
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@ prost = "0.13.3"
prost-types = "0.13.3"
substreams = "0.6.0"
cosmrs = { version = "0.16.0", features = ["cosmwasm"] }
substreams-database-change = "2.0"
substreams-entity-change = "2.0"

# Required so that ethabi > ethereum-types build correctly under wasm32-unknown-unknown
[target.wasm32-unknown-unknown.dependencies]
Expand Down
2 changes: 0 additions & 2 deletions sol-anchor/templates/Cargo.lock.gotmpl

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 0 additions & 2 deletions sol-anchor/templates/Cargo.toml.gotmpl
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@ prost-types = "0.13"
substreams = "0.6"
substreams-solana = "0.14"
substreams-solana-program-instructions = "0.2"
substreams-database-change = "2"
substreams-entity-change = "2"
anchor-lang = ">=0.30.1"
sologger_log_context = "0.1.2"
base64 = "0.22.1"
Expand Down
2 changes: 0 additions & 2 deletions sol-minimal/templates/Cargo.toml.gotmpl
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@ prost-types = "0.13.3"
substreams = "0.6.0"
substreams-solana = "0.14.1"
substreams-solana-program-instructions = "0.2.0"
substreams-database-change = "2.0"
substreams-entity-change = "2.0"

# Required so that ethabi > ethereum-types build correctly under wasm32-unknown-unknown
[target.wasm32-unknown-unknown.dependencies]
Expand Down

0 comments on commit b590830

Please sign in to comment.