Skip to content
This repository has been archived by the owner on Feb 26, 2024. It is now read-only.

adjusting to rpc limits #6160

Open
1 task
hypnagonia opened this issue Aug 9, 2023 · 2 comments
Open
1 task

adjusting to rpc limits #6160

hypnagonia opened this issue Aug 9, 2023 · 2 comments

Comments

@hypnagonia
Copy link


I want to develop and deploy a set of contracts (lets say 10)
Using infura rpc, free plan

Due too many requests like getBalance, getReceipt, getBlocks, the deployment ends up with rpc rejection and the process gets terminated with a non-zero code

How i could at least add a retry logic with a cooldown instead of complete termination or adjust the requests per minute rate of hitting an rpc provider?

@GauravDhak
Copy link

hey 🖐️@hypnagonia i can help you to solve this issue

@eggplantzzz
Copy link
Contributor

Hey @hypnagonia, currently this isn't possible in Truffle. We would have to implement some sort of retry logic as you described. We'll put it in the backlog, thanks!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants