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

Primitives namespace Kdl. #207

Open
steinerkelvin opened this issue Oct 31, 2022 · 0 comments
Open

Primitives namespace Kdl. #207

steinerkelvin opened this issue Oct 31, 2022 · 0 comments
Assignees
Labels

Comments

@steinerkelvin
Copy link
Contributor

We can add a rule that allows any namespace and namespaced item to be deployed on tick 0/genesis code. Genesis code would run in a kind of "sudo" mode.

That way we can deploy a namespace like Kdl. to store the primitives declared in the genesis code:

ctr {Kdl.CALL}
ctr {Kdl.FROM}
ctr {Kdl.SAVE}
etc

Having this namespace grants us a space to deploy new primitives on forks without having to worry about collisions at all. Also, it makes clear which ctrs are used for IO primitives.

@steinerkelvin steinerkelvin added the enhancement New feature or request label Oct 31, 2022
@steinerkelvin steinerkelvin self-assigned this Oct 31, 2022
@steinerkelvin steinerkelvin changed the title Primitives namespace Primitives namespace Kdl. Oct 31, 2022
@steinerkelvin steinerkelvin removed the enhancement New feature or request label Oct 31, 2022
@steinerkelvin steinerkelvin moved this from Backlog to ◯ Todo in Kindelia Network Project Oct 31, 2022
@steinerkelvin steinerkelvin moved this from ◯ Todo to Backlog in Kindelia Network Project Oct 31, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant