Skip to content

Commit

Permalink
Build fix after ink crate 4.0.0-rc was released
Browse files Browse the repository at this point in the history
Signed-off-by: Sean Young <sean@mess.org>
  • Loading branch information
seanyoung committed Feb 2, 2023
1 parent 40528eb commit 5e4110e
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions integration/substrate/ink/caller/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,7 @@ mod caller {
transfer_value: Option<u128>,
) -> u32 {
build_call::<DefaultEnvironment>()
.call_type(
Call::new()
.callee(callee)
.gas_limit(max_gas.unwrap_or_default()),
)
.call_type(Call::new(callee).gas_limit(max_gas.unwrap_or_default()))
.transferred_value(transfer_value.unwrap_or_default())
.exec_input(ExecutionInput::new(Selector::new(selector)).push_arg(arg))
.returns::<u32>() // FIXME: This should be Result<u32, u8> to respect LanguageError
Expand Down

0 comments on commit 5e4110e

Please sign in to comment.