format
format copied to clipboard
Smart contract debugging data format – Standards development working group
- Add breadcrumbs to each - Ensure sidebar/in-page rendering still uses the short-form without the breadcrumbs by using the `sidebar_label` property (I'm trying this in hopes it solves the issue...
Schemas that need to be defined in order to provide enough data for debuggers to find and decode Events and Custom errors - [x] ethdebug/format/info - [x] ethdebug/format/program - [...
Schemas that need to be defined in order to provide enough data for debuggers to identify and decode function calling and returns - [x] ethdebug/format/info - [x] ethdebug/format/program - [...
Schemas that need to be defined in order to provide enough data to support finding and decoding vm local variables and storage variables - [x] ethdebug/format/info - [x] ethdebug/format/program -...
Schemas that need to be defined in order to provide enough data for debugger support equivalent to existing Solidity Source Maps - [x] ethdebug/format/info - [x] ethdebug/format/program - [ ]...
Bit of background: the construct for referencing templates within a pointer is already a bit weird, designed in a way so as to minimize the complexity of each particular ethdebug/format/pointer/collection/*...
These examples should show how to represent where the type is defined in source (using the appropriate schema from the ethdebug/format/materials namespace)
There is currently no way in the type schemas to represent a "type constructor" or algebraic data type or whatever term. The closest the schema currently affords is the alias...
@ekpyron thinks possibly yes, but my desire has been to separate types wholly from pointers, since semantically these might be viewed as purely separate concerns. My original thinking might not...
# Avoid conditionals for defining tagged unions. This PR simplifies the schema structure of the region and collection listings by replacing a large `if`-based conditional block with a more concise...