Skip to content

Commit

Permalink
Use Cancun as default schedule (#2697)
Browse files Browse the repository at this point in the history
* Set Cancun as the default schedule

* Update unit test expected output
  • Loading branch information
palinatolmach authored Jan 29, 2025
1 parent 3ba781a commit bfd9e29
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ test-prove-smoke: $(prove_smoke_tests:=.prove)
TEST_CONCRETE_BACKEND := llvm

KEVM_MODE := NORMAL
KEVM_SCHEDULE := SHANGHAI
KEVM_SCHEDULE := CANCUN
KEVM_CHAINID := 1

KRUN_OPTS ?=
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ poetry -C kevm-pyk run kdist build evm-semantics.llvm --arg enable-llvm-debug=tr
To debug a conformance test, add the `--debugger` flag to the command:

```sh
poetry -C kevm-pyk run kevm-pyk run tests/ethereum-tests/BlockchainTests/GeneralStateTests/stExample/add11.json --target llvm --mode NORMAL --schedule SHANGHAI --chainid 1 --debugger
poetry -C kevm-pyk run kevm-pyk run tests/ethereum-tests/BlockchainTests/GeneralStateTests/stExample/add11.json --target llvm --mode NORMAL --schedule CANCUN --chainid 1 --debugger
```

### Keeping in mind while developing
Expand Down
2 changes: 1 addition & 1 deletion kevm-pyk/src/kevm_pyk/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -454,7 +454,7 @@ class EVMChainOptions(Options):
@staticmethod
def default() -> dict[str, Any]:
return {
'schedule': 'SHANGHAI',
'schedule': 'CANCUN',
'chainid': 1,
'mode': 'NORMAL',
'usegas': True,
Expand Down
2 changes: 1 addition & 1 deletion kevm-pyk/src/tests/integration/test_run.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ def test_run(gst_file: Path, update_expected_output: bool) -> None:
gst_data = json.load(f)

# When
pattern = interpret(gst_data, 'SHANGHAI', 'NORMAL', 1, True, check=False)
pattern = interpret(gst_data, 'CANCUN', 'NORMAL', 1, True, check=False)
actual = kore_print(pattern, definition_dir=kdist.get('evm-semantics.llvm'), output=PrintOutput.PRETTY)

# Then
Expand Down
2 changes: 1 addition & 1 deletion kevm-pyk/src/tests/unit/test_gst_to_kore.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ def test_gst_to_kore(gst_path: str, expected_path: str, update_expected_output:
expected = KoreParser(expected_file.read_text()).pattern()

# When
actual = gst_to_kore(gst_data, 'SHANGHAI', 'NORMAL', 1, True)
actual = gst_to_kore(gst_data, 'CANCUN', 'NORMAL', 1, True)

# Then
if update_expected_output:
Expand Down

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion tests/interactive/log3.gst-to-kore.expected

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion tests/interactive/log3_MaxTopic_d0g0v0.json.parse-expected

Large diffs are not rendered by default.

0 comments on commit bfd9e29

Please sign in to comment.