Skip to content

chore: refresh topics data from chain state - #177

Open
nickemmons wants to merge 1 commit into
mainfrom
chore/refresh-topics-data
Open

nickemmons wants to merge 1 commit into
mainfrom
chore/refresh-topics-data

Conversation

@nickemmons

@nickemmons nickemmons commented Aug 5, 2026 •

Copy link
Copy Markdown
Contributor

Regenerated public/api/topics.json from live testnet and mainnet chain state via scripts/generateTopics.js. The topics table on the Existing Allora Network Topics page renders from this file.


Summary by cubic

Refreshes public/api/topics.json from live testnet and mainnet chain state so the Existing Allora Network Topics page shows current data.

  • Sets generated_at to 2026-11-01T04:09:07Z.
  • Testnet: active_topic_count is now 53 (was 39); adds topics 4–7, 10, 15–17, 19, 20, 22, 59, and 87–90, and removes topics 56 and 60.
  • Mainnet: emissions_api is now v10 (was v9); active_topic_count unchanged at 15.

Written for commit ce6a6a5. Summary will update on new commits.

View guided diff Turn on auto-fix

@netlify

netlify Bot commented Aug 5, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for alloradocs ready!

Name Link
🔨 Latest commit ce6a6a5
🔍 Latest deploy log https://app.netlify.com/projects/alloradocs/deploys/6ae6bb676f975cfc964e2dda
😎 Deploy Preview https://deploy-preview-177--alloradocs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@cubic-dev-ai cubic-dev-ai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

No issues found across 1 file

Architecture diagram
sequenceDiagram
    participant Script as generateTopics.js
    participant LCD as Testnet LCD API
    participant LCD2 as Mainnet LCD API
    participant File as public/api/topics.json
    participant Page as Topics Page (Client)

    Note over Script,Page: Topic Data Refresh Pipeline

    Script->>LCD: GET /cosmos/emissions/v10/next_topic_id
    Script->>LCD: GET /cosmos/emissions/v10/is_topic_active?ids=...
    Script->>LCD: GET /cosmos/emissions/v10/topics
    LCD-->>Script: topic IDs, active status, topic metadata
    Script->>LCD2: GET /cosmos/emissions/v10/next_topic_id
    Script->>LCD2: GET /cosmos/emissions/v10/is_topic_active?ids=...
    Script->>LCD2: GET /cosmos/emissions/v10/topics
    LCD2-->>Script: topic IDs, active status, topic metadata

    Script->>File: Write JSON (generated_at, networks[], topics[])
    Note right of Script: Includes 2 new testnet topics: id 4 (BTC 24h Prediction) and id 87 (24 hour xyz:GOLD Triple-Barrier Classification)

    Client->>Page: Navigate to /topics
    Page->>File: Fetch topics.json (static asset)
    File-->>Page: JSON payload
    Note over Page: Render topics table with active topic count (testnet: 41, mainnet: 58)
    Page-->>Client: Display rendered topics
Loading

Re-trigger cubic

@nickemmons
nickemmons force-pushed the chore/refresh-topics-data branch 8 times, most recently from db1bed2 to c2bc9a7 Compare August 13, 2026 04:38
@nickemmons
nickemmons force-pushed the chore/refresh-topics-data branch 5 times, most recently from 009ae29 to 9edd203 Compare August 18, 2026 04:15
@nickemmons
nickemmons force-pushed the chore/refresh-topics-data branch 8 times, most recently from 5481ec7 to 4037057 Compare September 1, 2026 04:14
@nickemmons
nickemmons force-pushed the chore/refresh-topics-data branch 7 times, most recently from 4fbed7f to f94353d Compare September 8, 2026 04:14
@nickemmons
nickemmons force-pushed the chore/refresh-topics-data branch 7 times, most recently from d8ceb9f to bbee8be Compare September 28, 2026 04:17
@nickemmons
nickemmons force-pushed the chore/refresh-topics-data branch 7 times, most recently from 90e75d5 to 3571e8e Compare October 5, 2026 04:20
@nickemmons
nickemmons force-pushed the chore/refresh-topics-data branch 7 times, most recently from 45b153c to 4f70d5a Compare October 12, 2026 04:22
@nickemmons
nickemmons force-pushed the chore/refresh-topics-data branch 8 times, most recently from 8ba20a7 to 16921bf Compare October 20, 2026 04:14
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.

1 participant