Skip to content

Commit

Permalink
♻️ Enable expectRevert for internal functions
Browse files Browse the repository at this point in the history
Signed-off-by: Pascal Marco Caversaccio <[email protected]>
  • Loading branch information
pcaversaccio committed Jan 28, 2025
1 parent 9f75d92 commit 1f4b78f
Show file tree
Hide file tree
Showing 6 changed files with 172 additions and 171 deletions.
190 changes: 95 additions & 95 deletions .gas-snapshot

Large diffs are not rendered by default.

146 changes: 73 additions & 73 deletions .gas-snapshot-venom

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions foundry.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ via_ir = false # Prevent the c
vyper = { optimize = "gas" } # Configure the Vyper compiler optimisation mode.
verbosity = 3 # Set the verbosity level for the tests.
ffi = true # Enable the foreign function interface (ffi) cheatcode.
allow_internal_expect_revert = true # Enable `expectRevert` for internal functions.
no_match_path = "test/**/{echidna,halmos}/**/*" # Run only tests in the test directory that do not match the specified glob pattern.
fs_permissions = [{ access = "read-write", path = "./" }] # Configure read-write access to the project root.
fuzz = { runs = 256, max_test_rejects = 65_536 } # Configure the number of fuzz runs and maximum number of combined inputs that may be rejected for the tests.
Expand Down
2 changes: 1 addition & 1 deletion lib/create-util
Submodule create-util updated 2 files
+1 −1 package.json
+51 −51 pnpm-lock.yaml

0 comments on commit 1f4b78f

Please sign in to comment.