Feat/add-b20-demo - #49
Closed
soheimam wants to merge 48 commits into
Closed
Conversation
Migrated the app out of the internal Nx / @cbhq template into a standalone Next.js (App Router) project that builds and deploys with the standard toolchain on Vercel. - App code (snapshots, upgrades, vibenet, shared shell/UI) carried over unchanged; it had no internal @cbhq imports. - Replaced internal tooling with Vercel-native config: standard package.json scripts (dev/build/start/lint/typecheck/test), next.config.mjs, Next tsconfig, eslint-config-next, Tailwind + PostCSS, Vitest. - Dropped Nx, Helm charts, terraform, pipelines, Dockerfile, and the @cbhq registry/config. - Base Sans fonts via next/font/local; env documented in .env.example. Verified: next build (13 routes), lint, typecheck, vitest (10 tests), and a local dev run of /, /snapshots, /upgrades, /vibenet.
Brings the canonical /api/snapshots implementation from the v2-snapshots-ui repo into omni: - R2RequestError with status, and getLatestSnapshotManifest that walks newest-first and skips 404s, so an in-progress latest snapshot (manifest not yet uploaded) falls back to the previous completed one. - Returns archiveUrl / archiveFile / metadataUrl (added as optional fields on the Snapshot type). Kept omni's two prior review fixes rather than regress them: fail closed (502) when any configured network errors instead of a partial 206, and no SUPPORTED_COMPONENTS allowlist filter so new manifest components are counted. Verified: next build (13 routes), lint, types, and vitest (10 tests).
Ports v2-snapshots-ui@ba0c382 into the snapshots UI so the two stop drifting: - Group account_changesets + storage_changesets into a single "State History" row (combined size); toggling it toggles both. - Gate dependent components: transaction_senders requires transactions; rocksdb_indices requires transactions + receipts + state history. Unmet dependents are disabled and auto-deselected on toggle. - Update the Full preset to state, headers, transactions, receipts, and state history (+ description). - Rewrite the download command to `base-reth-node download --chain <chain>` with --with-txs/--with-senders/--with-receipts/--with-state-history flags, --<preset> --resumable for presets, --archive --without-rocksdb, and map mainnet to `base`. - Component count reflects the grouped State History row.
feat: upgrade runtime to Node.js 24
Co-authored-by: Montana Wong <montanawong@gmail.com>
Co-authored-by: vercel[bot] <35613825+vercel[bot]@users.noreply.github.com> Co-authored-by: Vercel <vercel[bot]@users.noreply.github.com> Co-authored-by: Montana Wong <montanawong@gmail.com> Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Claude <noreply@anthropic.com>
Co-authored-by: Claude <noreply@anthropic.com>
Co-authored-by: Claude <noreply@anthropic.com> Co-authored-by: Montana <montanawong@gmail.com> Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
Co-authored-by: Claude <noreply@anthropic.com>
Co-authored-by: Claude <noreply@anthropic.com>
Co-authored-by: Claude <noreply@anthropic.com>
This branch was written before demos moved out of /vibenet/demos, so the rebase
replayed the new demo into app/vibenet/demos/b20 — a path main no longer has.
Left there it would sit outside the demos section, and its relative imports
would not resolve.
- Move the five files to app/demos/b20 (git mv, history preserved) and rewire
imports: app/* is one level closer, Vibenet's library/components one level
further away.
- Register the demo in app/demos/catalogue.ts with href /demos/b20 — the branch
added it to the inline DEMOS array in the old page.tsx, which main deleted
when the catalogue was extracted. Adds shortTitle so the breadcrumb reads
"Demos / Token Issuance".
- Carry MaintenanceBanner into the demo's layout. It used to arrive via
app/vibenet/layout.tsx, which no longer applies; without this the demo would
silently stop warning that the devnet is down. Matches the account demo.
- Title follows the {Page} · {Section} convention: "Native Token Issuance ·
Demos", was "B20 Demo · Vibenet".
- Sitemap entry and the AGENTS.md analytics rows point at the new path.
The explorer work on this branch (explorer.ts, its test, and the transaction
viewer changes) is untouched by the move and is byte-identical to the original.
Updates llms.txt.
Signed-off-by: StepSecurity Bot <bot@stepsecurity.io> Co-authored-by: stepsecurity-app[bot] <188008098+stepsecurity-app[bot]@users.noreply.github.com> Co-authored-by: Montana <montanawong@gmail.com>
|
Deployment failed for project omni-ui with the following error: View Documentation: https://vercel.com/docs/accounts/team-members-and-roles |
Collaborator
🟡 Heimdall Review Status
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Created b20 demo under demo section