Skip to content

feat(dapp): improve gas management on transactions#1077

Open
VmMad wants to merge 4 commits intodevelopfrom
tooling-dapp/fix-names-price
Open

feat(dapp): improve gas management on transactions#1077
VmMad wants to merge 4 commits intodevelopfrom
tooling-dapp/fix-names-price

Conversation

@VmMad
Copy link
Copy Markdown
Member

@VmMad VmMad commented Jan 14, 2026

When buying a name that costs 50 IOTA and you only have 50 IOTA you will get an error that you cannot pay for the transaction but the cost remains 50 IOTA, which is unclear because we should include the gas price even if the user cannot pay for it

@@ -232,6 +232,7 @@ export function RenewNameDialog({ setOpen, name, onRenew }: RenewDialogProps) {
const disableEdit = isSendingTransaction || isSigning || renewOptions.length === 0;
const disableSave = isLoading || !canRenew || !renewYears || !updateNameTransaction;
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
const disableSave = isLoading || !canRenew || !renewYears || !updateNameTransaction;
const disableSave = isLoading || !canRenew || !renewYears || txError;

@KeitoTadashi KeitoTadashi self-requested a review January 16, 2026 14:25
Copy link
Copy Markdown
Contributor

@KeitoTadashi KeitoTadashi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

disable button here, I was able to hit renew and approve the TX, then renew succesfully pop, but TX failed

Grabacion.de.pantalla.desde.2026-01-16.15-05-30.mp4

@VmMad VmMad self-assigned this Feb 6, 2026
@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Feb 6, 2026

This pull request has been deployed to Vercel.

Latest commit: 4c589f8
✅ Preview: https://iota-names-1lokwmdrg-iota1.vercel.app
🔍 Inspect: https://vercel.com/iota/iota-names/HPRvRmUws42oexmDKTG28B9eAFF2

View Workflow Logs

KeitoTadashi
KeitoTadashi previously approved these changes Feb 9, 2026
Copy link
Copy Markdown
Contributor

@brancoder brancoder left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

requested a change until we decide how to display the price

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants