From d803b0f54d197cf2b7b2facc350ba2fa4d8f208a Mon Sep 17 00:00:00 2001 From: jxom <7336481+jxom@users.noreply.github.com> Date: Fri, 15 Nov 2024 16:31:35 +1100 Subject: [PATCH] chore: prepare = false --- src/auto.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/auto.ts b/src/auto.ts index b463c55..39a07cc 100644 --- a/src/auto.ts +++ b/src/auto.ts @@ -317,8 +317,7 @@ export async function autoload(address: string, config: AutoloadConfig): Promise a.sig = r[0]; // Extract as much metadata as it can from the signature - const extracted : any = AbiFunction.from("function " + a.sig); - delete (extracted.hash); // ox includes a hash for functions, not sure we want to commit to that + const extracted : any = AbiFunction.from("function " + a.sig, { prepare: false }); if (extracted.outputs.length === 0) { // Outputs not included in signature databases -_- (unless something changed) // Let whatsabi keep its best guess, if any.