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

ots_getContractCreator is very slow for some contracts #2381

Open
JamesHinshelwood opened this issue Feb 21, 2025 · 0 comments
Open

ots_getContractCreator is very slow for some contracts #2381

JamesHinshelwood opened this issue Feb 21, 2025 · 0 comments

Comments

@JamesHinshelwood
Copy link
Contributor

Since it does a linear search of the sender's transactions, it can be very slow, e.g.

xh post https://api.zq2-protomainnet.zilliqa.com jsonrpc=2.0 id=1 method=ots_getContractCreator params:='["0x349dDdb46DfAf65D978c7dAfD382D468bDb077dE"]'
@JamesHinshelwood JamesHinshelwood changed the title ots_getContractCreator is *very* slow for some contracts ots_getContractCreator is very slow for some contracts Feb 21, 2025
JamesHinshelwood added a commit that referenced this issue Feb 21, 2025
Disable the API on our API nodes until
#2381 is resolved.
JamesHinshelwood added a commit that referenced this issue Feb 21, 2025
Disable the API on our API nodes until
#2381 is resolved.
github-merge-queue bot pushed a commit that referenced this issue Feb 28, 2025
Disable the API on our API nodes until
#2381 is resolved.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant