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:
PG Herveou
2024-02-20 15:28:05 +01:00
committed by GitHub
parent e89d0fca35
commit d250a6e427
26 changed files with 137 additions and 140 deletions
+6 -6
View File
@@ -124,8 +124,8 @@ pub trait WeightInfo {
fn seal_ecdsa_recover(r: u32, ) -> Weight;
fn seal_ecdsa_to_eth_address(r: u32, ) -> Weight;
fn seal_set_code_hash(r: u32, ) -> Weight;
fn add_delegate_dependency(r: u32, ) -> Weight;
fn remove_delegate_dependency(r: u32, ) -> Weight;
fn lock_delegate_dependency(r: u32, ) -> Weight;
fn unlock_delegate_dependency(r: u32, ) -> Weight;
fn seal_reentrance_count(r: u32, ) -> Weight;
fn seal_account_reentrance_count(r: u32, ) -> Weight;
fn seal_instantiation_nonce(r: u32, ) -> Weight;
@@ -1891,7 +1891,7 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
/// Storage: `System::EventTopics` (r:2 w:2)
/// Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`)
/// The range of component `r` is `[0, 32]`.
fn add_delegate_dependency(r: u32, ) -> Weight {
fn lock_delegate_dependency(r: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `928 + r * (131 ±0)`
// Estimated: `6878 + r * (2606 ±0)`
@@ -1920,7 +1920,7 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
/// Storage: `System::EventTopics` (r:2 w:2)
/// Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`)
/// The range of component `r` is `[0, 32]`.
fn remove_delegate_dependency(r: u32, ) -> Weight {
fn unlock_delegate_dependency(r: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `969 + r * (183 ±0)`
// Estimated: `129453 + r * (2568 ±0)`
@@ -3787,7 +3787,7 @@ impl WeightInfo for () {
/// Storage: `System::EventTopics` (r:2 w:2)
/// Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`)
/// The range of component `r` is `[0, 32]`.
fn add_delegate_dependency(r: u32, ) -> Weight {
fn lock_delegate_dependency(r: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `928 + r * (131 ±0)`
// Estimated: `6878 + r * (2606 ±0)`
@@ -3816,7 +3816,7 @@ impl WeightInfo for () {
/// Storage: `System::EventTopics` (r:2 w:2)
/// Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`)
/// The range of component `r` is `[0, 32]`.
fn remove_delegate_dependency(r: u32, ) -> Weight {
fn unlock_delegate_dependency(r: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `969 + r * (183 ±0)`
// Estimated: `129453 + r * (2568 ±0)`