Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

add support for prank(sender, origin) and startPrank(sender, origin) cheatcodes #336

Merged
merged 24 commits into from
Aug 13, 2024

Commits on Jul 31, 2024

  1. Configuration menu
    Copy the full SHA
    f1e803b View commit details
    Browse the repository at this point in the history

Commits on Aug 1, 2024

  1. Configuration menu
    Copy the full SHA
    022e2df View commit details
    Browse the repository at this point in the history
  2. WIP: rework Prank class

    (still need to fix the callers)
    karmacoma-eth committed Aug 1, 2024
    Configuration menu
    Copy the full SHA
    c1d5f9e View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    15ffcdb View commit details
    Browse the repository at this point in the history

Commits on Aug 2, 2024

  1. Configuration menu
    Copy the full SHA
    73f4478 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    d62c1eb View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    1c3373b View commit details
    Browse the repository at this point in the history
  4. update tests/lib/multicaller to v1.3.2

    (it removes the extra dependency on forge-std)
    karmacoma-eth committed Aug 2, 2024
    Configuration menu
    Copy the full SHA
    9939ca5 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    3ec4901 View commit details
    Browse the repository at this point in the history
  6. delete multicaller

    karmacoma-eth committed Aug 2, 2024
    Configuration menu
    Copy the full SHA
    324f77d View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    b6c1e48 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    c051be4 View commit details
    Browse the repository at this point in the history
  9. test.yml: recursively checkout submodules

    The foundry step is failing with weird errors:
    
    Submodule 'tests/lib/forge-std' (https://github.com/foundry-rs/forge-std) registered for path '../lib/forge-std'
    Submodule 'tests/lib/halmos-cheatcodes' (https://github.com/a16z/halmos-cheatcodes) registered for path '../lib/halmos-cheatcodes'
    Submodule 'tests/lib/openzeppelin-contracts' (https://github.com/OpenZeppelin/openzeppelin-contracts) registered for path '../lib/openzeppelin-contracts'
    Submodule 'tests/lib/solady' (https://github.com/Vectorized/solady) registered for path '../lib/solady'
    Submodule 'tests/lib/solmate' (https://github.com/transmissions11/solmate) registered for path '../lib/solmate'
    fatal: not a git repository: /home/runner/work/halmos/halmos/tests/lib/forge-std/../../../.git/modules/tests/lib/forge-std
    Failed to clone 'tests/lib/forge-std'. Retry scheduled
    fatal: destination path '/home/runner/work/halmos/halmos/tests/lib/halmos-cheatcodes' already exists and is not an empty directory.
    fatal: clone of 'https://github.com/a16z/halmos-cheatcodes' into submodule path '/home/runner/work/halmos/halmos/tests/lib/halmos-cheatcodes' failed
    Failed to clone 'tests/lib/halmos-cheatcodes'. Retry scheduled
    karmacoma-eth committed Aug 2, 2024
    Configuration menu
    Copy the full SHA
    8bb0d6f View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    707b9e1 View commit details
    Browse the repository at this point in the history
  11. test.yml: get back to a single pytest worker

    Suspecting race conditions here:
    
    ```
    Build failed: ['forge', 'build', '--ast', '--root', 'tests/regression', '--extra-output', 'storageLayout', 'metadata']
    ----------------------------- Captured stderr call -----------------------------
    Failed to install solc 0.8.26: Text file busy (os error 26)
    Error:
    Text file busy (os error 26)
    ```
    karmacoma-eth committed Aug 2, 2024
    Configuration menu
    Copy the full SHA
    656c359 View commit details
    Browse the repository at this point in the history
  12. Revert "test.yml: recursively checkout submodules"

    This reverts commit 8bb0d6f.
    karmacoma-eth committed Aug 2, 2024
    Configuration menu
    Copy the full SHA
    de64d95 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    09b6438 View commit details
    Browse the repository at this point in the history

Commits on Aug 3, 2024

  1. Configuration menu
    Copy the full SHA
    1689032 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    09b8066 View commit details
    Browse the repository at this point in the history

Commits on Aug 9, 2024

  1. Configuration menu
    Copy the full SHA
    df2c7a3 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    1ea690c View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    c1c64e6 View commit details
    Browse the repository at this point in the history

Commits on Aug 13, 2024

  1. Configuration menu
    Copy the full SHA
    17eba86 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    24f1493 View commit details
    Browse the repository at this point in the history