mirror of
https://github.com/pezkuwichain/revive.git
synced 2026-06-12 23:21:01 +00:00
runtime-api: sync syscall function signatures with pallet (#397)
This PR synchronizes the syscall function signatures in the runtime-api with the current revive pallet API surface. Signed-off-by: xermicus <cyrill@parity.io>
This commit is contained in:
@@ -99,7 +99,7 @@ pub fn call<'ctx>(
|
||||
let is_success = context.builder().build_int_compare(
|
||||
inkwell::IntPredicate::EQ,
|
||||
success,
|
||||
context.integer_const(revive_common::BIT_LENGTH_X64, 0),
|
||||
context.integer_const(revive_common::BIT_LENGTH_X32, 0),
|
||||
"is_success",
|
||||
)?;
|
||||
|
||||
@@ -178,7 +178,7 @@ pub fn delegate_call<'ctx>(
|
||||
let is_success = context.builder().build_int_compare(
|
||||
inkwell::IntPredicate::EQ,
|
||||
success,
|
||||
context.integer_const(revive_common::BIT_LENGTH_X64, 0),
|
||||
context.integer_const(revive_common::BIT_LENGTH_X32, 0),
|
||||
"is_success",
|
||||
)?;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user