fix: temp patch to load a single registry

* We seem to have an issue loading a slice from env
This commit is contained in:
Mohamed Sohail 2024-11-12 10:36:29 +03:00
parent 90cc1563ec
commit f912f6835a
Signed by: kamikazechaser
GPG Key ID: 7DD45520C01CD85D
3 changed files with 2 additions and 2 deletions

View File

@ -14,7 +14,6 @@ clean-db:
rm ${DB_FILE} rm ${DB_FILE}
build: build:
${BUILD_CONF} go build -ldflags="-X main.build=${BUILD_COMMIT} -s -w" -o ${BOOTSTRAP_BIN} cmd/bootstrap/main.go
${BUILD_CONF} go build -ldflags="-X main.build=${BUILD_COMMIT} -s -w" -o ${BIN} cmd/service/*.go ${BUILD_CONF} go build -ldflags="-X main.build=${BUILD_COMMIT} -s -w" -o ${BIN} cmd/service/*.go
run-bootstrap: run-bootstrap:

View File

@ -27,7 +27,7 @@ start_block = 0
[bootstrap] [bootstrap]
# This will bootstrap the cache on which addresses to track # This will bootstrap the cache on which addresses to track
ge_registries = ["0xE979a64D375F5D363d7cecF3c93B9aFD40Ba9f55"] ge_registry = "0x0f8E97ef2d6A42CF62549D4924FCBdcE83A1C6A5"
watchlist = [""] watchlist = [""]
blacklist = [""] blacklist = [""]

View File

@ -27,6 +27,7 @@ type (
) )
func New(o CacheOpts) (Cache, error) { func New(o CacheOpts) (Cache, error) {
o.Logg.Info("initializing cache", "registries", o.Registries, "watchlist", o.Watchlist, "blacklist", o.Blacklist)
var cache Cache var cache Cache
switch o.CacheType { switch o.CacheType {