From 7fe01400601cee5c5a889f2f380e36814cae7b17 Mon Sep 17 00:00:00 2001 From: Moncef AOUDIA Date: Fri, 20 Oct 2023 11:04:39 +0200 Subject: [PATCH] refactor: move fee to function call --- proto/commons/massa/model/v1/execution.proto | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/proto/commons/massa/model/v1/execution.proto b/proto/commons/massa/model/v1/execution.proto index 1022a69..dd1b642 100644 --- a/proto/commons/massa/model/v1/execution.proto +++ b/proto/commons/massa/model/v1/execution.proto @@ -395,8 +395,6 @@ message ReadOnlyExecutionCall { bool is_final = 6; // Coins transferred to the target address during the call massa.model.v1.NativeAmount coins = 7; - // fee paid by the caller when the call is processed. - massa.model.v1.NativeAmount fee = 8; } /// Execute a bytecode @@ -415,6 +413,8 @@ message FunctionCall { string target_function = 2; // Parameter to pass to the target function bytes parameter = 3; + // fee paid by the caller when the call is processed. + massa.model.v1.NativeAmount fee = 4; } // Structure describing the output of a read only execution