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
Describe the bug
Currently, when we call TransactionBuilder.builder, regardless of whether sorobanData exists or not, the way we calculate the fee is op_count * baseFee. However, the meaning of the fee is the maximum stroops willing to be paid for this transaction. So I wonder if we should add the resourceFee in sorobanData to the fee?
Describe the bug
Currently, when we call
TransactionBuilder.builder
, regardless of whethersorobanData
exists or not, the way we calculate the fee isop_count * baseFee
. However, the meaning of the fee is the maximum stroops willing to be paid for this transaction. So I wonder if we should add theresourceFee
insorobanData
to thefee
?What version are you on?
c4f9989
To Reproduce
See
js-stellar-base/src/transaction_builder.js
Lines 579 to 681 in c4f9989
Expected behavior
See above.
Additional context
N/A
The text was updated successfully, but these errors were encountered: