Skip to content

Commit

Permalink
Merge pull request #154 from jxom/jxom/tweak
Browse files Browse the repository at this point in the history
chore: prepare = false
  • Loading branch information
shazow authored Nov 15, 2024
2 parents d377b1b + d803b0f commit fd61839
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/auto.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit fd61839

Please sign in to comment.