-
Notifications
You must be signed in to change notification settings - Fork 242
Load contracts from default directories #4322
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
Load contracts from default directories #4322
Conversation
@@ -344,7 +348,15 @@ extra_accounts_json_file() -> | |||
"extra_accounts_test.json". | |||
|
|||
contracts_json_file() -> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Isn't this just a subset of the function below? I can't remember why we wan't the TEST one?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This filename is a legacy one ... back then one could only set accounts (and later contracts) via this file. The suffix "_test" I believe comes from the original usage for tests only, but at some point all "custom" network ID's has been using this.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah, I see what your comment is about now .. nvm
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've moved the functions out of test and made a generic function for creating the file name.
Fixes #4320
This PR is supported by Æternity Foundation