Skip to content

chore: add new blocks every 30 seconds to mock indexer service#463

Merged
Arjentix merged 2 commits intomainfrom
arjentix/indexer-mock-improvements
Apr 30, 2026
Merged

chore: add new blocks every 30 seconds to mock indexer service#463
Arjentix merged 2 commits intomainfrom
arjentix/indexer-mock-improvements

Conversation

@Arjentix
Copy link
Copy Markdown
Collaborator

🎯 Purpose

This is useful for testing logos-blockchain/lez-explorer-ui#1

⚙️ Approach

  • Generate block every 30 seconds

🧪 How to Test

From indexer/service dir:

cd indexer/service
RUST_LOG=debug cargo run --bin indexer_service --features mock-responses -- configs/indexer_config.json

Then run logos-blockchain/lez-explorer-ui#1:

nix run '.#app'

🔗 Dependencies

None

🔜 Future Work

None

📋 PR Completion Checklist

Mark only completed items. A complete PR should have all boxes ticked.

  • Complete PR description
  • Implement the core functionality
    - [ ] Add/update tests
    - [ ] Add/update documentation and inline comments

@Arjentix Arjentix force-pushed the arjentix/indexer-mock-improvements branch from a4d5ee6 to f3ab618 Compare April 29, 2026 20:58
Copy link
Copy Markdown
Collaborator

@schouhy schouhy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

Copy link
Copy Markdown
Collaborator

@Pravdyvy Pravdyvy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

Copy link
Copy Markdown
Collaborator

@moudyellaz moudyellaz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm, thanks.

@Arjentix Arjentix merged commit 970696b into main Apr 30, 2026
10 checks passed
@Arjentix Arjentix deleted the arjentix/indexer-mock-improvements branch April 30, 2026 16:03
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