Contracts upload with Determinism::Enforced when possible (#3540)

Co-authored-by: Cyrill Leutwiler <cyrill@parity.io>
Co-authored-by: command-bot <>
Co-authored-by: Alexander Theißen <alex.theissen@me.com>
This commit is contained in:
PG Herveou
2024-03-06 17:35:55 +01:00
committed by GitHub
parent f2f4b154d7
commit 9952786e1b
8 changed files with 756 additions and 636 deletions
@@ -313,6 +313,11 @@ impl<T: Config> CodeInfo<T> {
}
}
/// Returns the determinism of the module.
pub fn determinism(&self) -> Determinism {
self.determinism
}
/// Returns reference count of the module.
pub fn refcount(&self) -> u64 {
self.refcount