Content pfp
Content
@
0 reply
0 recast
2 reactions

Kevin pfp
Kevin
@typedarray.eth
Fun `trace_` API problem: Write a function that accepts a single trace object and returns a uint256 representing its execution index within the transaction. The index doesn't need to be absolutely accurate, but when used as a sort key, it must accurately order _any_ subset of traces within one transaction.
1 reply
5 recasts
24 reactions

Kristof Gazso | kristof.eth pfp
Kristof Gazso | kristof.eth
@kristof
don’t really understand the problem. if you could paste an example input and expected output (along with the full tx trace) that’s be interesting to see!
1 reply
0 recast
0 reaction

Kevin pfp
Kevin
@typedarray.eth
Fair lol, it's a bit much for the length of one cast - wrote a gist https://warpcast.com/typedarray.eth/0x4ec63e35
0 reply
0 recast
0 reaction