hosting contract not deployed on devnet — missing from deploy_services.rhai provision script #44
Labels
No labels
prio_critical
prio_low
type_bug
type_contact
type_issue
type_lead
type_question
type_story
type_task
urgent
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
lhumina_code/hero_ledger#44
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
The
hostingcontract (source atcontracts/hosting/) is not deployed on the devnet chain. It is not part ofscripts/rhai/provision/deploy_services.rhai— only11_deploy_hosting.rhaiexists underexamples/rhai/contracts/deploy/, which is not run as part of standard provisioning.Verified on 2026-04-10 via authenticated
account.existsqueries againsthttps://ledger.dev.projectmycelium.com/rpc:dev.hero(root)faucet.dev.heroidentity.dev.herodns.dev.heromarketplace.dev.herospore.dev.hero,gld.dev.hero,usdh.dev.herohosting.dev.hero(Also checked alt names:
hosting.hero,grid.dev.hero,tfgrid.dev.hero,farm.dev.hero,farms.dev.hero,compute.dev.hero,nodes.dev.hero,hosting.marketplace.dev.hero,hosting.mycelium,hosting— all absent.)Confirmed via
rpc.discoveron the devnet gateway too: 43 total methods, zerohosting.*methods exposed.Context
This came up while working on Phase 3 of the marketplace scaling architecture initiative (mycelium_code/home#72) —
hero_compute_serverfirst-boot hook is supposed to callhosting.farm_create+hosting.node_registervia directnear-jsonrpc-client. Those calls will fail withAccountDoesNotExistuntil the contract is live on devnet.Not blocking our Phase 3 code work — we plan to implement and test Phase 3 using
near-workspaces-rssandbox tests that compile and deploy the hosting contract WASM in-process, which is how NEAR contracts are idiomatically tested anyway. But we do need the devnet deployment before the final E2E validation step.Proposed fix
PR opened: #45 — 13-line diff adding a hosting deploy block to
deploy_services.rhai, modeled on the existing DNS and Marketplace blocks. Hosting contract compiles cleanly onwasm32-unknown-unknownfrom current source, no new dependencies.Alternative if preferred: run the existing
examples/rhai/contracts/deploy/11_deploy_hosting.rhaiscript directly against devnet as a one-shot. Faster but leaves the provision script out of sync.Ask
@scott — whenever convenient, either merge PR #45 and re-run provision against devnet, or run
11_deploy_hosting.rhaidirectly. Non-urgent — we can continue Phase 3 code and tests without it.Related
mik-tf referenced this issue from lhumina_code/hero_compute2026-04-11 01:56:47 +00:00