mirror of
https://github.com/grassrootseconomics/eth-tracker.git
synced 2025-02-22 07:58:24 +01:00
fix: temp patch to load a single registry
* We seem to have an issue loading a slice from env
This commit is contained in:
parent
90cc1563ec
commit
f912f6835a
1
Makefile
1
Makefile
@ -14,7 +14,6 @@ clean-db:
|
||||
rm ${DB_FILE}
|
||||
|
||||
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
|
||||
|
||||
run-bootstrap:
|
||||
|
@ -27,7 +27,7 @@ start_block = 0
|
||||
|
||||
[bootstrap]
|
||||
# This will bootstrap the cache on which addresses to track
|
||||
ge_registries = ["0xE979a64D375F5D363d7cecF3c93B9aFD40Ba9f55"]
|
||||
ge_registry = "0x0f8E97ef2d6A42CF62549D4924FCBdcE83A1C6A5"
|
||||
watchlist = [""]
|
||||
blacklist = [""]
|
||||
|
||||
|
1
internal/cache/cache.go
vendored
1
internal/cache/cache.go
vendored
@ -27,6 +27,7 @@ type (
|
||||
)
|
||||
|
||||
func New(o CacheOpts) (Cache, error) {
|
||||
o.Logg.Info("initializing cache", "registries", o.Registries, "watchlist", o.Watchlist, "blacklist", o.Blacklist)
|
||||
var cache Cache
|
||||
|
||||
switch o.CacheType {
|
||||
|
Loading…
Reference in New Issue
Block a user