Skip to content

Conversation

@trevortrinh
Copy link

@trevortrinh trevortrinh commented Aug 20, 2025

What

  • adds /health endpoint
  • adds permissive cors

Why

Required for local testing with the explorer. Without these, the explorer fails to load blocks and gets stuck on the loading.

Before After
image image

Copy link
Contributor

@patrick-ogrady patrick-ogrady left a comment

Choose a reason for hiding this comment

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

🙏

@patrick-ogrady patrick-ogrady merged commit 66663c4 into commonwarexyz:local-simulator Sep 11, 2025
5 checks passed
@codecov-commenter
Copy link

Codecov Report

❌ Patch coverage is 40.00000% with 3 lines in your changes missing coverage. Please review.
✅ Project coverage is 56.95%. Comparing base (1b98ffe) to head (3517e39).
⚠️ Report is 1 commits behind head on local-simulator.

Files with missing lines Patch % Lines
simulator/src/lib.rs 40.00% 3 Missing ⚠️
@@                 Coverage Diff                 @@
##           local-simulator     #144      +/-   ##
===================================================
- Coverage            56.98%   56.95%   -0.03%     
===================================================
  Files                   20       20              
  Lines                 2908     2913       +5     
===================================================
+ Hits                  1657     1659       +2     
- Misses                1251     1254       +3     
Files with missing lines Coverage Δ
simulator/src/lib.rs 93.51% <40.00%> (-0.68%) ⬇️

Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 1b98ffe...3517e39. Read the comment docs.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

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