Polygon Mumbai 网络上的 Web3j 待处理交易,但可与 Goerli Testnet 网络一起使用

Web3j Pending Transactions on Polygon Mumbai Network but works with Goerli Testnet Network

我在使用 Polygon Mumbai 网络时遇到 Web3j 问题,我已经尝试了几种与智能合约通信的方法,但它向网络发送了请求,但交易将在一段时间内保持挂起状态分钟然后消失。它指出

"This txn hash was found in our secondary node and should be picked up by our indexer in a short while."

一开始,然后在几分钟内没有发现任何交易。以下是我尝试过的一些东西

最后,尝试通过 URL 更改连接到 Goerli Testnet 网络,并且合约部署和交易都在几秒钟内成功。

知道我为什么会出现这种行为吗?任何指针

ERC - 孟买 721 合同 - https://mumbai.polygonscan.com/address/0x13fb4790d16f59f5ce98e10b61c3210a41c60261

在孟买测试简单合约 - https://mumbai.polygonscan.com/address/0x1adc1ee6ab16571368a71db7841274bcaaadaf62

ERC-721 Web3j 在歌尔里部署合约 - https://goerli.etherscan.io/address/0xb5342a93b37e4685a529f68110bc51afa0465a81 ** 请注意,代码有一些错误,因此 Contract 部署时出现了一些错误,但能够调用方法,但由于错误,它从未生成令牌

Goerli 通过 Web3j 进行交易 - https://goerli.etherscan.io/tx/0xf9c29957824049baa0c7b1d44f0e347840986baf2b6018fda0a03dec627596de

谢谢, Mihindu Karunarathne

尚未调查它发生的原因,但当我切换到 Raw Transaction 时,TransactionManager 的实现似乎有一些问题确实有效

https://mumbai.polygonscan.com/tx/0x4ed966585a41aab48bd950483fddf4e9516ca435bf8c891ab318a4c55e58ed3b

谢谢, 印度教 K