Skip to content

Commit 6bf7dc5

Browse files
dragos-rebegeacfaur09gabrielmateibogdan-rosianustefangutica
authored
Merge development into main (#1511)
* Enhance MexTokenService to calculate and store token volumes for base and quote tokens in getAllMexTokensRaw method * extend aws s3 config * update configs * update s3 configs * fix transfers count with relayed txs (#1496) * add support for new NFT events * add maximum process retries * add unit tests * ferch token price from highest liquidity pool * emit also deleteCacheKeys * undo process reries * fix tests * Proposer fix (#1498) * proposer fix * proposer fix * proposer fix * fix getBlock * fixes after review Co-authored-by: bogdan-rosianu <bogdan.rosianu@yahoo.com> * add execution order sorting using miniBlocksDetails from Elasticsearch (#1504) * add execution order sorting using miniBlocksDetails from Elasticsearch * fixes after review * fixes after review * fix userUndelegatedList field (#1507) * fix userUndelegatedList field * use ?? instead of [] to handle undefined case * collections count subType required false fix (#1509) * tokens supply format from plugin (#1505) * fix collection set fields (#1510) * fix collection set fields * fixes after review * add configurable response compression with gzip deflate support + update package json (#1512) * add configurable response compresion * set true compression for testnet env * refactor processNFtCollections method * update package * update version of node * update unit test yaml * getNfts parallel execution * compression flag false by default * improve getSingleNFt * getNftsCollection increase performance * undo last commit * Integrate last sdk nestjs (#1516) * update to latest sdk version * fixes for latest sdk version * add package-lock * fix unit tests * Packages security issues 2 (#1517) * fix packages * add package-lock * add missing packages * remove unneeded package * fix mongo connection * Api 672 add timestampMs field into transaction response (#1518) * Add timestampMs field to Transaction interface and class * update specs * update accounts spec * Add normalizeTimestampMs method for timestamp conversion (#1519) * Enhance account filtering by adding 'withBalance' query option to account endpoints and update ElasticIndexerHelper to support balance filtering. This allows users to filter accounts based on their balance status. (#1521) * add events filtered by order (#1523) * Refactor content type validation in NftMediaService to handle media types correctly by stripping parameters from the content type string. (#1527) * use events index instead of logs (#1514) * use events index instead of logs * configurable migrated indices * added protection for empty fields * fix log address * add transaction get unit tests (#1525) --------- Co-authored-by: cfaur09 <catalinfaurpaul@gmail.com> Co-authored-by: Catalin Faur <52102171+cfaur09@users.noreply.github.com> * fix ESDTTransfer duplicated events (#1526) * use events index instead of logs * configurable migrated indices * added protection for empty fields * fix log address * add transaction get unit tests (#1525) * fix duplicated events --------- Co-authored-by: bogdan-rosianu <bogdan.rosianu@yahoo.com> * update MetaESDT tokens (#1520) * update MetaESDT tokens * update imports * nft collections es improvements (#1530) * ES collections improvements * getNfts improvements * improve bulkProcessTransactions * fixes * fixes * fixes * refactor getSmartContractResultsRaw() * improve nftCollection processing * eslint fix --------- Co-authored-by: cfaur09 <catalinfaurpaul@gmail.com> Co-authored-by: Gabriel Matei <gabrielvmatei@gmail.com> Co-authored-by: bogdan-rosianu <51945539+bogdan-rosianu@users.noreply.github.com> Co-authored-by: bogdan-rosianu <bogdan.rosianu@yahoo.com> Co-authored-by: Catalin Faur <52102171+cfaur09@users.noreply.github.com> Co-authored-by: Gutica Stefan <123564494+GuticaStefan@users.noreply.github.com>
1 parent 51c26df commit 6bf7dc5

File tree

64 files changed

+6502
-3678
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

64 files changed

+6502
-3678
lines changed

.github/workflows/lint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515

1616
strategy:
1717
matrix:
18-
node-version: [16.x]
18+
node-version: [18.x]
1919
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
2020

2121
steps:

.github/workflows/unit.tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515

1616
strategy:
1717
matrix:
18-
node-version: [16.x]
18+
node-version: [18.x]
1919
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
2020

2121
steps:

config/config.devnet-old.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ aws:
7070
s3Secret: ''
7171
s3Bucket: 'devnet-old-media.elrond.com'
7272
s3Region: ''
73+
s3Endpoint: ''
7374
urls:
7475
self: 'https://devnet-old-api.multiversx.com'
7576
elastic:

config/config.devnet.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,8 @@ features:
8484
durationThresholdMs: 5000
8585
failureCountThreshold: 5
8686
resetTimeoutMs: 30000
87+
elasticMigratedIndices:
88+
logs: 'events'
8789
statusChecker:
8890
enabled: false
8991
thresholds:
@@ -122,6 +124,7 @@ aws:
122124
s3Secret: ''
123125
s3Bucket: 'devnet-media.elrond.com'
124126
s3Region: ''
127+
s3Endpoint: ''
125128
urls:
126129
self: 'https://devnet-api.multiversx.com'
127130
elastic:
@@ -176,3 +179,8 @@ inflation:
176179
nftProcess:
177180
parallelism: 1
178181
maxRetries: 3
182+
compression:
183+
enabled: true
184+
level: 6
185+
threshold: 1024
186+
chunkSize: 16384

config/config.e2e.mainnet.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,8 @@ features:
8585
durationThresholdMs: 5000
8686
failureCountThreshold: 5
8787
resetTimeoutMs: 30000
88+
elasticMigratedIndices:
89+
logs: 'events'
8890
statusChecker:
8991
enabled: false
9092
thresholds:
@@ -126,6 +128,7 @@ aws:
126128
s3Secret: ''
127129
s3Bucket: 'media.elrond.com'
128130
s3Region: ''
131+
s3Endpoint: ''
129132
urls:
130133
self: 'http://localhost:3001'
131134
elastic:

config/config.mainnet.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,8 @@ features:
8585
durationThresholdMs: 5000
8686
failureCountThreshold: 5
8787
resetTimeoutMs: 30000
88+
elasticMigratedIndices:
89+
logs: 'events'
8890
statusChecker:
8991
enabled: false
9092
thresholds:
@@ -126,6 +128,7 @@ aws:
126128
s3Secret: ''
127129
s3Bucket: 'media.elrond.com'
128130
s3Region: ''
131+
s3Endpoint: ''
129132
urls:
130133
self: 'https://api.multiversx.com'
131134
elastic:
@@ -180,3 +183,8 @@ inflation:
180183
nftProcess:
181184
parallelism: 1
182185
maxRetries: 3
186+
compression:
187+
enabled: true
188+
level: 6
189+
threshold: 1024
190+
chunkSize: 16384

config/config.testnet.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,8 @@ features:
8484
durationThresholdMs: 5000
8585
failureCountThreshold: 5
8686
resetTimeoutMs: 30000
87+
elasticMigratedIndices:
88+
logs: 'events'
8789
statusChecker:
8890
enabled: false
8991
thresholds:
@@ -125,6 +127,7 @@ aws:
125127
s3Secret: ''
126128
s3Bucket: 'testnet-media.elrond.com'
127129
s3Region: ''
130+
s3Endpoint: ''
128131
urls:
129132
self: 'https://testnet-api.multiversx.com'
130133
elastic:
@@ -179,3 +182,8 @@ inflation:
179182
nftProcess:
180183
parallelism: 1
181184
maxRetries: 3
185+
compression:
186+
enabled: true
187+
level: 6
188+
threshold: 1024
189+
chunkSize: 16384

0 commit comments

Comments
 (0)