This repository has been archived by the owner on Aug 14, 2023. It is now read-only.
Deploy Template
- Validate the existence of an Immutable Storage Section
#472
Labels
To simplify significantly the implementation of the
Immutable Storage
, I suggest enforcing these rules upon each Template:Each Template must have
Storage Layout Section #0
. Its usage is to describe theImmutable Storage
of eachAccount
. If there is noImmutable Storage
then theStorage Layout
will be empty (but it'll still exist).There'll be exactly one
Storage Layout Section
targeting theImmutable Storage
of each futureAccount
spawned out of thisTemplate
.This issue extends the code under
Runtime::validate_deploy
to assert the abovesvm/crates/runtime/src/runtime/runtime.rs
Line 521 in 6edb73d
The text was updated successfully, but these errors were encountered: