feat: synth logs node indexing - #1471
Merged
Merged
Conversation
|
Crate versions that have not been updated:
Crate versions that have been updated:
Runtime version has been increased. |
…e-indexing # Conflicts: # Cargo.lock # Cargo.toml # integration-tests/Cargo.toml # node/Cargo.toml # pallets/omnipool/Cargo.toml # pallets/stableswap/Cargo.toml # pallets/transaction-multi-payment/Cargo.toml # runtime/hydradx/Cargo.toml # runtime/hydradx/src/lib.rs
mrq1911
force-pushed
the
feat/synth-logs-node-indexing
branch
from
June 2, 2026 17:17
978be33 to
4a19d59
Compare
…e-indexing # Conflicts: # Cargo.lock # Cargo.toml # integration-tests/Cargo.toml # pallets/staking/Cargo.toml # runtime/hydradx/Cargo.toml # runtime/hydradx/src/lib.rs
mrq1911
force-pushed
the
feat/synth-logs-node-indexing
branch
from
June 3, 2026 12:48
f51aff2 to
1576ad8
Compare
enthusiastmartin
approved these changes
Jun 29, 2026
|
Quick benchmark at commit 3e94b24 has been executed successfully. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Surfaces substrate token activity as EVM logs over
eth_getLogs, off-chain in the node (replaces the on-chain approach in #1436):Transfer/ uniswap-v2Swaplogs overeth_getLogs— no on-chain synthetic txs or palletSystem::Events→ no runtime-API dependency, works against any runtime version (archive node for full history)Transferevents alone (reserved + frozen sentinels)Executor::callEVM logs included, per-log deduped against real eth-tx receiptseth_getLogs(synthetic_logs::eth_filter) keepslog.blockHashcanonical (round-trips viaeth_getBlockByHash) while a synth-aware bloom keeps synth-only blocks from being skipped. Caveat: the statefuleth_newFilter/getFilterChangespath still uses fc-rpc's canonical-bloom prefilter, so it won't surface synth-only blocks under address filters —eth_getLogsis the fixed path.