You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Summary:
Trying to create template for hybrid custody contracts. There is a vague Error when trying to deploy AddressUtils contract.
ArrayUtils and StringUtils contracts deployed without an issue.
"errors": [
{
"message": "something went wrong, we are looking into the issue",
"path": [
"createContractDeployment"
],
"extensions": {
"code": "INTERNAL_SERVER_ERROR"
}
}
],
"data": null,
"extensions": {
"code": "INTERNAL_SERVER_ERROR"
}
}
This issue is related to the address translation layer: onflow/flow-playground-api#315
Removing address translation should enable deployment of these contracts.
In playground
https://play.flow.com/d0ae9fd0-2d74-479d-bc93-71770f5a233b
Summary:
Trying to create template for hybrid custody contracts. There is a vague Error when trying to deploy AddressUtils contract.
ArrayUtils and StringUtils contracts deployed without an issue.
Response from Server
https://github.com/onflow/hybrid-custody-scaffold/blob/main/cadence/contracts/flow-utils/AddressUtils.cdc
contract code
This seems to be the problem code, when I remove items in the array, the contract deploys. if only "0x00001" value in array the contract deploys.
running locally server output is
Failed to deploy contract
{"timestamp":"2023-07-27T20:15:42Z","message":"GQL Request Client Error: \u003cnil\u003e err = input: createContractDeployment failed to deploy contract: Parsing failed:\nerror: unexpected token in import declaration: got decimal integer, expected string, address, or identifier\n --\u003e :1:24\n |\n1 | import StringUtils from 4x45\n | ^\n","severity":"WARNING","context":{"data":{"error":{"message":"failed to deploy contract: Parsing failed:\nerror: unexpected token in import declaration: got decimal integer, expected string, address, or identifier\n --\u003e :1:24\n |\n1 | import StringUtils from 4x45\n | ^\n","path":["createContractDeployment"]}}}}
The text was updated successfully, but these errors were encountered: