[contracts] Stabilize "seal0" is_contract and caller_is_origin (#10971)

* stabilize `seal_is_contract`

* stabilize `seal_caller_is_origin`
This commit is contained in:
Alexander Gryaznov
2022-03-04 18:28:00 +03:00
committed by GitHub
parent ecd7568280
commit ded1f7706d
3 changed files with 6 additions and 12 deletions
@@ -409,7 +409,7 @@ benchmarks! {
let code = WasmModule::<T>::from(ModuleDefinition {
memory: Some(ImportedMemory::max::<T>()),
imported_functions: vec![ImportedFunction {
module: "__unstable__",
module: "seal0",
name: "seal_is_contract",
params: vec![ValueType::I32],
return_type: Some(ValueType::I32),
@@ -441,7 +441,7 @@ benchmarks! {
let code = WasmModule::<T>::from(ModuleDefinition {
memory: Some(ImportedMemory::max::<T>()),
imported_functions: vec![ImportedFunction {
module: "__unstable__",
module: "seal0",
name: "seal_caller_is_origin",
params: vec![],
return_type: Some(ValueType::I32),