-
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/engt 1220 #611
Feat/engt 1220 #611
Conversation
packages/core/src/implementations/business/utilities/query/NetworkQueryEvaluator.ts
Outdated
Show resolved
Hide resolved
packages/core/src/implementations/business/utilities/query/NftQueryEvaluator.ts
Outdated
Show resolved
Hide resolved
packages/core/src/implementations/business/utilities/query/NftQueryEvaluator.ts
Show resolved
Hide resolved
packages/core/src/implementations/business/utilities/query/NftQueryEvaluator.ts
Show resolved
Hide resolved
packages/core/src/implementations/business/utilities/query/NftQueryEvaluator.ts
Outdated
Show resolved
Hide resolved
packages/core/src/implementations/business/utilities/query/NftQueryEvaluator.ts
Outdated
Show resolved
Hide resolved
packages/core/src/implementations/business/utilities/query/Web3QueryEvaluator.ts
Outdated
Show resolved
Hide resolved
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.
The vast majority of this is just changing the naming. That's all OK. But make sure the template updates are minimized.
...ges/core/src/implementations/business/utilities/query/BlockchainTransactionQueryEvaluator.ts
Outdated
Show resolved
Hide resolved
packages/core/src/implementations/business/utilities/query/Web3QueryEvaluator.ts
Outdated
Show resolved
Hide resolved
packages/query-parser/src/implementations/business/QueryObjectFactory.ts
Outdated
Show resolved
Hide resolved
packages/query-parser/src/implementations/business/SDQLParser.ts
Outdated
Show resolved
Hide resolved
packages/query-parser/src/implementations/business/SDQLParser.ts
Outdated
Show resolved
Hide resolved
Need to update:
|
packages/query-parser/src/interfaces/objects/AST_BlockchainTransactionQuery.ts
Outdated
Show resolved
Hide resolved
packages/query-parser/src/implementations/business/SDQLParser.ts
Outdated
Show resolved
Hide resolved
packages/query-parser/src/implementations/business/SDQLParser.ts
Outdated
Show resolved
Hide resolved
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.
Better. Couple of more fixes I found. Very close.
packages/core/test/unit/business/query/BlockchainTransactionQuery.test.ts
Outdated
Show resolved
Hide resolved
packages/query-parser/src/implementations/business/SDQLParser.ts
Outdated
Show resolved
Hide resolved
packages/query-parser/src/implementations/business/SDQLParser.ts
Outdated
Show resolved
Hide resolved
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.
I saw that network queries were changed to blockchain_transactions in the IP. So, it should not be able to parse network queries any more, am I right?
That was left over from previous work, I will correct that . In the end we use "network" for query name. |
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.
Looks like it will work!
Summary: Added nft query to the core
https://snickerdoodlelabs.atlassian.net/browse/ENGT-1220?atlOrigin=eyJpIjoiNjQ2MmUxNjZjNWQ4NDM0Yzg5MmJmMDIzOTJkMjgyNzQiLCJwIjoiaiJ9
Intended results: Nft holdings of the users should be able to be asked in a query and should return the nft holdings as insight
Potential failures:
Not getting nft holdings in the response
Not processing the nft query
Getting incorrect insights
Metrics to watch:
Should be able to get nft holdings as response
Should be able to process nft query
Returned insights should be correct