mirror of
https://github.com/grassrootseconomics/eth-tracker.git
synced 2026-04-24 17:47:15 +02:00
feat: cache contracts created by other cached accounts for instant indexing
This commit is contained in:
@@ -11,7 +11,7 @@ func bootstrapEventRouter(cacheProvider cache.Cache, pubCB router.Callback) *rou
|
||||
handlerContainer := handler.New(cacheProvider)
|
||||
router := router.New(pubCB)
|
||||
|
||||
router.RegisterContractCreationHandler(handler.HandleContractCreation())
|
||||
router.RegisterContractCreationHandler(handler.HandleContractCreation(handlerContainer))
|
||||
|
||||
router.RegisterLogRoute(w3.H("0x26162814817e23ec5035d6a2edc6c422da2da2119e27cfca6be65cc2dc55ca4c"), handler.HandleFaucetGiveLog())
|
||||
router.RegisterLogRoute(w3.H("0xa226db3f664042183ee0281230bba26cbf7b5057e50aee7f25a175ff45ce4d7f"), handler.HandleIndexAddLog(handlerContainer))
|
||||
|
||||
Reference in New Issue
Block a user