Update komet version#40
Open
bbyalcinkaya wants to merge 3 commits into
Open
Conversation
RaoulSchaffranek
approved these changes
Jul 9, 2026
| ``` | ||
|
|
||
| Each trace record captures the VM state at instruction entry: `pos` is the instruction's byte offset in the binary (`null` for synthetic instructions), `instr` is the instruction and its operands, and `stack`/`locals` are the value stack and locals as `[type, value]` pairs. See [docs/interpreter.md](docs/interpreter.md) for the full trace format. | ||
| A trace can contain five kinds of records: |
Member
There was a problem hiding this comment.
Currently, we must look at the shape of each record to determine its kind. I think it would make it easier for consumers of this format to have a descrimnator field, e.g. kind: 'callContrct' | 'instr' | 'contractData' | 'endWasm' on each record.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
kometdependency fromv0.1.79tov0.1.85.traceTransactionexample and its accompanying documentation to reflect that the upgraded semantics now emitcallContractandendWasmrecords bracketing the contract call.callContract, WebAssembly instruction records,hostCall,contractData,endWasm)hostCallandcontractDatarecords that the walkthrough's example transaction doesn't itself produce.