We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
typechain generate __factory files and export in index.ts, and factory extend ContractFactory in ethers, like this:
__factory
index.ts
export class TimelockController__factory extends ContractFactory {
however, I should use ContractFactory from zksync-ethers in the second argument of handleDeploy. Clearly mismatch the type. like below:
handleDeploy
return this.multiProvider.handleDeploy( chain, new TimelockController__factory(), // delay, [proposers], [executors], admin [ timelockConfig.delay, [timelockConfig.roles.proposer], [timelockConfig.roles.executor], ethers.constants.AddressZero, ], );
Should I use a wrapper to make the typechain generated factory compatible with zksync-ethers or there're other standardized way to handle such cases?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
typechain generate
__factory
files and export inindex.ts
, and factory extend ContractFactory in ethers, like this:however, I should use ContractFactory from zksync-ethers in the second argument of
handleDeploy
. Clearly mismatch the type. like below:Should I use a wrapper to make the typechain generated factory compatible with zksync-ethers or there're other standardized way to handle such cases?
The text was updated successfully, but these errors were encountered: