From a11848caf4417bd66a1a8d176aa3f05a8e6f7c5f Mon Sep 17 00:00:00 2001 From: Liviu Ancas <83750585+liviuf-ancas@users.noreply.github.com> Date: Wed, 23 Oct 2024 14:31:38 +0300 Subject: [PATCH 1/2] Update Dockerfile --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 From 86138b42fec70cdc17bd0dd86c5ec16e3729e7e3 Mon Sep 17 00:00:00 2001 From: miiu Date: Fri, 22 Nov 2024 14:59:54 +0200 Subject: [PATCH 2/2] exclude dynamic meta esdt --- data/tokens.go | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) 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 }