Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@eth-optimism/ethereumjs-vm

Package Overview
Dependencies
Maintainers
6
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@eth-optimism/ethereumjs-vm

An Ethereum VM implementation

  • 4.2.0-alpha.3
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
6
Created
Source

ethereumjs-ovm

Implements Optimism's OVM in Javascript. Forked with <3 from ethereumjs-vm!

Logging

This fork provides some custom logging tools for introspecting the OVM via the debug package. Particularly, the environment variable DEBUG='ethjs-ovm:interpreter will allow you to log various degrees of internal EVM execution such as calls, stack, and memory. You must also add DEBUG_OVM=true to enable debugging. The logging namespace includes the start and ending bytes of the address and the call depth (e.g. js-ovm:intrp:0xdeadde..ad0005:d5)

Available namespaces are:

  • All OVM debug logging (warning, lots of logs): DEBUG='*'
  • Call logging: DEBUG='*:calls (recommended to run first)
  • Step logging: DEBUG='*:calls:steps (recommended to run filtered by address, e.g. DEBUG='*:calls,js-ovm:intrp:0xdeadde..ad0005:d2:calls:steps')
  • Memory logging: DEBUG=*:calls:memory (recommended to run filtered by address, see above)

Or mix and match any of the above to get your desired logging level.

LICENSE

MPL-2.0

Keywords

FAQs

Package last updated on 09 Mar 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc