Skip to content

Commit

Permalink
feat: use soldeer by default
Browse files Browse the repository at this point in the history
  • Loading branch information
bbjubjub2494 committed Jan 22, 2025
1 parent f5db6ae commit 40d6e6c
Show file tree
Hide file tree
Showing 8 changed files with 19 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
version: nightly

- name: Install deps
run: forge install
run: forge soldeer update

- name: Check gas snapshots
run: forge snapshot --check
Expand Down
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,6 @@
cache/
out/


# Soldeer
/dependencies
3 changes: 0 additions & 3 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -1,3 +0,0 @@
[submodule "lib/forge-std"]
path = lib/forge-std
url = https://github.com/foundry-rs/forge-std
6 changes: 6 additions & 0 deletions foundry.toml
Original file line number Diff line number Diff line change
@@ -1,2 +1,8 @@
[profile.ci.fuzz]
runs = 10_000

[profile.default]
libs = ["dependencies"]

[dependencies]
forge-std = "1.9.5"
1 change: 0 additions & 1 deletion lib/forge-std
Submodule forge-std deleted from 40977d
1 change: 1 addition & 0 deletions remappings.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
forge-std-1.9.5/=dependencies/forge-std-1.9.5/
6 changes: 6 additions & 0 deletions soldeer.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
[[dependencies]]
name = "forge-std"
version = "1.9.5"
url = "https://soldeer-revisions.s3.amazonaws.com/forge-std/1_9_5_21-12-2024_15:04:05_forge-std-1.9.zip"
checksum = "57ada736f383289db77fac4472d48f820e7c98172cf9b01681b0c37065ce043f"
integrity = "4753ffdfa0dde40878372b6a4d8e8fd1648b190b33996896c8b92f6f1680850f"
2 changes: 1 addition & 1 deletion test/Contract.t.sol
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// SPDX-License-Identifier: Unlicense
pragma solidity ^0.8.13;

import "forge-std/Test.sol";
import "forge-std-1.9.5/src/Test.sol";

import "src/Contract.sol";

Expand Down

0 comments on commit 40d6e6c

Please sign in to comment.