Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Relative artifacts #118

Merged
merged 8 commits into from
Jun 20, 2022
Merged

Relative artifacts #118

merged 8 commits into from
Jun 20, 2022

Conversation

taco-paco
Copy link
Contributor

@taco-paco taco-paco commented Jun 7, 2022

Usage related changes

  • getContractFactory now can process relative path to artifact thus enabling load from outside specified/default artifact folder.

Checklist:

@FabijanC FabijanC self-requested a review June 7, 2022 10:44
scripts/test.sh Outdated
@@ -9,7 +9,7 @@ CONFIG_FILE_NAME="hardhat.config.ts"

# setup example repo
rm -rf starknet-hardhat-example
git clone -b plugin --single-branch git@github.com:Shard-Labs/starknet-hardhat-example.git
git clone -b relativeArtifacts --single-branch git@github.com:Shard-Labs/starknet-hardhat-example.git
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TODO: change before merge

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@epShardlabs You can change this back to plugin as your example repo PR has been merged.

src/index.ts Outdated Show resolved Hide resolved
src/utils.ts Show resolved Hide resolved
@FabijanC FabijanC self-requested a review June 20, 2022 14:05
"$schema": "../../network.schema",
"alpha": true,
"devnet": true
}
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

GitHub is reporting a missing newline.

scripts/test.sh Outdated
@@ -9,7 +9,7 @@ CONFIG_FILE_NAME="hardhat.config.ts"

# setup example repo
rm -rf starknet-hardhat-example
git clone -b plugin --single-branch git@github.com:Shard-Labs/starknet-hardhat-example.git
git clone -b relativeArtifacts --single-branch git@github.com:Shard-Labs/starknet-hardhat-example.git
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@epShardlabs You can change this back to plugin as your example repo PR has been merged.

@FabijanC FabijanC self-requested a review June 20, 2022 15:15
@FabijanC FabijanC merged commit 1f8ff25 into master Jun 20, 2022
@FabijanC FabijanC deleted the relativeArtifacts branch June 20, 2022 16:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants