Update ethereum-template

Remove unecessary pb module, import models from tycho-substreams instead.

Integrate package directly into workspace.
This commit is contained in:
kayibal
2024-03-14 12:53:12 +00:00
parent 3b51123311
commit 2e77405342
7 changed files with 23 additions and 1349 deletions

View File

@@ -1,13 +1,9 @@
use substreams_ethereum::pb::eth;
use pb::tycho::evm::v1::{self as tycho};
mod pb;
mod modules;
#[substreams::handlers::map]
fn map_changes(
block: eth::v2::Block,
) -> Result<tycho::BlockContractChanges, substreams::errors::Error> {
todo!("Not implemented")
}
}