-
Notifications
You must be signed in to change notification settings - Fork 678
Odd behavior when sending multiple transactions on forked node #1246
Comments
@moda20 what version of ganache are you using? |
it's the cli version 6.12.2 |
Thanks! Can you try the latest alpha at the new package name,
This version actually has a built in rate limiter:
Run
|
Was trying your solution, but having issues with unlocking the default accounts on deterministic account generation. it doesn't work with an empty passphrase. EDIT : I had to not lock accounts in order to not have that issue. |
Well i tried the new I am really confused by this issue and I'm going to post my test cases here in order to try and get more info on this : My tests are transactions to Pancakeswap
NOTE : the timings are the durations of the requests from transactions initiation to receipt logs decoding, they are not exactly representative of the transaction time but they are not important here
all transactions are made to the same node in batch of 2.
the same issue is present, where the timing of both transactions are very near but they never both pass. Can somebody explain this, and maybe an idea for a workaround? right now I can't use multiple ganache nodes as that also produces other bugs probably with my provider. |
I'm currently working on forking performance issues in ganache@alpha (#1339 and #1248), so those performance issues will be resolved very soon; ganache v7-alpha forking should be about 20x times faster than ganache-cli. And thank you for the note about locked accounts, I'll look into that. As far as the other issues, I won't have a chance to look into those this weekend. |
@moda20 We think these issues should be resolved in the next alpha version of Ganache that should be out in the next few days! Keep an eye out for that release and let us know if you are still having these issues. Thanks! |
HI @moda20 can you check this with the newest version of ganache? Please let us know if that helps!
The release notes for the latest release, in case it helps: https://github.com/trufflesuite/ganache/releases/tag/ganache%407.0.0-beta.1 |
@moda20 Closing this for issue maintenance. Do note that Ganache 7 has now been officially released! If there's still a problem on that, please let us know. |
HI, I am having huge issues when sending multiple smart contract calls (transactions), they don't all pass. when sending more than 1 transaction at the same time only one would pass. I am using the CLI to fork bsc mainnet network from
getBlock
.I would like to know if there are any limitations on the fork feature on the number of requests sent. Otherwise it would be a problem with my forked provider.
EDIT : getblock has a 30call per second limitation, could my smart contract calls trigger more than 30 contract to contract calls ?
The text was updated successfully, but these errors were encountered: