Skip to content

Commit

Permalink
Prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
0xVolosnikov committed Dec 16, 2024
1 parent 4d4162b commit 6442846
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 deletions.
2 changes: 1 addition & 1 deletion l1-contracts/scripts/register-hyperchain.ts
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ async function main() {
console.log(`Allowing EVM emulation`);

Check failure on line 126 in l1-contracts/scripts/register-hyperchain.ts

View workflow job for this annotation

GitHub Actions / lint

Strings must use doublequote

Check failure on line 126 in l1-contracts/scripts/register-hyperchain.ts

View workflow job for this annotation

GitHub Actions / lint

Strings must use doublequote

Check failure on line 126 in l1-contracts/scripts/register-hyperchain.ts

View workflow job for this annotation

GitHub Actions / lint

Strings must use doublequote
await deployer.enableEvmEmulation();
}

await deployer.transferAdminFromDeployerToChainAdmin();
});

Expand Down
2 changes: 1 addition & 1 deletion l1-contracts/src.ts/deploy-process.ts
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ export async function registerHyperchain(
gasPrice: BigNumberish,
baseTokenName?: string,
chainId?: string,
useGovernance: boolean = false,
useGovernance: boolean = false
) {
const testnetTokens = getTokens();

Expand Down
6 changes: 2 additions & 4 deletions l1-contracts/src.ts/deploy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -734,7 +734,7 @@ export class Deployer {
compareDiamondCutHash: boolean = false,
nonce?,
predefinedChainId?: string,
useGovernance: boolean = false,
useGovernance: boolean = false
) {
const gasLimit = 10_000_000;

Expand Down Expand Up @@ -871,9 +871,7 @@ export class Deployer {

const receipt = await (await hyperchain.allowEvmEmulation()).wait();
if (this.verbose) {
console.log(
`EVM emulation allowed, gas used: ${receipt.gasUsed.toString()}`
);
console.log(`EVM emulation allowed, gas used: ${receipt.gasUsed.toString()}`);
}
}

Expand Down

0 comments on commit 6442846

Please sign in to comment.