-
Notifications
You must be signed in to change notification settings - Fork 0
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
Feat/objectarium instance #82
Conversation
69389d3
to
91a23c7
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! 👍
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As a general remark, errors are handled nowhere in code and I see no relevant test suite.
Are there plans to implement it in the near future?
That's a good question. AFAIU, the code for indexing (i.e. mapping) is ran in a virtual machine (required for decentralisation) driving the process. That's why the best approach here is the "let's propagate" and "fail fast" pattern, and just let the node runner do what it takes to process properly. Test suites are considered, but it's currently difficult to achieve. You can get more info here: https://academy.subquery.network/build/testing.html |
@ccamel |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
Following remarks about error handling, I agree with the failing fast mechanism and to go further, I think this is something that should be took into account at the operation level and be monitored :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
🎉 This PR is included in version 1.0.0 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
This PR finishes the following issue by implementing a objectarium handler for indexing the initialization of objectarium smart contracts:
As of date there seems to be a problem filtering the code id through the manifest so the contract filtering is implemented in the handler.
objectaria query including config and limits