Add isFEVM flag in config to avoid filtering event logs by topics (#454)

* Pass upstream config to indexer instance

* Add isFEVM flag and refactor watcher config fields

* Codegen changes for indexer

* Add missing getter in dummy indexer for graph-node tests
This commit is contained in:
2023-11-07 12:07:49 +05:30
committed by GitHub
parent dd92b4feb2
commit 8547876764
22 changed files with 157 additions and 64 deletions
+6 -1
View File
@@ -17,7 +17,8 @@ import {
getResultEvent,
ResultEvent,
StateKind,
EthClient
EthClient,
UpstreamConfig
} from '@cerc-io/util';
import { GetStorageAt, getStorageValue, MappingKey, StorageLayout } from '@cerc-io/solidity-mapper';
@@ -37,6 +38,10 @@ export class Indexer implements IndexerInterface {
return {} as ServerConfig;
}
get upstreamConfig () {
return {} as UpstreamConfig;
}
get storageLayoutMap (): Map<string, StorageLayout> {
return this._storageLayoutMap;
}