Skip to content

Conversation

brtkx
Copy link
Contributor

@brtkx brtkx commented Jul 28, 2025

No description provided.

@cla-bot cla-bot bot added the cla-signed label Jul 28, 2025
Copy link

vercel bot commented Jul 28, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
arbitrum-token-bridge ✅ Ready (Inspect) Visit Preview Jul 28, 2025 4:45pm

// the 30% gas limit increase should cover the difference
gasLimit: { percentIncrease: BigNumber.from(30) }
gasLimit: {
percentIncrease: BigNumber.from(DEFAULT_GAS_PRICE_PERCENT_INCREASE)
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Copy link
Member

Choose a reason for hiding this comment

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

This is supposed to be used on gas price, not gas limit, so this ain't right. Looks like we already do the same gas price increase in EthDepositStarter.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Checking if maxFeePerGas to be bumped, and should we bump it in the sdk instead?

@brtkx brtkx changed the title feat: show banner for ETH deposits and bump retryable gas feat: show banner for ETH deposits and bump gas Jul 28, 2025
// the 30% gas limit increase should cover the difference
gasLimit: { percentIncrease: BigNumber.from(30) }
gasLimit: {
percentIncrease: BigNumber.from(DEFAULT_GAS_PRICE_PERCENT_INCREASE)
Copy link
Member

Choose a reason for hiding this comment

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

This is supposed to be used on gas price, not gas limit, so this ain't right. Looks like we already do the same gas price increase in EthDepositStarter.

Comment on lines +178 to +184
const hasPendingArbitrumBridgeDeposits = useMemo(() => {
return transactions.some(
tx =>
!tx.isWithdrawal &&
isTxPending(tx) &&
getTransactionType(tx) === 'arbitrum'
)
Copy link
Member

Choose a reason for hiding this comment

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

Should we just simplify this and show it at all times, and maybe alter the message to include something like "If you have pending deposits..."

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I'm not sure about this, because we already have information overload with different banners in transaction history. I think we should only display them to the relevant users.

@brtkx brtkx marked this pull request as draft July 29, 2025 09:23
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.

2 participants