kindelia/Kindelia

Primitives namespace `Kdl.`

Opened this issue · 0 comments

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.