You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Add json traces to t8n tool support
* Update trace output to be one step per line
* move tracing to correct spot
* address feedback
* Clean up traces
* Cache pre-gas computation memory size for 3155
* Add jsonifyTrace helper and test
* more fixes
* Have t8n use typescript where available
* Partially fix gas calculation
* Implicitly call STOP if end of bytecode is reached
* spellcheck
* fix tests and opcode function lookup logic
* more fixes
* address feedback
* fix tests
* fix test
* Remove unneeded test data
* where is the outlog?
* REmove extra slash
* lint
* t8ntool: fix test
* remove Nify from whitelist
* client: remove console.log in test
* evm/vm: lowercase stepTraceJSON
* Move helpers to vm. Update tests. Add eip7756 formatted fields
* Add test
* Comment bytecode
* Revert changes related to adding STOP code
* spellcheck
* Add remaining fields for eip 7756
* spellcheck
* fix functionDepth reference
* update comments
* Add logic to track storage in step hook
* memory is not optional
* pad keys to 32 bytes for storage
* Address feedback
* Simplify immediates computation
* Add eof test
* Revise bytecode
* Fix definition and presentation of immediates
* fix intermediates issue
* spellcheck
* address feedback
---------
Co-authored-by: Jochem Brouwer <[email protected]>
Co-authored-by: Holger Drewes <[email protected]>
* @property {boolean} opcode.isAsync opcode is async
561
+
* @property {number} opcode.code opcode code
502
562
* @property {BigInt} gasLeft amount of gasLeft
503
563
* @property {BigInt} gasRefund gas refund
504
564
* @property {StateManager} stateManager a {@link StateManager} instance
@@ -510,6 +570,11 @@ export class Interpreter {
510
570
* @property {Uint8Array} memory the memory of the EVM as a `Uint8Array`
511
571
* @property {BigInt} memoryWordCount current size of memory in words
512
572
* @property {Address} codeAddress the address of the code which is currently being ran (this differs from `address` in a `DELEGATECALL` and `CALLCODE` call)
573
+
* @property {number} eofSection the current EOF code section referenced by the PC
574
+
* @property {Uint8Array} immediate the immediate argument of the opcode
575
+
* @property {Uint8Array} error the error data of the opcode (only present for REVERT)
576
+
* @property {number} eofFunctionDepth the depth of the function call (only present for EOF)
577
+
* @property {Array} storage an array of tuples, where each tuple contains a storage key and value
0 commit comments