From e870d2d125c336f95586588542dd3e50d919fc0a Mon Sep 17 00:00:00 2001 From: Arseniy Lyashenko Date: Thu, 19 Oct 2023 00:41:26 +0300 Subject: [PATCH] Rename generics in `execute` --- core-backend/src/funcs.rs | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/core-backend/src/funcs.rs b/core-backend/src/funcs.rs index 848150de27f..7bfe666ce92 100644 --- a/core-backend/src/funcs.rs +++ b/core-backend/src/funcs.rs @@ -346,22 +346,22 @@ where RunFallibleError: From, Ext::AllocError: BackendAllocSyscallError, { - pub fn execute( + pub fn execute( caller: &mut Caller>, args: &[Value], - builder: B, + builder: Builder, ) -> Result where - B: SysCallBuilder, + Builder: SysCallBuilder, Args: ?Sized, - S: SysCall, - R: Into, + Call: SysCall, + Res: Into, { - crate::log::trace_syscall::(args); + crate::log::trace_syscall::(args); let mut caller = CallerWrap::prepare(caller); - let (ctx, args) = S::Context::from_args(args)?; + let (ctx, args) = Call::Context::from_args(args)?; let sys_call = builder.build(args)?; let (gas, value) = sys_call.execute(&mut caller, ctx)?; let value = value.into();