From ade19fde9cc30a2517135f4c5ce8c7ad616c4022 Mon Sep 17 00:00:00 2001 From: Cho Young-Hwi Date: Tue, 17 Mar 2026 13:32:32 +0000 Subject: [PATCH 1/2] [#251] Fix createStoryline gas limit: increase to 16M 500-step bonding curve creation requires ~14.4M gas. The 5M limit from PR #245 caused OutOfGas reverts. 16M provides safe headroom. Co-Authored-By: Claude Opus 4.6 (1M context) --- src/app/create/page.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/create/page.tsx b/src/app/create/page.tsx index 3acc29de..0ff2ffc6 100644 --- a/src/app/create/page.tsx +++ b/src/app/create/page.tsx @@ -117,7 +117,7 @@ export default function CreateStorylinePage() { abi: storyFactoryAbi as unknown as [], functionName: "createStoryline", args: [title.trim(), cid, contentHash, hasDeadline], - gas: BigInt(5_000_000), + gas: BigInt(16_000_000), }), }); }} From c929eb0155d3e082b74636fbbcd5ddc31dd19e12 Mon Sep 17 00:00:00 2001 From: Cho Young-Hwi Date: Tue, 17 Mar 2026 13:32:32 +0000 Subject: [PATCH 2/2] [#252] Fix indexer 502: restore 5s delay before indexer call Base Sepolia load-balanced RPCs need propagation time after heavy txs. Restores the 5s client-side delay removed in commit 71c66b8. Co-Authored-By: Claude Opus 4.6 (1M context) --- src/hooks/usePublish.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/hooks/usePublish.ts b/src/hooks/usePublish.ts index db788fed..07c0c951 100644 --- a/src/hooks/usePublish.ts +++ b/src/hooks/usePublish.ts @@ -89,6 +89,7 @@ export function usePublish() { // 4. Trigger indexer setState("indexing"); + await new Promise((r) => setTimeout(r, 5000)); await fetch(opts.indexerRoute, { method: "POST", headers: { "Content-Type": "application/json" },