Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

intermittent unreliable contract deploys #874

Closed
mshakeg opened this issue Feb 5, 2023 · 0 comments · Fixed by #883
Closed

intermittent unreliable contract deploys #874

mshakeg opened this issue Feb 5, 2023 · 0 comments · Fixed by #883
Assignees
Labels
dev tools Features enabling dev tool integration enhancement New feature or request limechain P1
Milestone

Comments

@mshakeg
Copy link
Contributor

mshakeg commented Feb 5, 2023

Problem

Developers may want to deploy a number of contracts in a single execution. However, the relay fails intermittently when deploying multiple contracts in succession.

It seems more reliable when deploying smaller contracts than larger ones.

This is possibly a rate-limiting issue on the hashio relay. In which case it might be helpful to increase the default rate limits to accommodate such a requirement.

Solution

  1. Checkout to the branch in this PR
  2. Run the test:smc:testnet script i.e. npm run test:smc:testnet and observe that most if not all of the SillyMediumContracts are deployed.
  3. Run the test:slc:testnet script i.e. npm run test:slc:testnet and observe that a fewer number of SillyLargeContracts are deployed successfully.

Note: Since it's an intermittent issue it's possible that no contract deploy may fail.

Alternatives

No response

@mshakeg mshakeg added the enhancement New feature or request label Feb 5, 2023
@Ivo-Yankov Ivo-Yankov self-assigned this Feb 6, 2023
@Nana-EC Nana-EC added limechain P1 dev tools Features enabling dev tool integration labels Feb 6, 2023
@Nana-EC Nana-EC added this to the 0.18.0 milestone Feb 6, 2023
@Ivo-Yankov Ivo-Yankov linked a pull request Feb 8, 2023 that will close this issue
2 tasks
@Nana-EC Nana-EC mentioned this issue Feb 10, 2023
2 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dev tools Features enabling dev tool integration enhancement New feature or request limechain P1
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

3 participants