Skip to content

Sergey/interfaces#52

Open
sergeytimoshin wants to merge 16 commits intosergey/interfaces-infrafrom
sergey/interfaces
Open

Sergey/interfaces#52
sergeytimoshin wants to merge 16 commits intosergey/interfaces-infrafrom
sergey/interfaces

Conversation

@sergeytimoshin
Copy link

No description provided.

@coderabbitai
Copy link

coderabbitai bot commented Mar 3, 2026

Important

Review skipped

Auto reviews are limited based on label configuration.

🏷️ Required labels (at least one) (1)
  • ai-review

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: c070cd97-e56c-47ae-9d2b-bd25adf30737

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch sergey/interfaces
📝 Coding Plan
  • Generate coding plan for human review comments

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@sergeytimoshin sergeytimoshin force-pushed the sergey/interfaces branch 4 times, most recently from cfc1a75 to 4289f14 Compare March 5, 2026 21:54
@sergeytimoshin sergeytimoshin force-pushed the sergey/interfaces-infra branch 2 times, most recently from c6ef964 to 7106bcf Compare March 6, 2026 16:05
sergeytimoshin and others added 13 commits March 9, 2026 21:44
* feat: infrastructure updates - migrations, ingester, prover API key, DAO schema, monitor, CLI args, dep updates

- Add prover_api_key parameter to PhotonApi and validity proof methods
- Add max_connections parameter to run_server
- Add new migrations: onchain_pubkey, ata_owner, backfill_mint, ata_owner_index
- Update ingester with startup cleanup, improved parsing, and persist logic
- Update DAO generated models (accounts, token_accounts, queue_hash_chains, transactions)
- Update monitor with queue monitoring and tree metadata sync improvements
- Consolidate OpenAPI specs into single api.yaml
- Fix OpenAPI AllOf handling and iterator usage
- Update dependencies in Cargo.toml/Cargo.lock
- Add token_layout module and update token_data types
- Update snapshot loader/snapshotter and tree validator

* refactor: remove unused backfill migration for mint onchain pubkey

* refactor: rename compressed mint PDA constants to light mint PDA for clarity

* refactor: remove parse_account_discriminator function and update usages for clarity

* feat: add discriminator_v2 field and update related logic for account processing
…abs#341)

Bumps all light-* dependencies to compatible versions:
- light-event: 0.21 -> 0.23.1 (includes OOB panic fix)
- light-concurrent-merkle-tree: 4 -> 5
- light-batched-merkle-tree: 0.10 -> 0.11
- light-merkle-tree-metadata: 0.10 -> 0.11
- light-compressed-account: 0.10.1 -> 0.11
- light-indexed-merkle-tree: 4 -> 5
- light-token-interface: 0.4 -> 0.5
- light-sdk-types: 0.20 -> 0.23

Fixes the index-out-of-bounds panic in create_nullifier_queue_indices()
that halted both pitt and fra ingestors at slot 407265370.

Upstream fix: Lightprotocol/light-protocol#2353
cargo check passes.

Co-authored-by: i-am-bert <i-am-bert@users.noreply.github.com>
When the indexer encounters a tree not in tree_metadata during transaction
parsing, fetch the tree's on-chain account via RPC, add it to tree_metadata,
and proceed with indexing instead of skipping. This prevents data gaps for
legitimate trees created after startup.
…DAO schema, monitor, CLI args, dep updates

- Add prover_api_key parameter to PhotonApi and validity proof methods
- Add max_connections parameter to run_server
- Add new migrations: onchain_pubkey, ata_owner, backfill_mint, ata_owner_index
- Update ingester with startup cleanup, improved parsing, and persist logic
- Update DAO generated models (accounts, token_accounts, queue_hash_chains, transactions)
- Update monitor with queue monitoring and tree metadata sync improvements
- Consolidate OpenAPI specs into single api.yaml
- Fix OpenAPI AllOf handling and iterator usage
- Update dependencies in Cargo.toml/Cargo.lock
- Add token_layout module and update token_data types
- Update snapshot loader/snapshotter and tree validator
…ountInterfaces)

- Add getAccountInterface and getMultipleAccountInterfaces RPC methods
- Implement racing logic for compressed vs on-chain account resolution
- Add interface types (AccountInterface, SolanaAccountData)
- Register new methods in RPC server and OpenAPI spec
- Add integration tests with snapshot testing
- Add test transaction data for indexer interface
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.

3 participants