Skip to content

Commit

Permalink
rust: call add salt supported
Browse files Browse the repository at this point in the history
  • Loading branch information
CaptainVincent authored and axic committed May 21, 2022
1 parent 653d6f9 commit eb8f3dd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions bindings/rust/evmc-client/src/host.rs
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ pub trait HostContext {
gas: i64,
depth: i32,
is_static: bool,
salt: &Bytes32,
) -> (Vec<u8>, i64, Address, StatusCode);
}

Expand Down Expand Up @@ -217,6 +218,7 @@ pub unsafe extern "C" fn call(
msg.gas,
msg.depth,
msg.flags != 0,
&msg.create2_salt.bytes,
);
let ptr = output.as_ptr();
let len = output.len();
Expand Down

0 comments on commit eb8f3dd

Please sign in to comment.