You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We need to include the direct gas charges assessed by contract operations (unchanged for mono-service compatibility) in the transactionFee field in mod-service.
Solution
Add a HandleContext#includeDirectFeePayment(long) method, and call it at the end of a contract operation's handle() once the net gas cost (upfront cost minus any refund) is known.
Alternatives
No response
The text was updated successfully, but these errors were encountered:
Problem
We need to include the direct gas charges assessed by contract operations (unchanged for mono-service compatibility) in the
transactionFee
field in mod-service.Solution
Add a
HandleContext#includeDirectFeePayment(long)
method, and call it at the end of a contract operation'shandle()
once the netgas
cost (upfront cost minus any refund) is known.Alternatives
No response
The text was updated successfully, but these errors were encountered: