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

Cache params #109

Open
vaibhavchellani opened this issue Jan 15, 2021 · 2 comments
Open

Cache params #109

vaibhavchellani opened this issue Jan 15, 2021 · 2 comments

Comments

@vaibhavchellani
Copy link
Contributor

We have to query for params a lot because we frequently need the depth information, this issue is to cache the parms in memory on init() and use that value everywhere.

@ChihChengLiang
Copy link
Collaborator

We can consider not store params in DB since we won't change them once contracts are deployed.

@vaibhavchellani
Copy link
Contributor Author

yeah, that's something on my radar too

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

2 participants