mirror of
https://github.com/pezkuwichain/revive.git
synced 2026-10-20 18:56:17 +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:
1 parent
84018c18ae
commit
df1921ba93
3 files changed
+10
-15
No files matched your search
@@ -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