runtimeverification / runtimeverification/evm-semantics

Running VM tests on Haskell backend

Open
#1,291 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

documentation
Dominant language
KCL
Stars
591
Forks
156
Avg merge
2h 19m
Merged PRs (30d)
1

Description

Apply this patch:

diff --git a/edsl.md b/edsl.md
index 125531a83..1ad3ce74e 100644
--- a/edsl.md
+++ b/edsl.md
@@ -12,6 +12,7 @@ requires "hashed-locations.md"
 requires "abi.md"
 requires "infinite-gas.md"
 requires "optimizations.md"
+requires "driver.md"
 
 module EDSL
     imports BUF
@@ -20,6 +21,7 @@ module EDSL
     imports EVM-OPTIMIZATIONS
     imports INFINITE-GAS
     imports BIN-RUNTIME
+    imports ETHEREUM-SIMULATION
 endmodule
 
 module BIN-RUNTIME

Then you can do:

make build-kevm
make build-haskell
make test-vm -j6 -k TEST_CONCRETE_BACKEND=haskell TEST_OPTIONS=--bug-report

And it will produce a bunch of bug-reports for the VM tests on Haskell backend for profiling.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with edsl.md and review the requested requires and imports for driver.md and ETHEREUM-SIMULATION. Run make build-kevm, make build-haskell, and the specified make test-vm command with the Haskell backend; done means the VM tests run and produce bug reports for profiling.

Written by the indexing model from the issue text.

Assessment

Tech stack
haskell
Domain
performance, testing-qa
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
52/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.