Skip to content

Commit c233f37

Browse files
bogdan-rosianudragos-rebegeacfaur09gabrielmateistefangutica
authored
Merge main dev sep23 (#1540)
* update andromeda config template enable epoch (#1502) * 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> * merge main to development - fixes after merge * fix lint --------- Co-authored-by: Rebegea Dragos-Alexandru <42241923+dragos-rebegea@users.noreply.github.com> Co-authored-by: cfaur09 <catalinfaurpaul@gmail.com> Co-authored-by: Gabriel Matei <gabrielvmatei@gmail.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 0e1b93d commit c233f37

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

config/config.mainnet.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,8 @@ features:
6363
cronExpression: '*/5 * * * * *'
6464
activationEpoch: 1391
6565
chainAndromeda:
66-
enabled: false
67-
activationEpoch: 4
66+
enabled: true
67+
activationEpoch: 1763
6868
nodeEpochsLeft:
6969
enabled: false
7070
transactionProcessor:

src/endpoints/blocks/block.service.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ export class BlockService {
6464
const nodeIdentities = await ConcurrencyUtils.executeWithConcurrencyLimit(
6565
relevantNodes,
6666
async (node) => {
67+
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
6768
const identity = await this.identitiesService.getIdentity(node.identity!);
6869
return { node, identity };
6970
},

src/endpoints/transactions/transaction.service.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -477,7 +477,7 @@ export class TransactionService {
477477
if (!resultsByHash.has(txHash)) {
478478
resultsByHash.set(txHash, []);
479479
}
480-
resultsByHash.get(txHash)!.push(result);
480+
resultsByHash.get(txHash)?.push(result);
481481
}
482482

483483
const results: Array<SmartContractResult[] | undefined> = [];

0 commit comments

Comments
 (0)