spacemeshos / svm

SVM - Spacemesh Virtual Machine
https://spacemesh.io
MIT License
85 stars 14 forks source link

Runtime should add a `Deploy Template` upon successful `Deploy Transaction` #486

Open YaronWittenstein opened 2 years ago

YaronWittenstein commented 2 years ago

Upon a successful Deploy and right before calling TemplateStorage::create we need to create a Deploy Section

This is the place to edit: https://github.com/spacemeshos/svm/blob/6edb73de199fafce0953f82af061ca1090ff911c/crates/runtime/src/runtime/runtime.rs#L571