Skip to content

Solana svm#6

Merged
scab24 merged 10 commits into
mainfrom
solana-svm
Jun 5, 2026
Merged

Solana svm#6
scab24 merged 10 commits into
mainfrom
solana-svm

Conversation

@scab24

@scab24 scab24 commented Jun 5, 2026

Copy link
Copy Markdown
Owner

No description provided.

scab24 added 10 commits May 16, 2026 21:20
Removes the analyze and context CLI subcommands, the /api/contract REST handlers, the Solidity Anchor fixtures and the Solidity guide chapters. Serve and Explore now reject any path detected as Solidity with a clear error pointing at the standalone ilold-evm repo.
Drops the 3133-line dual REPL (handle_input, print_result, slicing/trace helpers, Solidity prompt help) and keeps only the Solana code path: handle_solana_input, dispatch_solana, kv parser, scenario sync and prompt. The standalone fmt.rs / interactive.rs modules now have no callers and will be removed next.
Moves header_box and pad_right (the only two helpers still needed) into colors.rs, deletes fmt.rs (FlowTree/SliceResult renderers) and interactive.rs (TUI trace viewer), and removes the now-unused terminal_size/ratatui/crossterm dependencies and the ilold-core path dep from ilold-cli.
Removes the three /api/session/{function,trace,slice} routes (Solidity-only), the dual serve()/start_server() functions that built AppState from .sol paths, and the now-unused std::path::PathBuf import. The Solana entrypoints (serve_solana, start_solana_server) stay as the only public entry points; renaming to plain serve/start_server is deferred to a follow-up to keep this commit focused on the purge.
Drops SolidityState and the dual Backend enum, replaces unwrap_solidity/require_solidity helpers with direct solana() access, rewrites api/session.rs to dispatch every command through the Solana pipeline (1074 to 538 LOC), purges Solidity routes (/api/session/{state,timeline,sequence,trace/contract/func,slice/func/var,function/contract/func} and /api/contract/*), trims the WS handler to broadcast-only (search.rs deleted), and removes six Solidity integration tests. SourceSpan moves inline next to the Solana source endpoint.
Switches the kind prop default from solidity to solana in the 8 Svelte files that branch on it, rewrites the root +page.svelte to render only Solana programs (drops the Solidity contract grid), and pins the contract page detector to solana. The dead Solidity branches inside individual components stay until a follow-up cleanup; cross-check pipeline stays green.
Drops the ilold-core crate from the workspace and its 7 path dependents (ilold-web, ilold-render, plus solar 0.1.8 from workspace.dependencies). AccessLevel imports in ilold-render move from ilold-core to its real home in ilold-session-core. README, SUMMARY, introduction and getting-started are rewritten Solana-only, and images/diagram_solidity.png is removed. cargo test --workspace --release stays green.
Removes every file under crates/ilold-core/ now that the workspace member is gone and no live import references it.
… pages

Rewrites the six primary pages (architecture, overview, api-endpoints, websocket, limitations, cross-cutting) as Solana-only and removes every Solidity link or comparative aside from the solana/* and roadmap/solana pages. mdbook build is clean; no broken cross-references remain.
Fixes FunctionSidebar.svelte::allRows which used the legacy $derived<T>(callback) form (Svelte 5 incompatible) and was called with parens, causing a runtime crash whenever the sidebar rendered. Switches to $derived.by, drops the now-impossible Solidity branch in contract/[name]/+page.svelte onMount, prunes contracts and relationships from the ProjectMap TS interface (the backend no longer returns them), and removes the orphaned petgraph workspace dependency.
@scab24
scab24 merged commit 9f9b35f into main Jun 5, 2026
2 of 3 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.

1 participant