Files
pezkuwi-subxt/prdoc/pr_3540.prdoc
T
PG Herveou 9952786e1b 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>
2024-03-06 16:35:55 +00:00

11 lines
490 B
Plaintext

title: "[pallet-contracts] Only allow non-deterministic code to be uploaded with Determinism::Relaxed"
doc:
- audience: Runtime Dev
description: |
The `upload_code` extrinsic, will now only allow non-deterministic code to be uploaded with the `Determinism::Relaxed` flag.
This prevent an attacker from uploading "deterministic" code with the `Determinism::Relaxed` flag, preventing the code to be instantiated for on-chain execution.
crates:
- name: pallet-contracts