cBridge-node icon indicating copy to clipboard operation
cBridge-node copied to clipboard

Arbitrum bridge transaction stuck

Open KryptoKingz opened this issue 4 years ago • 4 comments

https://etherscan.io/tx/0xbad46726522f44e1646f67c6d8455a1522662dde96aefd26eaf7f816f9e19a1c

This transaction went through

I then got a request to release funds

This transaction is stuck even after lifting gas to 250k and funds are nowhere to be seen

https://etherscan.io/tx/0xfe28c4abf47877a633978985deef43ab4962356fc4a3e8a830c8c18b0bd654e9

KryptoKingz avatar Sep 11 '21 13:09 KryptoKingz

Can you send some error in your log? BTW, for Arbitrum, the gas estimation may be unstable so some manual setting might be required. https://github.com/celer-network/cBridge-node/blob/0975e3739ff34bd8400cffd8e2d18c1755f09d7e/server/server.go#L542 https://github.com/celer-network/cBridge-node/blob/0975e3739ff34bd8400cffd8e2d18c1755f09d7e/server/server.go#L560 https://github.com/celer-network/cBridge-node/blob/0975e3739ff34bd8400cffd8e2d18c1755f09d7e/server/server.go#L578

You can set the gas limit manually. eth.WithGasLimit(3200000)

Example:

if bc.chainId.Uint64() == 42161 {
    _, err := bc.trans.Transact(
        logTransactionStateHandler(fmt.Sprintf("receipt transferIn, transferId: %x", transferId)),
        func(ctr bind.ContractTransactor, opts *bind.TransactOpts) (*ethtypes.Transaction, error) {
            cbt, err2 := contracts.NewCBridgeTransactor(bc.contractChain.GetAddr(), ctr)
	    if err2 != nil {
                return nil, err2
	    }
            return cbt.TransferIn(opts, dstAddr, token, amount, hashLock, timeLock, srcChainId, srcTransferId)
        },
        eth.WithTimeout(transactorWaitTimeout),
        eth.WithGasLimit(3200000)
    )
    return err
}

liuxiaobleach avatar Sep 12 '21 18:09 liuxiaobleach

Looks like your transaction did go through eventually. It was probably sent when the Ethereum mainnet was a bit congested and the average gas price was higher than the number specified. Currently we don't have a mechanism to bump the gas price and retry the transaction, but we will consider adding it.

Dominator008 avatar Sep 12 '21 19:09 Dominator008

My transaction on Arbitrum network is stuck since hours and didn't reach destination wallet. Need support to resolve this issue. thanks

Txid: 0x72e7e3702a064e3e461820b3ac9acb11e3b35d62604c5ddfd7ad88df6a7492f7 https://arbiscan.io/tx/0x72e7e3702a064e3e461820b3ac9acb11e3b35d62604c5ddfd7ad88df6a7492f7

shahid1956 avatar May 03 '22 14:05 shahid1956

HI someone could help with this https://arbiscan.io/tx/0x3f209c373fe319c366a5b9468852fe63aa97982cb3bff70d2331b5498d2b59b5 This transaction looks stuck since 2021... and no one was able to help me.. what I can do?

Thanks

cryptorueda avatar Feb 20 '23 22:02 cryptorueda