Skip to content

refactor: rename seeding/caching terminology to hosting in freenet-stdlib #3524

@sanity

Description

@sanity

Context

PR #3522 standardized freenet-core on "hosting" terminology for contracts a node stores locally, eliminating the confusing three-name situation (seeding/caching/hosting). However, freenet-stdlib types were out of scope and still use the old names.

Remaining renames needed in freenet-stdlib

  • SystemMetrics.seeding_contractshosting_contracts
  • NodeQuery::ProximityCacheInfoNodeQuery::NeighborHostingInfo (or similar)

After stdlib is updated

  • Republish freenet-stdlib to crates.io
  • Update freenet-core to use the new field/variant names
  • Update river and any other repos under freenet org that reference these types

Blocker

The local freenet-stdlib repo is at version 0.1.40 but crates.io shows 0.1.34 (latest 0.2.2). This version confusion should be resolved before making changes.

[AI-assisted - Claude]

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-contractsArea: Contract runtime, SDK, and executionA-developer-xpArea: developer experienceE-mediumExperience needed to fix/implement: Medium / intermediateS-blockedStatus: Blocked by external dependency or other issueT-enhancementType: Improvement to existing functionality

    Type

    No type

    Projects

    Status

    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions