Conversation
| sys.path.append('/opt/dexbot3/src/') | ||
| sys.path.append('/opt/dexbot3/src/dexilon-python-sdk') | ||
| except: | ||
| print("path not exist") |
Contributor
There was a problem hiding this comment.
А зачем этот кусок?
Author
There was a problem hiding this comment.
это кусок надо переписать, это локальный патч на случай копирования библиотеки локально в пути. В тестах это не критично, это я проверял аутентификацию
Contributor
There was a problem hiding this comment.
давай удалим из codebase?
| if __name__ == "__main__": | ||
| t1 = TestAuthentication() | ||
| t1.setup() | ||
| t1.test_should_get_cosmos_address_mapping_successfully() No newline at end of file |
Contributor
There was a problem hiding this comment.
и зачем нам здесь main?
Author
There was a problem hiding this comment.
это тоже не надо, это патч на скорую руку когда не проходила аутентификацию. Не нужен
| TEST_METAMASK_ADDRESS = '0x201d980aeD5C04a7e75860cFE29CeD9b5da05A08' | ||
| TEST_PRIVATE_KEY = '87d25c8ade8c4bb32be098bb35cd594fd1c0511c4423bf36f006f4ecd27f017c' | ||
| # TEST_METAMASK_ADDRESS = '0x201d980aeD5C04a7e75860cFE29CeD9b5da05A08' | ||
| # TEST_PRIVATE_KEY = '87d25c8ade8c4bb32be098bb35cd594fd1c0511c4423bf36f006f4ecd27f017c' |
Contributor
There was a problem hiding this comment.
давай удалим это?
Upd chain id hardcode to mainnet
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
update of exceptions