Skip to content

refactor: remove fmo_frontend and upgrade Fedimint to v0.10 - #106

Closed
elsirion wants to merge 1 commit into
masterfrom
2026-02-fedimint-upgrafr
Closed

refactor: remove fmo_frontend and upgrade Fedimint to v0.10#106
elsirion wants to merge 1 commit into
masterfrom
2026-02-fedimint-upgrafr

Conversation

@elsirion

Copy link
Copy Markdown
Collaborator

Summary

  • Remove the Leptos-based fmo_frontend (replaced by fmo_frontend_react)
  • Upgrade all Fedimint dependencies from 0.8.0-beta.2 to 0.10.0
  • Switch from elsirion's fork to official fedimint repo

Changes

Frontend Removal

  • Deleted entire fmo_frontend/ directory
  • Removed from workspace, justfile, flake.nix, CI workflow
  • Updated documentation (README.md, CLAUDE.md)

Fedimint v0.10 Upgrade

  • Updated all fedimint dependencies to v0.10.0
  • Added new fedimint-connectors dependency
  • Updated API usage for breaking changes:
    • ConnectorConnectorRegistry
    • DynGlobalApi::from_endpoints()DynGlobalApi::new()
    • Added download_from_invite_code for config fetching
  • Added ConnectorRegistry field to FederationObserver

Build Changes

  • Added cmake to nix devShell (required for aws-lc-sys)

Test plan

  • cargo clippy passes
  • cargo test passes
  • Manual testing with running federations

🤖 Generated with Claude Code

- Remove the Leptos-based fmo_frontend (replaced by fmo_frontend_react)
- Upgrade all Fedimint dependencies from 0.8.0-beta.2 to 0.10.0
- Switch from elsirion's fork to official fedimint repo
- Add fedimint-connectors dependency for new connector API
- Update API usage for v0.10 breaking changes:
  - Replace Connector with ConnectorRegistry
  - Replace DynGlobalApi::from_endpoints with DynGlobalApi::new
  - Use fedimint_api_client::download_from_invite_code
- Add cmake to nix devShell for aws-lc-sys build dependency
- Update CI, documentation, and build configuration

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@tacio

tacio commented Mar 23, 2026

Copy link
Copy Markdown
Contributor

I built and ran this version of fmo_server, syncing 5 federations, including old and new ones and compared the data between this version of FMO (with fedimint 0.10) to the previous version.
Everything matched, the only difference I noticed was that in the consensus_items table in kind="wallet", where the data was {"Default": {"bytes": [2, 2], "variant": 3}} it is now {"ModuleConsensusVersion": {"major": 2, "minor": 2}} which seems an upgrade, the content now has semantic information.

Everything else, sessions, transactions, transaction_inputs, transaction_outputs, transaction_input_details, transaction_output_details, and consensus_items have matched 100%, and I also looked at the guardian_health table and it seems... healthy.

(I can't evaluate the changes in the frontend though)

@tacio

tacio commented Mar 23, 2026

Copy link
Copy Markdown
Contributor

Oh, I didn't validate nostr stuff, sorry.

@tacio

tacio commented Mar 24, 2026

Copy link
Copy Markdown
Contributor

build is failing because cmake is missing from nativeBuildInputs in flake. Claude only added it to devShells.

@elsiribot

Copy link
Copy Markdown
Contributor

Rehoming this from the elsirion personal repo onto elsiribot's fork so CI/babysit tooling can interact with it. Continued in a new PR (link to follow).

@elsiribot

Copy link
Copy Markdown
Contributor

Superseded by #115 (rehomed onto elsiribot fork so babysit/CI tooling can push fixes). Please close this one when convenient.

@elsirion elsirion closed this May 27, 2026
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