Skip to content

Commit

Permalink
Move fee to function call (#55)
Browse files Browse the repository at this point in the history
  • Loading branch information
aoudiamoncef authored Oct 20, 2023
1 parent b75ccec commit 2f91517
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions proto/commons/massa/model/v1/execution.proto
Original file line number Diff line number Diff line change
Expand Up @@ -393,10 +393,8 @@ message ReadOnlyExecutionCall {
//
// Whether to start execution from final or active state
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;
massa.model.v1.NativeAmount fee = 7;
}

/// Execute a bytecode
Expand All @@ -415,6 +413,8 @@ message FunctionCall {
string target_function = 2;
// Parameter to pass to the target function
bytes parameter = 3;
// Coins transferred to the target address during the call
massa.model.v1.NativeAmount coins = 4;
}

// Structure describing the output of a read only execution
Expand Down

0 comments on commit 2f91517

Please sign in to comment.