forked from FuelLabs/sway
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: enable package manifest file verification during `PackageManifes…
…tFile::new` (FuelLabs#4412) ## Description Fixes missing validation step in the `PackageManifestFile::new()`. closes FuelLabs#4411.
- Loading branch information
1 parent
91afe69
commit 4c83b19
Showing
14 changed files
with
63 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 2 additions & 0 deletions
2
forc-plugins/forc-client/test/data/contract_with_dep/.gitignore
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
out | ||
target |
File renamed without changes.
11 changes: 11 additions & 0 deletions
11
forc-plugins/forc-client/test/data/contract_with_dep/src/main.sw
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
contract; | ||
|
||
abi MyContract { | ||
fn test_function() -> bool; | ||
} | ||
|
||
impl MyContract for Contract { | ||
fn test_function() -> bool { | ||
true | ||
} | ||
} |
2 changes: 2 additions & 0 deletions
2
forc-plugins/forc-client/test/data/contract_with_dep_with_salt_conflict/.gitignore
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
out | ||
target |
File renamed without changes.
11 changes: 11 additions & 0 deletions
11
forc-plugins/forc-client/test/data/contract_with_dep_with_salt_conflict/src/main.sw
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
contract; | ||
|
||
abi MyContract { | ||
fn test_function() -> bool; | ||
} | ||
|
||
impl MyContract for Contract { | ||
fn test_function() -> bool { | ||
true | ||
} | ||
} |
2 changes: 2 additions & 0 deletions
2
forc-plugins/forc-client/test/data/standalone_contract/.gitignore
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
out | ||
target |
File renamed without changes.
11 changes: 11 additions & 0 deletions
11
forc-plugins/forc-client/test/data/standalone_contract/src/main.sw
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
contract; | ||
|
||
abi MyContract { | ||
fn test_function() -> bool; | ||
} | ||
|
||
impl MyContract for Contract { | ||
fn test_function() -> bool { | ||
true | ||
} | ||
} |
2 changes: 2 additions & 0 deletions
2
forc-plugins/forc-client/test/data/standalone_contract_b/.gitignore
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
out | ||
target |
File renamed without changes.
11 changes: 11 additions & 0 deletions
11
forc-plugins/forc-client/test/data/standalone_contract_b/src/main.sw
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
contract; | ||
|
||
abi MyContract { | ||
fn test_function() -> bool; | ||
} | ||
|
||
impl MyContract for Contract { | ||
fn test_function() -> bool { | ||
true | ||
} | ||
} |