Harden shock strategy contract safety

This commit is contained in:
Theodore Song
2026-08-21 17:54:47 -04:00
parent 4513f266c5
commit 3efc5484c3
6 changed files with 69 additions and 22 deletions
+1 -1
View File
@@ -128,7 +128,7 @@ async function main() {
const branch = process.env.RUNTIME_BRANCH || "runtime-state";
const pathname = process.env.RUNTIME_STATE_PATH || "runtime/state.json";
const arenaUrl = (process.env.ARENA_URL || "https://polymarket-site-eta.vercel.app").replace(/\/$/, "");
const expectedBuild = Number(required("EXPECTED_BUILD", "93"));
const expectedBuild = Number(required("EXPECTED_BUILD", "94"));
await ensureRuntimeBranch(repository, branch);
const prior = await readRuntimeFile(repository, branch, pathname);
if (prior.snapshot) validateRuntimeSnapshot(prior.snapshot, 0, { allowIncomplete: true });