Skip to content

Commit

Permalink
ts type
Browse files Browse the repository at this point in the history
  • Loading branch information
drortirosh committed Feb 19, 2025
1 parent acf965d commit f616408
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/validation-manager/src/decodeHelper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@ function mapAddrToName (mapAddrs: {[name: string]: string}, addr: string): strin
}

// recursively dump call tree, and storage accesses
export function dumpCallTree (call: ERC7562Call, mapAddrs = {}, indent = ''): void {
export function dumpCallTree (call: ERC7562Call, mapAddrs: {[name: string]: any} = {}, indent = ''): void {
const map = (addr: string): string => mapAddrToName(mapAddrs, addr)
debug(`${indent} ${map(call.from)} => ${call.type} ${call.to} ${map(call.to)}.${_tryDetectKnownMethod(call)}`)
for (const access of ['reads', 'writes']) {
Expand Down

0 comments on commit f616408

Please sign in to comment.