This repository has been archived by the owner on Jun 11, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 454
Update Token module endpoints - Closes #7579 #7660 #7705
Merged
shuse2
merged 11 commits into
feature/7211-update_token_module
from
7579-token-endpoints
Oct 29, 2022
Merged
Update Token module endpoints - Closes #7579 #7660 #7705
shuse2
merged 11 commits into
feature/7211-update_token_module
from
7579-token-endpoints
Oct 29, 2022
Conversation
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
bobanm
changed the title
WIP: Update Token module endpoints - Closes #7579
WIP: Update Token module endpoints - Closes #7579 #7660
Oct 27, 2022
Base automatically changed from
7694-remove-redundant-module-config-interface
to
feature/7211-update_token_module
October 27, 2022 23:22
shuse2
reviewed
Oct 28, 2022
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 for the existing implementation
mosmartin
approved these changes
Oct 28, 2022
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.
🚀
…()` and `supportAll()`
bobanm
changed the title
WIP: Update Token module endpoints - Closes #7579 #7660
Update Token module endpoints - Closes #7579 #7660
Oct 29, 2022
shuse2
approved these changes
Oct 29, 2022
ishantiw
pushed a commit
that referenced
this pull request
Nov 15, 2022
### What was the problem? This PR resolves #7579 #7660 ### How was it solved? * Fixed `TokenModule.init()` to get config from a `ModuleConfig` object * Implemented `isSupported` endpoint * Implemented `getInitializationFees` endpoint * Partially implemented `getSupportedTokens` endpoint ### How was it tested? Added unit tests. Skipped the one that should return false when checking if a not-supported token is supported. Co-authored-by: shuse2 <[email protected]>
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What was the problem?
This PR resolves #7579 #7660
How was it solved?
TokenModule.init()
to get config from aModuleConfig
objectisSupported
endpointgetInitializationFees
endpointgetSupportedTokens
endpointHow was it tested?
Added unit tests. Skipped the one that should return false when checking if a not-supported token is supported.