Check contract determinism
check_determinismScan HotPocket contract source for non-deterministic patterns that break cluster consensus, providing guidance to ensure deterministic execution.
Instructions
Heuristic scan of HotPocket contract source for non-deterministic patterns (wall-clock, randomness, network I/O, env, timers, unordered iteration) that break cluster consensus. HIGH findings are likely consensus breakers. Guidance, not a proof.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"source": "<source>"
},
"name": "check_determinism"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source | Yes | the contract JS/TS source to scan |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| summary | No | ||
| findings | No |