Skip to content

implement event logAddress filter#1548

Merged
bogdan-rosianu merged 2 commits intodevelopmentfrom
API-726-implement-events-log-address-filter
Oct 23, 2025
Merged

implement event logAddress filter#1548
bogdan-rosianu merged 2 commits intodevelopmentfrom
API-726-implement-events-log-address-filter

Conversation

@cfaur09
Copy link
Copy Markdown
Contributor

@cfaur09 cfaur09 commented Oct 22, 2025

Proposed Changes

  • implement event logAddress filter

How to test

  • <api>/events?logAddress=erd1....

andreibancioiu
andreibancioiu previously approved these changes Oct 22, 2025
@github-actions
Copy link
Copy Markdown

github-actions Bot commented Oct 22, 2025

k6 load testing comparison.
Base Commit Hash: 8e28b11
Target Commit Hash: 29165bf

Metric Base Target Diff
AvgMax9095AvgMax9095AvgMax9095
Mex60.45307.6265.1668.2758.11358.7361.7365.68-3.86% ✅+16.62% 🔴-5.28% ✅-3.79% ✅
Accounts61.71964.9165.3868.2759.07744.3761.7666.08-4.29% ✅-22.86% ✅-5.53% ✅-3.21% ✅
Transactions77.231475.0265.9371.1073.901402.6263.0471.37-4.32% ✅-4.91% ✅-4.38% ✅+0.38% 🔴
Tokens60.77541.6365.2268.2858.90863.0061.6865.61-3.09% ✅+59.33% 🔴-5.44% ✅-3.91% ✅
Blocks67.52638.7566.3174.2164.93704.5663.0172.39-3.84% ✅+10.30% 🔴-4.97% ✅-2.45% ✅
Pool60.84906.1865.1868.3158.46582.8661.7165.73-3.91% ✅-35.68% ✅-5.31% ✅-3.78% ✅
Nodes61.29845.8565.2768.4259.13846.4961.7565.74-3.54% ✅+0.08% 🔴-5.39% ✅-3.91% ✅
Test Run Duration60002.0860001.91

Legend: Avg - Average Response Time, Max - Maximum Response Time, 90 - 90th Percentile, 95 - 95th Percentile
All times are in milliseconds.

bogdan-rosianu
bogdan-rosianu previously approved these changes Oct 22, 2025
@cfaur09 cfaur09 dismissed stale reviews from bogdan-rosianu and andreibancioiu via 29165bf October 22, 2025 13:04
@bogdan-rosianu bogdan-rosianu merged commit a9f35be into development Oct 23, 2025
6 checks passed
@bogdan-rosianu bogdan-rosianu deleted the API-726-implement-events-log-address-filter branch October 23, 2025 07:52
cfaur09 added a commit that referenced this pull request Nov 19, 2025
* Enhance error handling in GatewayProxyController for block retrieval by hash (#1545)

* use EsdtType instead of hardcoded values (#1544)

* token service improvements (#1543)

* processes 50 tokens concurrently using ConcurrencyUtils

* run all three batch operations in parallel with increased concurrency

* add more logs

* apply mex prices

* add logs ( to be removed )

* increse cron time expression

* set cron to 2 minutes

* Websocket subscriptions (#1528)

* add websockets for blocks and txs

* add support for subscribe to stats

* use websockets rooms

* remove logs

* add lock on crons

* check stats room exists

Signed-off-by: GuticaStefan <stefan.gutica@gmail.com>

* fix indent spaces

* add validation pipes + filters

* add try catch + class validator fixes

* fix linter

* add pool subscription + reduce filters combinations for subscriptions

* lint

* add support for events subscription

* lint

* separate subscription websocket into separate app

* add config

* add path

* fix

* add path for events + config default settings

* temp logs

* temp logs 2

* added missing configs + remove temp logs

* enable andromeda in config

* add metrics on subscription

* remove async + reschedule

* refresh metrics every second

* set max listeners to 12

* add EOL

* add count on update + parallel broadcast to rooms

* lower ttl for blocks count cache

* remove comments

* remove comments

* renaming

---------

Signed-off-by: GuticaStefan <stefan.gutica@gmail.com>
Co-authored-by: bogdan-rosianu <bogdan.rosianu@yahoo.com>
Co-authored-by: cfaur09 <catalinfaurpaul@gmail.com>

* log instead of error for invalid legacy delegation contract (#1542)

* implement event logAddress filter (#1548)

* implement event logAddress filter

* implement topics filter

* Token market cap updates (#1550)

* token mcap update

* add logs

* extend logs

* add support for timestampMs for account

* fix unit tests

* improve token fetch price (#1549)

* improve token fetch price

* remove logger

* update spec

* fix lint error

* add logs for error

* add price

* Enhance NFT type support in cache warmer and collection services (#1552)

* Refactor function filter application in ElasticIndexerHelper to enhance query conditions with AND operator and existence checks (#1554)

* apply supply info for all tokens (#1558)

* Refactor token market cap calculation to ensure price and circulating supply are checked before computation

* add specs

* fix lint

* added reserved field to blocks (#1560)

* add support for custom url custom headers (#1557)

* Add custom URL headers support and enhance token data fetching

* Enhance custom URL headers handling by adding JSON parsing and validation checks

* add logs

* fixes

* remove app.hatom.com value

* add EOL

* fix indentation

---------

Signed-off-by: GuticaStefan <stefan.gutica@gmail.com>
Co-authored-by: Catalin Faur <52102171+cfaur09@users.noreply.github.com>
Co-authored-by: Gutica Stefan <123564494+stefangutica@users.noreply.github.com>
Co-authored-by: cfaur09 <catalinfaurpaul@gmail.com>
Co-authored-by: GuticaStefan <stefan.gutica@gmail.com>
bogdan-rosianu added a commit that referenced this pull request Jan 13, 2026
* extend features flags config values

* fixes after review + test fix

* set more default configs to false

* fixes after merge

* Enhance error handling in GatewayProxyController for block retrieval by hash (#1545)

* use EsdtType instead of hardcoded values (#1544)

* token service improvements (#1543)

* processes 50 tokens concurrently using ConcurrencyUtils

* run all three batch operations in parallel with increased concurrency

* add more logs

* apply mex prices

* add logs ( to be removed )

* increse cron time expression

* set cron to 2 minutes

* Websocket subscriptions (#1528)

* add websockets for blocks and txs

* add support for subscribe to stats

* use websockets rooms

* remove logs

* add lock on crons

* check stats room exists

Signed-off-by: GuticaStefan <stefan.gutica@gmail.com>

* fix indent spaces

* add validation pipes + filters

* add try catch + class validator fixes

* fix linter

* add pool subscription + reduce filters combinations for subscriptions

* lint

* add support for events subscription

* lint

* separate subscription websocket into separate app

* add config

* add path

* fix

* add path for events + config default settings

* temp logs

* temp logs 2

* added missing configs + remove temp logs

* enable andromeda in config

* add metrics on subscription

* remove async + reschedule

* refresh metrics every second

* set max listeners to 12

* add EOL

* add count on update + parallel broadcast to rooms

* lower ttl for blocks count cache

* remove comments

* remove comments

* renaming

---------

Signed-off-by: GuticaStefan <stefan.gutica@gmail.com>
Co-authored-by: bogdan-rosianu <bogdan.rosianu@yahoo.com>
Co-authored-by: cfaur09 <catalinfaurpaul@gmail.com>

* log instead of error for invalid legacy delegation contract (#1542)

* implement event logAddress filter (#1548)

* implement event logAddress filter

* implement topics filter

* Token market cap updates (#1550)

* token mcap update

* add logs

* extend logs

* add support for timestampMs for account

* fix unit tests

* improve token fetch price (#1549)

* improve token fetch price

* remove logger

* update spec

* fix lint error

* add logs for error

* add price

* Enhance NFT type support in cache warmer and collection services (#1552)

* Refactor function filter application in ElasticIndexerHelper to enhance query conditions with AND operator and existence checks (#1554)

* apply supply info for all tokens (#1558)

* Refactor token market cap calculation to ensure price and circulating supply are checked before computation

* add specs

* fix lint

* added reserved field to blocks (#1560)

* add support for custom url custom headers (#1557)

* Add custom URL headers support and enhance token data fetching

* Enhance custom URL headers handling by adding JSON parsing and validation checks

* add logs

* fixes

* remove app.hatom.com value

* add EOL

* fix indentation

* API-741: staking v5 support

* bugfix

* fix lint

* refactor

* fixes

* try-catch for queue computing

* hotfix disable snapshotless

* revert

* add staking v5 activation epoch feature

* added devnet config

* small fix

* added mainnet config

* add stakingv5 e2e configs

* Deprecate relayed v1/v2 (#1564)

* Add transaction reordering by nonce for account sent transactions

* add relayed deprecation to transfers as well

* add custom subscriptions

* fix lint

* fix lint & unit tests

* hardcode class fields

* lint

* refactor

* add tests for room key generator

* iterate over round only if there are active subscriptions

* improvements

* add support for unsubscribe

* lint

* add support for events

* add support for timestampMs in ES

* lint

* hardcode timestamp supernova in the future

* extra checks + clean code

* fixes

* fixes

* typo

* use latest chainsim

* fix

* add unit tests for transaction reordering by nonce for account sent transactions (#1572)

* add chain simulator e2e tests

* lint

* fix

* missing comma

* fix

* Refactor account, NFT, and transaction services to improve concurrency and caching

* improve NFT bulk fetch + applyOwner

* add no empty payload validator for custom subscriptions

* add global subscription limiter

* remove log

* add e2e tests for events

* lint

* added metric per topics

* updates

* implement ConcurrencyUtils in collection service

* add tests for general subscriptions

* add newline

* use timestampMs

* revert e2e mainnet config

* custom verbose

* use timestampMs on chain sim network

* add subscription limits to config

* fix

* update configs

* use barnard config

* typo

* added readme

* typo

* add lock on subscriptions

* use same key for lock

* fix

* add async mutex

* lint

* return success status on stats

* return unsubscribed status on stats

* config update

* collection service improvments

* fix spec

* fixes

* fixes

* add support for transfers subscription

* add support for token transfers subscriptions

* add ws transfers e2e tests

* fix unit tests

* fix transction filters cache

* remove duplicate code

* add new line

* encapsulate into variable

* renaming

* refactoring + skip unneeded iterations for duplicate keys

* explanation comments

* add unit test for disallowed field comb constraint

* fixes after review

* add configurable broadcast interval

* add check keys present for transfers + events filtered

* remove async await

* fix

* fix nft attributes source

* fix lint

* allow admins to trigger nft updates

* print

* revert log

---------

Signed-off-by: GuticaStefan <stefan.gutica@gmail.com>
Co-authored-by: Catalin Faur <52102171+cfaur09@users.noreply.github.com>
Co-authored-by: Gutica Stefan <123564494+stefangutica@users.noreply.github.com>
Co-authored-by: cfaur09 <catalinfaurpaul@gmail.com>
Co-authored-by: GuticaStefan <stefan.gutica@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants