Skip to content

Commit

Permalink
fix: coins instead of fee
Browse files Browse the repository at this point in the history
  • Loading branch information
aoudiamoncef committed Oct 20, 2023
1 parent 3c9536b commit 07932c7
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;

Check failure on line 397 in proto/commons/massa/model/v1/execution.proto

View workflow job for this annotation

GitHub Actions / check

Field "7" with name "fee" on message "ReadOnlyExecutionCall" changed option "json_name" from "coins" to "fee".

Check failure on line 397 in proto/commons/massa/model/v1/execution.proto

View workflow job for this annotation

GitHub Actions / check

Field "7" on message "ReadOnlyExecutionCall" changed name from "coins" to "fee".
}

/// 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 07932c7

Please sign in to comment.