diff --git a/Dockerfile b/Dockerfile index 33ba0102..a3eb7170 100644 --- a/Dockerfile +++ b/Dockerfile @@ -16,7 +16,7 @@ RUN apt-get update && apt-get install -y RUN useradd -m -u 1000 appuser USER appuser -COPY --from=builder /multiversx/cmd/elasticindexer /multiversx +COPY --from=builder --chown=appuser /multiversx/cmd/elasticindexer /multiversx EXPOSE 22111 diff --git a/data/tokens.go b/data/tokens.go index e878facf..967e13ee 100644 --- a/data/tokens.go +++ b/data/tokens.go @@ -6,7 +6,10 @@ import ( "github.com/multiversx/mx-chain-core-go/core" ) -const metaESDT = "MetaESDT" +const ( + metaESDT = "MetaESDT" + dynamicMetaESDT = "DynamicMetaESDT" +) // NFTDataUpdate will contain the update information for an NFT or SFT type NFTDataUpdate struct { @@ -129,7 +132,7 @@ func (ti *tokensInfo) GetAll() []*TokenInfo { func (ti *tokensInfo) GetAllWithoutMetaESDT() []*TokenInfo { tokens := make([]*TokenInfo, 0) for _, tokenData := range ti.tokensInfo { - if tokenData.Type == metaESDT { + if tokenData.Type == metaESDT || tokenData.Type == dynamicMetaESDT { continue }