Smart contract debugging data format – Standards development working group
43
stars
4
forks
source link
Implement @ethdebug/pointers TypeScript package to serve as debugger-side reference implementation of ethdebug/format pointers #90
Closed
gnidan closed 2 months ago
This reference implementation provides a
dereference(pointer)
function, along with associated types.Details
Define new package @ethdebug/pointers
yarn start
includes thoseDefine Pointer family of TypeScript types
Define Machine and Machine.State interfaces to adapt external EVMs
Define Cursor interface for inspecting machine state for a pointer
view(state: Machine.State): Promise<Cursor.Regions>
Implement read functionality for a Cursor.Region
Implement evaluate functionality for a Pointer.Expression
Implement dereference functionality to get a Cursor from a Pointer
Include integration tests that use solc and Ganache to ensure expected pointer changes occur over the lifetime of an actual transaction