aleph-im / front-aleph-cloud-page

1 stars 0 forks source link

Fix: Domain aggregate message for function/instance #78

Closed BjrInt closed 3 months ago

BjrInt commented 9 months ago

The structure of the domain aggregate for program message (instance or function) is not implemented right. This fixes replaces ipfs with the program type value, when linking a domain to a program.

{
-   "type": "ipfs",
+   "type": "program",
    "message_id": <item_hash>,
    updated_at: <ISO timestamp>
    [programType]: "FUNCTION" | "INSTANCE"
}

fixes #77


:warning: This is a hotfix, there is probably a better way to handle this

philogicae commented 3 months ago

I merged those changes into the web3 hosting branch, at this specific commit: 4d90a7e (#88) Also with some fixes required after the upgrade of TS SDK to >1.x.x So we can close this PR