Skip to content

Commit

Permalink
Merge branch 'master' into na-is-rate-limited-label
Browse files Browse the repository at this point in the history
  • Loading branch information
niklasad1 authored Mar 5, 2024
2 parents d007188 + ec30d2f commit fccb7ae
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion substrate/frame/contracts/uapi/src/host.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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],
Expand Down
2 changes: 1 addition & 1 deletion substrate/frame/contracts/uapi/src/host/riscv32.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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],
Expand Down
10 changes: 5 additions & 5 deletions substrate/frame/contracts/uapi/src/host/wasm32.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
);
Expand All @@ -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,
Expand All @@ -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,
Expand Down Expand Up @@ -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],
Expand All @@ -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(),
Expand Down

0 comments on commit fccb7ae

Please sign in to comment.