Proposal: programs' frame_system::AccountInfo
permanent existence
#3924
Labels
C2-refactoring
Refactoring proposal
frame_system::AccountInfo
permanent existence
#3924
Motivation of the PR is to increase transparency of the system and isolate user-space from executable environment's restrictions, with upcoming security improvement and bug-safe space within the substrate code.
Invariant: Each program should have ED locked on its account when active.
Implementation details (TODO):
pallet_gear::upload_program
andpallet_gear::create_program
extrinsicsgr_create_program
and further charging inJournalNote::StoreNewPrograms
processing (track the case when code not exist, so refund should be performed)gr_exit
this funds should be unlocked and transferred to inheritorcheck_value
) for sendings in all send-extrinsics and all backend send-syscallscore-processor/ext
units)Existence::AllowDeath
versionThe text was updated successfully, but these errors were encountered: