Skip to content

Commit

Permalink
lints
Browse files Browse the repository at this point in the history
  • Loading branch information
drortirosh committed Aug 28, 2023
1 parent 28e0fe7 commit f43a535
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 15 deletions.
26 changes: 13 additions & 13 deletions reports/gas-checker.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
the destination is "account.entryPoint()", which is known to be "hot" address used by this account
it little higher than EOA call: its an exec from entrypoint (or account owner) into account contract, verifying msg.sender and exec to target)
╔══════════════════════════╤════════╗
║ gas estimate "simple" │ 29002
║ gas estimate "simple" │ 28990
╟──────────────────────────┼────────╢
║ gas estimate "big tx 5k" │ 125260 ║
╚══════════════════════════╧════════╝
Expand All @@ -12,28 +12,28 @@
║ │ │ │ (delta for │ (compared to ║
║ │ │ │ one UserOp) │ account.exec()) ║
╟────────────────────────────────┼───────┼───────────────┼────────────────┼─────────────────────╢
║ simple │ 1 │ 81886 │ │ ║
║ simple │ 1 │ 81954 │ │ ║
╟────────────────────────────────┼───────┼───────────────┼────────────────┼─────────────────────╢
║ simple - diff from previous │ 2 │ │ 4418915187
║ simple - diff from previous │ 2 │ │ 4417515185
╟────────────────────────────────┼───────┼───────────────┼────────────────┼─────────────────────╢
║ simple │ 10 │ 479680 │ │ ║
║ simple │ 10 │ 480006 │ │ ║
╟────────────────────────────────┼───────┼───────────────┼────────────────┼─────────────────────╢
║ simple - diff from previous │ 11 │ │ 4426115259
║ simple - diff from previous │ 11 │ │ 4425915269
╟────────────────────────────────┼───────┼───────────────┼────────────────┼─────────────────────╢
║ simple paymaster │ 1 │ 88181 │ │ ║
║ simple paymaster │ 1 │ 88237 │ │ ║
╟────────────────────────────────┼───────┼───────────────┼────────────────┼─────────────────────╢
║ simple paymaster with diff │ 2 │ │ 4317814176
║ simple paymaster with diff │ 2 │ │ 4320014210
╟────────────────────────────────┼───────┼───────────────┼────────────────┼─────────────────────╢
║ simple paymaster │ 10 │ 476964 │ │ ║
║ simple paymaster │ 10 │ 477158 │ │ ║
╟────────────────────────────────┼───────┼───────────────┼────────────────┼─────────────────────╢
║ simple paymaster with diff │ 11 │ │ 4318914187
║ simple paymaster with diff │ 11 │ │ 4327114281
╟────────────────────────────────┼───────┼───────────────┼────────────────┼─────────────────────╢
║ big tx 5k │ 1 │ 182967 │ │ ║
║ big tx 5k │ 1 │ 183011 │ │ ║
╟────────────────────────────────┼───────┼───────────────┼────────────────┼─────────────────────╢
║ big tx - diff from previous │ 2 │ │ 14470019440
║ big tx - diff from previous │ 2 │ │ 14472219462
╟────────────────────────────────┼───────┼───────────────┼────────────────┼─────────────────────╢
║ big tx 5k │ 10 │ 1485396 │ │ ║
║ big tx 5k │ 10 │ 1485614 │ │ ║
╟────────────────────────────────┼───────┼───────────────┼────────────────┼─────────────────────╢
║ big tx - diff from previous │ 11 │ │ 14472519465
║ big tx - diff from previous │ 11 │ │ 14473519475
╚════════════════════════════════╧═══════╧═══════════════╧════════════════╧═════════════════════╝

3 changes: 1 addition & 2 deletions test/UserOp.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,9 @@ import {
} from '../typechain'
import { UserOperation } from './UserOperation'
import { Create2Factory } from '../src/Create2Factory'
import { TransactionRequest, BlockTag } from '@ethersproject/abstract-provider'
import { TransactionRequest } from '@ethersproject/abstract-provider'

import EntryPointSimulationsJson from '../artifacts/contracts/core/EntryPointSimulations.sol/EntryPointSimulations.json'
import EntryPointJson from '../artifacts/contracts/core/EntryPoint.sol/EntryPoint.json'
import { ethers } from 'hardhat'
import { IEntryPointSimulations } from '../typechain/contracts/core/EntryPointSimulations'

Expand Down

0 comments on commit f43a535

Please sign in to comment.