runtimeverification / runtimeverification/kontrol

Add a `prank` variation that would not load account

Open
#972 0 comments 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

As suggested by @lisandrasilva, we should add a modified version of the prank cheatcode that does not invoke #loadAccount, so that it can be used to test access control properties but would not cause branching on whether the symbolic address supplied as an argument is in <accounts>.

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

Locate the existing prank cheatcode and its tests, then read how it invokes #loadAccount for symbolic addresses. Add the requested variation without that invocation and verify that access-control tests do not branch on whether the address is in <accounts>.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
testing
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.