Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix: Domain aggregate message for function/instance #78

Closed
wants to merge 6 commits into from

Conversation

BjrInt
Copy link
Member

@BjrInt BjrInt commented Nov 29, 2023

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


⚠️ This is a hotfix, there is probably a better way to handle this

@BjrInt BjrInt marked this pull request as draft November 29, 2023 18:43
@BjrInt BjrInt marked this pull request as ready for review November 29, 2023 18:58
src/domain/domain.ts Outdated Show resolved Hide resolved
src/domain/domain.ts Outdated Show resolved Hide resolved
@philogicae
Copy link
Member

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

@philogicae philogicae closed this May 13, 2024
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.

Error creating a custom domain for a function
4 participants