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), }), }); }} 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" },