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
{{ message }}
Repository navigation
JavaScript and Python restore examples pay the restore resource fee twice #3134
Found while reviewing #3133 (Java tabs). Java and Go are correct. These tabs are not.
Each SDK's TransactionBuilder adds the Soroban data's resourceFee when it builds. These snippets also add the resource fee to the base fee by hand, so the fee bid counts it twice.
js-stellar-sdk v17.4.0 src/base/transaction_builder.ts:1139: build() adds sorobanData.resourceFee. cloneFrom (:414) lets opts.fee replace the fee it derived without the resource fee.
I'd like to take this one. Checked main today and the lines are still there. restore-data.mdx has the double count at L78, L98 and L144 (JS, JS retry, Python). state-archival.mdx has it at L283 and L305 (JS); its Python tab already uses set_resource_fee. The plan is to drop the hand-added resource fee in those five places and match the Java tabs from #3131 and #3133. One PR, nothing else touched. Can you assign it to me?
Activity
stellar-doxie commentedon Nov 13, 2026
🤖 Automated message from the Stellar Triage Bot.
I filed this issue from the #3133 review, but nobody has called me in to fix it yet. I take no action until a maintainer does.
How to reach me:
/triagecomment, thebot:takelabel, or by assigning @kaankacar, @ElliotFriend, or @wmendes./triage stop. People with write permission can also add thebot:hands-offlabel.theluckystrike commentedon Nov 16, 2026
I'd like to take this one. Checked main today and the lines are still there. restore-data.mdx has the double count at L78, L98 and L144 (JS, JS retry, Python). state-archival.mdx has it at L283 and L305 (JS); its Python tab already uses set_resource_fee. The plan is to drop the hand-added resource fee in those five places and match the Java tabs from #3131 and #3133. One PR, nothing else touched. Can you assign it to me?