Skip to content

Commit

Permalink
Merge pull request #875 from multiversx/vm-cleanup
Browse files Browse the repository at this point in the history
Vm cleanup
  • Loading branch information
sasurobert authored Aug 22, 2024
2 parents ffe805c + a96ff8c commit 27310f3
Show file tree
Hide file tree
Showing 41 changed files with 52 additions and 8,207 deletions.
5 changes: 0 additions & 5 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,9 @@ endif
cp ./cmd/vmserver/vmserver ${VMSERVER_PATH}

test:
go clean -cache -testcache
VMEXECUTOR="wasmer1" go test ./...
go clean -cache -testcache
VMEXECUTOR="wasmer2" go test ./...

test-w1: clean
VMEXECUTOR="wasmer1" go test ./...

test-w2: clean
VMEXECUTOR="wasmer2" go test ./...

Expand Down
5 changes: 0 additions & 5 deletions cmd/scenariostest/scenariosTest.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,7 @@ package main
import (
scenclibase "github.com/multiversx/mx-chain-scenario-go/clibase"
scenio "github.com/multiversx/mx-chain-scenario-go/scenario/io"

vmscenario "github.com/multiversx/mx-chain-vm-go/scenario"
"github.com/multiversx/mx-chain-vm-go/wasmer"
"github.com/multiversx/mx-chain-vm-go/wasmer2"
cli "github.com/urfave/cli/v2"
)
Expand Down Expand Up @@ -42,9 +40,6 @@ func (*vm15Flags) ParseFlags(cCtx *cli.Context) scenclibase.CLIRunOptions {
}

vmBuilder := vmscenario.NewScenarioVMHostBuilder()
if cCtx.Bool("wasmer1") {
vmBuilder.OverrideVMExecutor = wasmer.ExecutorFactory()
}
if cCtx.Bool("wasmer2") {
vmBuilder.OverrideVMExecutor = wasmer2.ExecutorFactory()
}
Expand Down
362 changes: 0 additions & 362 deletions integrationTests/json/scenariosExecutorLogs_test.go

This file was deleted.

Loading

0 comments on commit 27310f3

Please sign in to comment.