mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-07-22 10:15:42 +00:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user