Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Port cheatcodes #756

Closed
23 tasks done
onbjerg opened this issue Feb 16, 2022 · 1 comment · Fixed by #841
Closed
23 tasks done

Port cheatcodes #756

onbjerg opened this issue Feb 16, 2022 · 1 comment · Fixed by #841
Assignees
Labels
A-cheatcodes Area: cheatcodes C-forge Command: forge Cmd-forge-test Command: forge test T-feature Type: feature

Comments

@onbjerg
Copy link
Collaborator

onbjerg commented Feb 16, 2022

The task is to port all existing cheatcodes:

  • warp
  • roll
  • fee
  • load
  • store
  • sign
  • addr
  • ffi
  • prank
  • startPrank
  • stopPrank
  • deal
  • etch
  • expectRevert
  • record
  • accesses
  • expectEmit
  • mockCall
  • clearMockedCalls
  • expectCall
  • getCode
  • label
  • assume
@onbjerg onbjerg self-assigned this Feb 16, 2022
@onbjerg onbjerg added M-revm T-feature Type: feature Cmd-forge-test Command: forge test C-forge Command: forge A-cheatcodes Area: cheatcodes labels Feb 16, 2022
@mds1
Copy link
Collaborator

mds1 commented Feb 16, 2022

Linking this issue to #432, since IIUC the port to revm will enable the mockCall, expectCall, and expectRevert cheatcodes to work both for CALLs and JUMPs

@onbjerg onbjerg moved this from Todo to In Progress in Replace Sputnik EVM with Revm Feb 22, 2022
@onbjerg onbjerg mentioned this issue Mar 4, 2022
5 tasks
@onbjerg onbjerg linked a pull request Mar 4, 2022 that will close this issue
5 tasks
@onbjerg onbjerg closed this as completed Mar 8, 2022
Repository owner moved this from In Progress to Done in Replace Sputnik EVM with Revm Mar 8, 2022
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
A-cheatcodes Area: cheatcodes C-forge Command: forge Cmd-forge-test Command: forge test T-feature Type: feature
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants