codius/codiusd

Hosts fail to process contracts when public vars are included but the private field is not defined

Opened this issue · 0 comments

Hosts fail to process contracts whenever the public vars are defined but the private field is not included in the manifest. Here's the output from the Codius CLI:

codius-cli:uploadHandler Pod Upload failed Error: Request Failed +8s
Failed To Upload Pods to:
[ { error: 'Request Failed',
    host: 'https://codius.andros-connector.com',
    status: 500,
    statusText: 'Internal Server Error' } ]

The standard manifest schema does not require the private vars field to be specified, its entirely optional. The contract uploaded successfully when I added an empty private vars field. The upload also worked when the public and private vars fields were both left out.