Lint Intelligent Contract
genlayer_lint_contractCheck a GenLayer contract for common pre-deploy errors that cause invalid deployment or consensus failure, including runner header issues, missing gl.Contract, and Python-subset violations.
Instructions
Static pre-deploy checks for a GenLayer contract. Catches the mistakes that make a deploy finalize with a bare invalid_contract or fail consensus: a comment directly under the runner header, unpinned/alias runners, missing gl.Contract, and GenVM Python-subset issues (for/sorted/lambda) and storage anti-patterns.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | Full contract source to lint. |