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:
@@ -9,7 +9,7 @@ Modules Description
|
||||
* **Type**: Map
|
||||
* **Purpose**: This module detects new pools within the Ethereum blockchain and balance changes.
|
||||
* **Inputs**: Ethereum block data (`sf.ethereum.type.v2.Block`).
|
||||
* **Output**: Emits data of type `proto:tycho.evm.state.v1.BlockPoolChanges`.
|
||||
* **Output**: Emits data of type `proto:tycho.ambient.v1.BlockPoolChanges`.
|
||||
|
||||
### `store_pools_balances`
|
||||
|
||||
@@ -26,10 +26,10 @@ Modules Description
|
||||
### `map_changes`
|
||||
|
||||
* **Type**: Map
|
||||
* **Purpose**: This module integrates all the processed information to generate comprehensive `BlockContractChanges`. It considers new pools, balance changes and contract changes.
|
||||
* **Purpose**: This module integrates all the processed information to generate comprehensive `BlockChanges`. It considers new pools, balance changes and contract changes.
|
||||
* **Inputs**:
|
||||
* Ethereum block data (`sf.ethereum.type.v2.Block`).
|
||||
* Data from `map_pool_changes`.
|
||||
* Data from `store_pools_balances`.
|
||||
* Data from `store_pools`.
|
||||
* **Output**: Emits `proto:tycho.evm.state.v1.BlockContractChanges`.
|
||||
* **Output**: Emits `proto:tycho.evm.state.v1.BlockChanges`.
|
||||
|
||||
Reference in New Issue
Block a user