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:
xermicus
2025-10-30 14:43:55 +01:00
committed by GitHub
parent 84018c18ae
commit df1921ba93
3 changed files with 10 additions and 15 deletions
+2 -2
View File
@@ -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",
)?;