-
Notifications
You must be signed in to change notification settings - Fork 43
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
fix: hardhat typescript typing #347
Conversation
@@ -55,29 +57,37 @@ const func: DeployFunction = async function (hre: EHRE) { | |||
|
|||
// Install multisig build 2 | |||
const multisigRepoAddress = hre.aragonPluginRepos['multisig']; | |||
const versionTag = [1, 2]; | |||
const pluginSetupRef = [versionTag, multisigRepoAddress]; | |||
const versionTag = { |
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.
Maybe we can adapt the
export type VersionTag = [number, number];
accordingly in packages/contracts/test/test-utils/psp/types.ts
and use it here as well.
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 would rather not. packages/contracts/test/test-utils/psp/types.ts
is used by tests and is not shared with the deployment scripts
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.
Nice!
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.
LGTM
Description
Please include a summary of the change and be sure you follow the contributions rules we do provide here
Task: ID
Type of change
Checklist:
CHANGELOG.md
file in the root folder.