mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-26 16:57:58 +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:
@@ -298,11 +298,11 @@ pub struct HostFnWeights<T: Config> {
|
||||
/// Weight of calling `instantiation_nonce`.
|
||||
pub instantiation_nonce: Weight,
|
||||
|
||||
/// Weight of calling `add_delegate_dependency`.
|
||||
pub add_delegate_dependency: Weight,
|
||||
/// Weight of calling `lock_delegate_dependency`.
|
||||
pub lock_delegate_dependency: Weight,
|
||||
|
||||
/// Weight of calling `remove_delegate_dependency`.
|
||||
pub remove_delegate_dependency: Weight,
|
||||
/// Weight of calling `unlock_delegate_dependency`.
|
||||
pub unlock_delegate_dependency: Weight,
|
||||
|
||||
/// The type parameter is used in the default implementation.
|
||||
#[codec(skip)]
|
||||
@@ -435,8 +435,8 @@ impl<T: Config> Default for HostFnWeights<T> {
|
||||
reentrance_count: cost!(seal_reentrance_count),
|
||||
account_reentrance_count: cost!(seal_account_reentrance_count),
|
||||
instantiation_nonce: cost!(seal_instantiation_nonce),
|
||||
add_delegate_dependency: cost!(add_delegate_dependency),
|
||||
remove_delegate_dependency: cost!(remove_delegate_dependency),
|
||||
lock_delegate_dependency: cost!(lock_delegate_dependency),
|
||||
unlock_delegate_dependency: cost!(unlock_delegate_dependency),
|
||||
_phantom: PhantomData,
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user