Skip to content

Commit

Permalink
fix: temp patch to load a single registry
Browse files Browse the repository at this point in the history
* We seem to have an issue loading a slice from env
  • Loading branch information
kamikazechaser committed Nov 12, 2024
1 parent 513912f commit dca3b4d
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
1 change: 0 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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 = [""]

Expand Down
1 change: 1 addition & 0 deletions internal/cache/cache.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit dca3b4d

Please sign in to comment.