core/vm: Re-style eWASM into ewasm as per review request

This commit is contained in:
Guillaume Ballet 2018-10-05 12:37:40 +02:00
parent 0a7495c1c8
commit d870b94e47
3 changed files with 7 additions and 7 deletions

View file

@ -14,7 +14,7 @@
// You should have received a copy of the GNU General Public License // You should have received a copy of the GNU General Public License
// along with go-ethereum. If not, see <http://www.gnu.org/licenses/>. // along with go-ethereum. If not, see <http://www.gnu.org/licenses/>.
// ewasm executes eWASM modules. // ewasm executes ewasm modules.
package main package main
import ( import (
@ -44,9 +44,9 @@ var (
var runCommand = cli.Command{ var runCommand = cli.Command{
Action: runCmd, Action: runCmd,
Name: "run", Name: "run",
Usage: "run and arbitrary eWASM module", Usage: "run and arbitrary ewasm module",
ArgsUsage: "<module name> <input> <gas>", ArgsUsage: "<module name> <input> <gas>",
Description: `The run command runs an arbitrary eWASM module.`, Description: `The run command runs an arbitrary ewasm module.`,
} }
func runCmd(ctx *cli.Context) error { func runCmd(ctx *cli.Context) error {

View file

@ -15,7 +15,7 @@
// along with go-ethereum. If not, see <http://www.gnu.org/licenses/>. // along with go-ethereum. If not, see <http://www.gnu.org/licenses/>.
// This file lists the EEI functions, so that they can be bound to any // This file lists the EEI functions, so that they can be bound to any
// eWASM-compatible module, as well as the types of these functions // ewasm-compatible module, as well as the types of these functions
package vm package vm
@ -41,7 +41,7 @@ const (
TerminateInvalid TerminateInvalid
) )
// InterpreterEWASM implements the Interpreter interface for eWASM. // InterpreterEWASM implements the Interpreter interface for ewasm.
type InterpreterEWASM struct { type InterpreterEWASM struct {
vm *exec.VM vm *exec.VM
@ -60,7 +60,7 @@ type InterpreterEWASM struct {
staticMode bool staticMode bool
} }
// NewEWASMInterpreter creates a new wagon-based eWASM interpreter. It // NewEWASMInterpreter creates a new wagon-based ewasm interpreter. It
// currently takes a *vm.EVM pointer as a proxy to the client's internal // currently takes a *vm.EVM pointer as a proxy to the client's internal
// state; this will be fixed in subsequent updates. // state; this will be fixed in subsequent updates.
func NewEWASMInterpreter(evm *EVM, cfg Config) Interpreter { func NewEWASMInterpreter(evm *EVM, cfg Config) Interpreter {

View file

@ -15,7 +15,7 @@
// along with go-ethereum. If not, see <http://www.gnu.org/licenses/>. // along with go-ethereum. If not, see <http://www.gnu.org/licenses/>.
// This file lists the EEI functions, so that they can be bound to any // This file lists the EEI functions, so that they can be bound to any
// eWASM-compatible module, as well as the types of these functions // ewasm-compatible module, as well as the types of these functions
package vm package vm