feat(vm): integrate metered strings and native retention for PLN-0176 step 19
This commit is contained in:
@@ -74,6 +74,9 @@ pub struct ValidatedProgramImage {
|
||||
capabilities: CapFlags,
|
||||
}
|
||||
impl ValidatedProgramImage {
|
||||
pub(crate) fn string_retention(&self) -> Arc<dyn Send + Sync> {
|
||||
self.strings.clone()
|
||||
}
|
||||
pub fn registry(&self) -> &Arc<Registry> {
|
||||
&self.registry
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user