-
Notifications
You must be signed in to change notification settings - Fork 65
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(HIP-367) Mirror Node Queries (#930)
* feat: Modified TokenRelationship and added fromJSON method Signed-off-by: gsstoykov <georgi.stoykov@limechain.tech> * feat: Added Mirror Node Gateway and modified AccountBalanceQuery to fetch from it Signed-off-by: gsstoykov <georgi.stoykov@limechain.tech> * chore: Added some comments and removed TokenRel deprecation from ContractInfo Signed-off-by: gsstoykov <georgi.stoykov@limechain.tech> * chore: Skipped mocking AccountBalance unit tests as they require data from Mirror Node Signed-off-by: gsstoykov <georgi.stoykov@limechain.tech> * feat: WIP for AccountInfoQuery Signed-off-by: gsstoykov <georgi.stoykov@limechain.tech> * feat: Added token relationship queries for AccountInfo, ContractInfo Signed-off-by: gsstoykov <georgi.stoykov@limechain.tech> * chore: Clean up redundant code and typos added test suite Signed-off-by: gsstoykov <georgi.stoykov@limechain.tech> * feat: Introduce sleep to tests which rely on mirror node updates Signed-off-by: gsstoykov <georgi.stoykov@limechain.tech> * feat: Refactor mirror_node_gateway. Removed redundant tests Signed-off-by: gsstoykov <georgi.stoykov@limechain.tech> * feat: Refactor AccountBalance Signed-off-by: gsstoykov <georgi.stoykov@limechain.tech> * feat: Added TokenRelationship unit tests Signed-off-by: gsstoykov <georgi.stoykov@limechain.tech> * feat: Added more ContractInfo tests Signed-off-by: gsstoykov <georgi.stoykov@limechain.tech> * chore: address PR comments Signed-off-by: Ivan Ivanov <ivanivanov.ii726@gmail.com> * chore: apply linter Signed-off-by: Ivan Ivanov <ivanivanov.ii726@gmail.com> * chore: address PR comments Signed-off-by: Ivan Ivanov <ivanivanov.ii726@gmail.com> * chore: address PR comments Signed-off-by: Ivan Ivanov <ivanivanov.ii726@gmail.com> * chore: update local node version Signed-off-by: Ivan Ivanov <ivanivanov.ii726@gmail.com> --------- Signed-off-by: gsstoykov <georgi.stoykov@limechain.tech> Signed-off-by: Ivan Ivanov <ivanivanov.ii726@gmail.com> Co-authored-by: Ivan Ivanov <ivanivanov.ii726@gmail.com>
- Loading branch information
Showing
22 changed files
with
758 additions
and
99 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.