Skip to content

Conversation

@tom2drum
Copy link
Collaborator

@tom2drum tom2drum commented Jul 17, 2025

Description and Related Issue(s)

This is the continuation of the #2786 pull request and resolves #2827 issue.

Proposed changes

  • Added local views for main entities in the explorer, including transactions, blocks, and addresses.
  • Added placeholder components for pages and snippets that depend on data from multichain aggregator services. I could not implement them fully as the API is still a work in progress.
  • Styled the home page.
  • Introduced factories and guards for the getServerSideProps function (see refactor getServerSideProps) to allow reusing their logic in the multichain explorer setup.
  • Added a fetcher to retrieve cluster configuration from the microservice API.

Additional information

This feature is not production-ready; therefore, none of the new environment variables are documented and are subject to change in the future. Some views and pages are still works in progress and may serve as placeholders or be broken. The implemented views may contain bugs or exhibit broken behavior, which will be addressed in future pull requests.

Checklist for PR author

  • I have tested these changes locally.
  • I added tests to cover any new functionality, following this guide
  • Whenever I fix a bug, I include a regression test to ensure that the bug does not reappear silently.
  • If I have added, changed, renamed, or removed an environment variable
    • I updated the list of environment variables in the documentation
    • I made the necessary changes to the validator script according to the guide
    • I added "ENVs" label to this pull request

@tom2drum tom2drum marked this pull request as ready for review July 23, 2025 10:34
@tom2drum tom2drum requested a review from isstuev July 24, 2025 13:38
@tom2drum tom2drum merged commit 6a99116 into main Aug 15, 2025
8 checks passed
@tom2drum tom2drum deleted the tom2drum/issue-2827 branch August 15, 2025 13:32
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.

OP Superchain: local views for chains in the cluster

2 participants