-
Notifications
You must be signed in to change notification settings - Fork 36
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Co-authored-by: edwin <edwinswatpako@gmail.com> Co-authored-by: FabijanC <fabijan.corak@gmail.com>
- Loading branch information
1 parent
cad8ec0
commit 1f8ff25
Showing
5 changed files
with
38 additions
and
3 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
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,8 @@ | ||
#!/bin/bash | ||
set -e | ||
|
||
npx hardhat starknet-compile contracts/contract.cairo contracts/util.cairo | ||
|
||
cp -a starknet-artifacts/contracts test/test-artifacts | ||
|
||
npx hardhat test --no-compile test/relative-artifacts.test.ts |
12 changes: 12 additions & 0 deletions
12
test/general-tests/relative-artifact-test/hardhat.config.ts
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,12 @@ | ||
import "../dist/src/index.js"; | ||
|
||
module.exports = { | ||
starknet: { | ||
network: process.env.NETWORK | ||
}, | ||
networks: { | ||
devnet: { | ||
url: "http://127.0.0.1:5050" | ||
} | ||
} | ||
}; |
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,4 @@ | ||
{ | ||
"$schema": "../../network.schema", | ||
"devnet": true | ||
} |