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

Fixed DeploymentsManager function name typo #552

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions src/DeploymentsManager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -581,7 +581,7 @@ export class DeploymentsManager {
return this.db.unnamedAccounts;
}

private async getDeterminisityDeploymentInfo(): Promise<
private async getDeterministicDeploymentInfo(): Promise<
DeterministicDeploymentInfo | undefined
> {
const chainId = await this.getChainId();
Expand All @@ -590,22 +590,22 @@ export class DeploymentsManager {
}

public async getDeterministicDeploymentFactoryAddress(): Promise<string> {
const info = await this.getDeterminisityDeploymentInfo();
const info = await this.getDeterministicDeploymentInfo();
return info?.factory || '0x4e59b44847b379578588920ca78fbf26c0b4956c';
}

public async getDeterministicDeploymentFactoryDeployer(): Promise<string> {
const info = await this.getDeterminisityDeploymentInfo();
const info = await this.getDeterministicDeploymentInfo();
return info?.deployer || '0x3fab184622dc19b6109349b94811493bf2a45362';
}

public async getDeterministicDeploymentFactoryFunding(): Promise<BigNumber> {
const info = await this.getDeterminisityDeploymentInfo();
const info = await this.getDeterministicDeploymentInfo();
return BigNumber.from(info?.funding || '10000000000000000');
}

public async getDeterministicDeploymentFactoryDeploymentTx(): Promise<string> {
const info = await this.getDeterminisityDeploymentInfo();
const info = await this.getDeterministicDeploymentInfo();
return (
info?.signedTx ||
'0xf8a58085174876e800830186a08080b853604580600e600039806000f350fe7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe03601600081602082378035828234f58015156039578182fd5b8082525050506014600cf31ba02222222222222222222222222222222222222222222222222222222222222222a02222222222222222222222222222222222222222222222222222222222222222'
Expand Down