runtimeverification / runtimeverification/kontrol

Automate schedule selection based on `foundry.toml`, `kontrol.toml` and defaults

Open
#934 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
122
Forks
16
PR merge metrics
No merged PRs in 30d

Description

Related: https://github.com/runtimeverification/kontrol/pull/800

1. At the moment, the default schedule is Shanghai, however, there're many projects using newer Solidity versions that cause an undefined instruction error in kontrol prove. Previously, we have postponed making Cancun the default schedule, however, we can do it now since we've implemented most of the EIPs; Cancun is also the default evm_version in Foundry.
2. To make the default schedule more obvious to users, we should also add the schedule = 'CANCUN' entry to the kontrol.toml file that gets generated by kontrol init.
3. Another way to set schedule/evm version is by providing the evm_version = 'cancun' field in foundry.toml. We should probably recognize that as well and decide on the priority between Kontrol's --schedule and foundry.toml's, evm_version (I'd suggest schedule > evm_version).

Contributor guide

Open the contributing guide

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

The issue names kontrol prove, kontrol init, foundry.toml, and the generated kontrol.toml; start by tracing how schedule and evm_version configuration is currently resolved. Check the related pull request for existing work, then verify the default, generated configuration, and precedence behavior described in the issue with focused tests or command runs.

Written by the indexing model from the issue text.

Assessment

Tech stack
python, solidity
Domain
cli, tooling
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.