[英]Why are my Ethereum smart contract transactions not showing up after X amount of transactions?
I'm testing a very simple contract I made (just has one function that emits a particular event) on the Kovan testnet.我正在 Kovan 测试网上测试我制作的一个非常简单的合约(只有一个 function 发出特定事件)。 Now this works perfectly fine on it's own, however when using web3.py and making many transactions in a short period of time (500 in maybe 5-10mins), only 1/3 of them seem to show up, than it just stops updating ( using this to see contract transactions ), note, web3.py throws no error, and interacting with the contract on remix still shows success, however I'm simply unable to see any updates.现在这本身就可以很好地工作,但是当使用 web3.py 并在短时间内(500 可能在 5-10 分钟内)进行许多交易时,似乎只有 1/3 出现,而不是停止更新(使用它来查看合约交易),请注意,web3.py 不会引发错误,并且在 remix 上与合约交互仍然显示成功,但是我根本看不到任何更新。 So I'm just curious if there's any rate limiting, or just a function of Ethereum/smart contracts I'm unfamiliar with that's causing this problem.所以我只是好奇是否有任何速率限制,或者只是我不熟悉的以太坊/智能合约的 function 导致了这个问题。
For anyone with the same problem, I just jacked up the gasPrice, and switched over to Ropsten testnet.对于任何有同样问题的人,我只是提高了 gasPrice,然后切换到 Ropsten 测试网。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.