Contracts: Fix typo (#3563)

This commit is contained in:
PG Herveou
2024-03-04 21:32:03 +01:00
committed by GitHub
parent fd5f9292f5
commit 0708cf382d
3 changed files with 7 additions and 7 deletions
+1 -1
View File
@@ -180,7 +180,7 @@ pub trait HostFn {
flags: CallFlags,
callee: &[u8],
ref_time_limit: u64,
proof_time_limit: u64,
proof_size_limit: u64,
deposit: Option<&[u8]>,
value: &[u8],
input_data: &[u8],
@@ -130,7 +130,7 @@ impl HostFn for HostFnImpl {
flags: CallFlags,
callee: &[u8],
ref_time_limit: u64,
proof_time_limit: u64,
proof_size_limit: u64,
deposit: Option<&[u8]>,
value: &[u8],
input_data: &[u8],
@@ -223,7 +223,7 @@ mod sys {
pub fn weight_to_fee(
ref_time_limit: u64,
proof_time_limit: u64,
proof_size_limit: u64,
output_ptr: *mut u8,
output_len_ptr: *mut u32,
);
@@ -239,7 +239,7 @@ mod sys {
flags: u32,
callee_ptr: *const u8,
ref_time_limit: u64,
proof_time_limit: u64,
proof_size_limit: u64,
deposit_ptr: *const u8,
transferred_value_ptr: *const u8,
input_data_ptr: *const u8,
@@ -251,7 +251,7 @@ mod sys {
pub fn instantiate(
code_hash_ptr: *const u8,
ref_time_limit: u64,
proof_time_limit: u64,
proof_size_limit: u64,
deposit_ptr: *const u8,
value_ptr: *const u8,
input_ptr: *const u8,
@@ -487,7 +487,7 @@ impl HostFn for HostFnImpl {
flags: CallFlags,
callee: &[u8],
ref_time_limit: u64,
proof_time_limit: u64,
proof_size_limit: u64,
deposit: Option<&[u8]>,
value: &[u8],
input_data: &[u8],
@@ -501,7 +501,7 @@ impl HostFn for HostFnImpl {
flags.bits(),
callee.as_ptr(),
ref_time_limit,
proof_time_limit,
proof_size_limit,
deposit_ptr,
value.as_ptr(),
input_data.as_ptr(),