Skip to content

Commit

Permalink
stabilize funcs (#1249)
Browse files Browse the repository at this point in the history
  • Loading branch information
agryaznov committed May 11, 2022
1 parent 4338af9 commit 32e0261
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions crates/env/src/engine/on_chain/ext.rs
Original file line number Diff line number Diff line change
Expand Up @@ -237,6 +237,8 @@ mod sys {
output_len_ptr: Ptr32Mut<u32>,
) -> ReturnCode;

pub fn seal_contains_storage(key_ptr: Ptr32<[u8]>) -> ReturnCode;

pub fn seal_clear_storage(key_ptr: Ptr32<[u8]>);

pub fn seal_call_chain_extension(
Expand Down Expand Up @@ -359,6 +361,12 @@ mod sys {
output_ptr: Ptr32Mut<[u8]>,
output_len_ptr: Ptr32Mut<u32>,
) -> ReturnCode;

pub fn seal_set_storage(
key_ptr: Ptr32<[u8]>,
value_ptr: Ptr32<[u8]>,
value_len: u32,
) -> ReturnCode;
}

#[link(wasm_import_module = "__unstable__")]
Expand All @@ -370,14 +378,6 @@ mod sys {
message_hash_ptr: Ptr32<[u8]>,
output_ptr: Ptr32Mut<[u8]>,
) -> ReturnCode;

pub fn seal_contains_storage(key_ptr: Ptr32<[u8]>) -> ReturnCode;

pub fn seal_set_storage(
key_ptr: Ptr32<[u8]>,
value_ptr: Ptr32<[u8]>,
value_len: u32,
) -> ReturnCode;
}
}

Expand Down

0 comments on commit 32e0261

Please sign in to comment.