Skip to content

Commit

Permalink
fix: move Soldeer dependencies (#38)
Browse files Browse the repository at this point in the history
  • Loading branch information
Serial-ATA authored Nov 20, 2024
1 parent 77b7a58 commit 46b1785
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
6 changes: 0 additions & 6 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,3 @@ updates:
schedule:
interval: "daily"
open-pull-requests-limit: 5
- package-ecosystem: "gitsubmodule"
directory: "/"
allow:
- dependency-name: "contracts/lib/tnt-core"
schedule:
interval: "daily"
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -32,3 +32,6 @@ docs/
# Generated blueprint files
blueprint.json
blueprint.lock

# Soldeer dependencies
dependencies/
2 changes: 1 addition & 1 deletion contracts/src/HelloBlueprint.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 "contracts/lib/tnt-core/src/BlueprintServiceManagerBase.sol";
import "tnt-core/BlueprintServiceManagerBase.sol";

/**
* @title HelloBlueprint
Expand Down
4 changes: 3 additions & 1 deletion foundry.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,13 @@ out = "contracts/out"
script = "contracts/script"
cache_path = "contracts/cache"
broadcast = "contracts/broadcast"
libs = ["contracts/lib"]
libs = ["dependencies"]
auto_detect_remappings = true

[soldeer]
recursive_deps = true
remappings_location = "txt"
remappings_version = false

[dependencies]
tnt-core = { version = "0.1.0", git = "https://github.com/tangle-network/tnt-core.git", branch = "main" }
Expand Down
1 change: 1 addition & 0 deletions remappings.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
tnt-core/=dependencies/tnt-core-0.1.0/src

0 comments on commit 46b1785

Please sign in to comment.