You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Introduce new kind of storage elements that operate based on the named keys. For variables it should be NKVar and for mappings NKMapping. NK from Named Key.
Named keys should be constructed at the installation step. If Default is not defined, the it should be empty bytes array and I can fail at deserialization step when not initialized.
They should be consider as sort of globals. Further checks that forbid or allow coexistence variables with the same names will be implemented later.
Building keys for mappings should mimic behavior from CasperLab's cep18.
Storing and loading named key based values should happen via env object, so it can be tested on OdraVM and loaded in livenet mode.
The text was updated successfully, but these errors were encountered:
Introduce new kind of storage elements that operate based on the named keys. For variables it should be
NKVar
and for mappingsNKMapping
.NK
fromNamed Key
.Named keys should be constructed at the installation step. If
Default
is not defined, the it should be empty bytes array and I can fail at deserialization step when not initialized.They should be consider as sort of globals. Further checks that forbid or allow coexistence variables with the same names will be implemented later.
Building keys for mappings should mimic behavior from CasperLab's
cep18
.Storing and loading named key based values should happen via
env
object, so it can be tested on OdraVM and loaded in livenet mode.The text was updated successfully, but these errors were encountered: