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
+1 -4
View File
@@ -66,11 +66,9 @@ pub static SET_STORAGE: &str = "set_storage_or_clear";
pub static VALUE_TRANSFERRED: &str = "value_transferred";
pub static WEIGHT_TO_FEE: &str = "weight_to_fee";
/// All imported runtime API symbols.
/// Useful for configuring common attributes and linkage.
pub static IMPORTS: [&str; 33] = [
pub static IMPORTS: [&str; 32] = [
ADDRESS,
BALANCE,
BALANCE_OF,
@@ -103,7 +101,6 @@ pub static IMPORTS: [&str; 33] = [
SET_IMMUTABLE_DATA,
SET_STORAGE,
VALUE_TRANSFERRED,
WEIGHT_TO_FEE,
];
/// Creates a LLVM module from the [BITCODE].