Closed k06a closed 1 year ago
Moreover params.from
and params.to
are exactly the same, which gives us no clue who made this DELEGATECALL
.
Printed tree with this cool helper:
function treeForEach (element, unnest, action) {
action(element);
for (const item of unnest(element) || []) {
treeForEach(item, unnest, action);
}
return element;
}
console.log(JSON.stringify(treeForEach(tracer.lastTrace().top, tr => tr.children, tr => { delete tr.parent })));
Closing this issue since it was fixed in the linked commit.
I observe the following trace in output:
But inside test this trace I see
STATICCALL
instead ofDELEGATECALL
: