diff --git a/Makefile b/Makefile index 52a22b896..b39b31d1d 100644 --- a/Makefile +++ b/Makefile @@ -272,7 +272,7 @@ $(DEPLOY)-%-userpref-upload : DOCKER_FILE := $(DOCKER_DIR)/userpre $(PROMOTE)-%-backend : SERVICE := default $(PROMOTE)-%-indexer : SERVICE := indexer $(PROMOTE)-%-indexer-server : SERVICE := indexer-api -$(PROMOTE)-%-emails : SERVICE := emails +$(PROMOTE)-%-emails : SERVICE := emails-v2 $(PROMOTE)-%-tokenprocessing : SERVICE := tokenprocessing $(PROMOTE)-%-tokenprocessing : SERVICE := tokenprocessing-v3 $(PROMOTE)-%-autosocial : SERVICE := autosocial diff --git a/service/multichain/zora/zora.go b/service/multichain/zora/zora.go index 2e555df81..91d1e2d05 100644 --- a/service/multichain/zora/zora.go +++ b/service/multichain/zora/zora.go @@ -29,9 +29,18 @@ type Provider struct { type tokenID string func (t tokenID) toBase16String() string { - big, ok := new(big.Int).SetString(string(t), 10) + copy := string(t) + if strings.Contains("-", copy) { + // take what is after the dash + parts := strings.Split(copy, "-") + if len(parts) != 2 { + panic(fmt.Sprintf("invalid token id %s", t)) + } + copy = parts[1] + } + big, ok := new(big.Int).SetString(copy, 10) if !ok { - panic("invalid token ID") + panic(fmt.Sprintf("invalid token id %s", t)) } return big.Text(16) }