chore: clean up ambient (#136)
* fix: remove unnecessary tx field in ProtocolComponent * chore: move ambient protobuf files to ambient module * chore: remove dependency on common message types This allows us to isolate the ambient specific messages within the ambient module * feat: update ambient substream with new message structs * chore: update substream configs And remove use of deprecated BlockContractChanges. * feat: implement From for AmbientProtocolComponent to ProtocolComponent
This commit is contained in:
@@ -1,21 +1,20 @@
|
||||
specVersion: v0.1.0
|
||||
package:
|
||||
name: "substreams_ethereum_ambient"
|
||||
version: v0.5.1
|
||||
version: v0.6.0
|
||||
|
||||
protobuf:
|
||||
files:
|
||||
- tycho/evm/v1/common.proto
|
||||
- tycho/evm/v1/vm.proto
|
||||
- ambient.proto
|
||||
importPaths:
|
||||
- ./proto/v1
|
||||
- ../../proto/
|
||||
- ./proto
|
||||
- ../../proto
|
||||
|
||||
binaries:
|
||||
default:
|
||||
type: wasm/rust-v1
|
||||
file: ../../target/wasm32-unknown-unknown/substreams/substreams_ethereum_ambient.wasm
|
||||
file: ../target/wasm32-unknown-unknown/release/substreams_ethereum_ambient.wasm
|
||||
|
||||
modules:
|
||||
- name: map_pool_changes
|
||||
@@ -24,7 +23,7 @@ modules:
|
||||
inputs:
|
||||
- source: sf.ethereum.type.v2.Block
|
||||
output:
|
||||
type: proto:tycho.evm.v1.BlockPoolChanges
|
||||
type: proto:tycho.ambient.v1.BlockPoolChanges
|
||||
- name: store_pools
|
||||
kind: store
|
||||
initialBlock: 17361664
|
||||
@@ -49,4 +48,4 @@ modules:
|
||||
mode: deltas
|
||||
- store: store_pools
|
||||
output:
|
||||
type: proto:tycho.evm.v1.BlockContractChanges
|
||||
type: proto:tycho.evm.v1.BlockChanges
|
||||
|
||||
Reference in New Issue
Block a user