Skip to content

Commit

Permalink
docs: document name/version/get_capabilities in VM guide
Browse files Browse the repository at this point in the history
  • Loading branch information
axic authored and chfast committed May 9, 2019
1 parent 3173a07 commit cbe3257
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions docs/VM_Guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,13 @@ The most important method is ::evmc_instance::execute() because it executes EVM
Remember that the Host is allowed to invoke the execute method concurrently
so do not store data related to a particular execution context in the VM instance.

Before a client can actually execute a VM, it is important to implement the three
basic fields for querying name (::evmc_instance::name), version (::evmc_instance::version)
and capabilities (::evmc_instance::get_capabilities()) as well as the ::evmc_instance::destroy()
method to wind the VM down.

Other methods are optional.

## Resource management

All additional resources allocated when the VM instance is created must be
Expand Down

0 comments on commit cbe3257

Please sign in to comment.