Hello Team,
First of all thank you for the hard work and progress of the Aeternity node and SDKs.
I would like to ask if somebody has experienced issues related to execution of smart contract calls on the mainnet.
What we are executing the following:
- running deployment of 2 linked contracts
- executing 13 tests with stateful calls and read calls to those contracts
Everything runs brilliantly well on testnet with average 6 secs for stateful calls and 1 sec for read calls.
However, running the same routine on the mainnet results into following:
- rarely super delayed execution (minutes) per Tx
- most of the times - handing Tx
The effect we observe on the client side using the JS SDK is either TTL timeout or similar to
UnhandledPromiseRejectionWarning: Error: While calling getTransactionByHash (hash), GET to http://3.124.2.21:3013/v2/transactions/th_2PbfvgdPeg3fNoPzixQdUtz55rVeZBGXqfGsymfEAK4pFku4iS failed with 404: Transaction not found
Our JS SDK is ver 6.1.2.
Many of the Transactions though are processed at a very late stage. Here is a look at the account activity history:
We are running ver 5.2 of the node:
and we’ve tested also with:
https://sdk-mainnet.aepps.com
https://node.mainnet.aeternal.io
Sometimes, magically, Transactions get processed on-time (within 30 secs), but most of the time client hangs till TTL expires.
Our theory is a bit mind-annoying: contract Tx get ignored by the majority of the miners. That is why we increased the nominal 1000000000 gas Price to 10000000000, but still this does not help.
A Question to devs who work on Aepps already working with mainnet contracts - is this a behavior you have observed?
Anyone who can help us improve the interaction with contracts on mainnet is welcome!
Thank you in advance for the help!
Regards,
Emil