Skip to content

Commit

Permalink
unused logs
Browse files Browse the repository at this point in the history
  • Loading branch information
drortirosh committed Feb 20, 2024
1 parent a89c031 commit e44e6bf
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
1 change: 0 additions & 1 deletion deploy/1_deploy_entrypoint.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ const deployEntryPoint: DeployFunction = async function (hre: HardhatRuntimeEnvi
const provider = ethers.provider
const from = await provider.getSigner().getAddress()

console.log('from=', from, 'bal=', await provider.getBalance(from))
const ret = await hre.deployments.deploy(
'EntryPoint', {
from,
Expand Down
3 changes: 1 addition & 2 deletions gascalc/GasChecker.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// calculate gas usage of different bundle sizes
import '../test/aa.init'
import { defaultAbiCoder, formatEther, hexConcat, parseEther } from 'ethers/lib/utils'
import { defaultAbiCoder, hexConcat, parseEther } from 'ethers/lib/utils'
import {
AddressZero,
checkForGeth,
Expand Down Expand Up @@ -321,7 +321,6 @@ export class GasCheckCollector {

const bal = await getBalance(ethersSigner.getAddress())
if (bal.gt(parseEther('100000000'))) {
console.log('bal=', formatEther(bal))
console.log('DONT use geth miner.. use account 2 instead')
await checkForGeth()
ethersSigner = ethers.provider.getSigner(2)
Expand Down
2 changes: 1 addition & 1 deletion hardhat.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ process.env.SALT = process.env.SALT ?? SALT
task('deploy', 'Deploy contracts')
.addFlag('simpleAccountFactory', 'deploy sample factory (by default, enabled only on localhost)')

const mnemonicFileName = process.env.MNEMONIC_FILE
const mnemonicFileName = process.env.MNEMONIC_FILE!
let mnemonic = 'test '.repeat(11) + 'junk'
if (fs.existsSync(mnemonicFileName)) { mnemonic = fs.readFileSync(mnemonicFileName, 'ascii') }

Expand Down

0 comments on commit e44e6bf

Please sign in to comment.