It seems like it is never properly tested. In #437 some bugs were already solved but there are more:
[x] jumpscale.core.exceptions.exceptions.Value: Argument must be of type UnlockHash, got type <class 'tfchaintypes.ConditionTypes.UnlockHash'>
File "/Users/rob/sandbox/code/github/threefoldfoundation/tft-stellar/ThreeBotPackages/tfchainmigration_service/actors/tfchainmigration_service.py", line 214, in migrate_tokens
is_authorized = self._is_authorized(unlockhash.unlockhash)
[x] TypeError: the JSON object must be str, bytes or bytearray, not Response
File "/Users/rob/sandbox/code/github/threefoldfoundation/tft-stellar/ThreeBotPackages/tfchainmigration_service/actors/tfchainmigration_service.py", line 169, in _is_authorized
# parse response
File "/Users/rob/Library/Caches/pypoetry/virtualenvs/js-sdk-Dbu3Jec3-py3.9/lib/python3.9/site-packages/jumpscale/data/serializers/json.py", line 38, in loads
[x] {"error": "{\n \"type\": \"https://stellar.org/horizon-errors/not_found\",\n \"title\": \"Resource Missing\",\n \"status\": 404,\n \"detail\": \"The resource at the url requested was not found. This usually occurs for one of two reasons: The url requested is not valid, or no data in our database could be found with the parameters provided.\"\n}"}
[x] AttributeError: 'TFchainmigration_service' object has no attribute '_tft_issuing_pool'
File "/Users/rob/sandbox/code/github/threefoldfoundation/tft-stellar/ThreeBotPackages/tfchainmigration_service/actors/tfchainmigration_service.py", line 97, in transfer
pool = self._tft_issuing_pool if asset_code == "TFT" else self._tfta_issuing_pool
│ │ └ <tfchainmigration_service.TFchainmigration_service object at 0x113dac850>
│ └ 'TFT'
[x] Sending locked tokens does not work
Traceback (most recent call last):
File "src/gevent/greenlet.py", line 906, in gevent._gevent_cgreenlet.Greenlet.run
File "/Users/rob/sandbox/code/github/threefoldfoundation/tft-stellar/ThreeBotPackages/tfchainmigration_service/actors/tfchainmigration_service.py", line 94, in transfer
return self._transfer_locked_tokens(destination_address, amount, asset, locked_until, memo_hash)
File "/Users/rob/sandbox/code/github/threefoldfoundation/tft-stellar/ThreeBotPackages/tfchainmigration_service/actors/tfchainmigration_service.py", line 114, in _transfer_locked_tokens
conversion_wallet._set_escrow_account_signers(
It seems like it is never properly tested. In #437 some bugs were already solved but there are more:
jumpscale.core.exceptions.exceptions.Value: Argument must be of type UnlockHash, got type <class 'tfchaintypes.ConditionTypes.UnlockHash'>
[x]
TypeError: the JSON object must be str, bytes or bytearray, not Response