feat: synth logs node indexing#1471
Open
mrq1911 wants to merge 51 commits into
Open
Conversation
There was a problem hiding this comment.
Code review is billed via overage credits. To resume reviews, an organization admin can raise the monthly limit at claude.ai/admin-settings/claude-code.
Once credits are available, reopen this pull request to trigger a review.
|
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
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
f51aff2 to
1576ad8
Compare
|
Quick benchmark at commit d1d7aa5 has been executed successfully. |
Weight Diff Report
22 extrinsic(s) changed across 2 pallet(s). New: 1. Removed: 0. pallet_omnipool
pallet_referrals
New extrinsics (1)
Threshold: ±10%. Base |
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.