You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(bench): handle void worker-wallet returns in inclusion sweep
WorkerWallet.call unconditionally JSON.parse'd the transport response, but
void-returning methods (registerContract, registerContractClass) come back as
`undefined` from the worker. JSON.parse(undefined) throws
`SyntaxError: "undefined" is not valid JSON`, which crashed registerSponsoredFPC
during n_tps.test.ts setup and failed every nightly bench inclusion-sweep point
(1/5/10 TPS) deterministically.
Pass an undefined response straight to the method's schema, whose z.void() output
accepts it, and widen callRaw's return type to string | undefined to match.
0 commit comments