mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-29 12:37:57 +00:00
contracts: Upgrade to wasmi 0.28 (#13312)
* Upgrade to wasmi 0.28 * ".git/.scripts/commands/bench/bench.sh" pallet dev pallet_contracts * Update stale comment * Renamed variants of `Determinism` * Compile fix --------- Co-authored-by: command-bot <>
This commit is contained in:
committed by
GitHub
parent
d5650ba07b
commit
82cb69922f
@@ -394,7 +394,7 @@ mod v9 {
|
||||
initial: old.initial,
|
||||
maximum: old.maximum,
|
||||
code: old.code,
|
||||
determinism: Determinism::Deterministic,
|
||||
determinism: Determinism::Enforced,
|
||||
})
|
||||
});
|
||||
}
|
||||
@@ -464,7 +464,7 @@ mod post_checks {
|
||||
fn v9<T: Config>() -> Result<(), &'static str> {
|
||||
for value in CodeStorage::<T>::iter_values() {
|
||||
ensure!(
|
||||
value.determinism == Determinism::Deterministic,
|
||||
value.determinism == Determinism::Enforced,
|
||||
"All pre-existing codes need to be deterministic."
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user