mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-12 15:51:12 +00:00
Contracts: Stabilize APIs (#3384)
Remove `#[unstable]` on `call_v2`, `instantiate_v2`, `lock_delegate_dependency` and `unlock_delegate_dependency`. See ink! integrations: - call_v2: https://github.com/paritytech/ink/pull/2077 - instantiate_v2: <TODO> - lock/unlock dependency: https://github.com/paritytech/ink/pull/2076
This commit is contained in:
@@ -325,7 +325,7 @@ pub mod pallet {
|
||||
type DepositPerItem: Get<BalanceOf<Self>>;
|
||||
|
||||
/// The percentage of the storage deposit that should be held for using a code hash.
|
||||
/// Instantiating a contract, or calling [`chain_extension::Ext::add_delegate_dependency`]
|
||||
/// Instantiating a contract, or calling [`chain_extension::Ext::lock_delegate_dependency`]
|
||||
/// protects the code from being removed. In order to prevent abuse these actions are
|
||||
/// protected with a percentage of the code deposit.
|
||||
#[pallet::constant]
|
||||
@@ -347,7 +347,7 @@ pub mod pallet {
|
||||
type MaxStorageKeyLen: Get<u32>;
|
||||
|
||||
/// The maximum number of delegate_dependencies that a contract can lock with
|
||||
/// [`chain_extension::Ext::add_delegate_dependency`].
|
||||
/// [`chain_extension::Ext::lock_delegate_dependency`].
|
||||
#[pallet::constant]
|
||||
type MaxDelegateDependencies: Get<u32>;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user