Skip to content

Conversation

@CodeByMAB
Copy link
Owner

Merge pull request #18 from CodeByMAB/feature/mvp-bxs-pipeline

CodeByMAB and others added 5 commits November 6, 2025 21:25
Merge pull request #18 from CodeByMAB/feature/mvp-bxs-pipeline
…er spec structure

- Fixed config_spec.yaml to use version 2 format with spec.type: object
- Changed number field ranges from strings to arrays (e.g., [0, 100] not "[0, 100]")
- Ensured all properties are under spec.properties
- Added additionalProperties: false to spec
- Fixed 'Couldn't convert output to correct type' RPC error
- Updated embassy.js getConfig to synchronous function
- Re-added config-spec.yaml to assets in manifest.yaml
- Fixed ruff linting errors (unused imports, f-strings without placeholders)
- Applied black formatting to 4 files
- All linting and formatting checks now pass
- Root endpoint now always returns JSON with 'endpoints' key
- /metrics/latest now returns keys 'f', 'S', 'BXS' (mapped from DB columns)
  - f: from wallet.f
  - S: from blocks.S
  - BXS: from metrics.BXS_cum
- Both endpoints use JSONResponse for consistent JSON output
- Fixes test_root and test_metrics_latest failures
@CodeByMAB CodeByMAB merged commit a099706 into main Nov 7, 2025
6 checks passed
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.

2 participants