From 69499d018076f56a0e07abdb63ca51ac0690702f Mon Sep 17 00:00:00 2001 From: Dror Tirosh Date: Wed, 29 Jan 2025 20:07:43 +0200 Subject: [PATCH] gaschecks, geth docker. --- reports/gas-checker.txt | 42 ++++++++++++++++++++--------------------- scripts/geth.sh | 2 ++ 2 files changed, 23 insertions(+), 21 deletions(-) create mode 100755 scripts/geth.sh diff --git a/reports/gas-checker.txt b/reports/gas-checker.txt index a745dc7d..c92b7b46 100644 --- a/reports/gas-checker.txt +++ b/reports/gas-checker.txt @@ -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" │ 29247 ║ +║ gas estimate "simple" │ 29259 ║ ╟──────────────────────────┼────────╢ ║ gas estimate "big tx 5k" │ 114702 ║ ╚══════════════════════════╧════════╝ @@ -12,44 +12,44 @@ ║ │ │ │ (delta for │ (compared to ║ ║ │ │ │ one UserOp) │ account.exec()) ║ ╟────────────────────────────────┼───────┼───────────────┼────────────────┼─────────────────────╢ -║ simple │ 1 │ 77779 │ │ ║ +║ simple │ 1 │ 77818 │ │ ║ ╟────────────────────────────────┼───────┼───────────────┼────────────────┼─────────────────────╢ -║ simple - diff from previous │ 2 │ │ 41951 │ 12704 ║ +║ simple - diff from previous │ 2 │ │ 41966 │ 12707 ║ ╟────────────────────────────────┼───────┼───────────────┼────────────────┼─────────────────────╢ -║ simple │ 10 │ 455462 │ │ ║ +║ simple │ 10 │ 455636 │ │ ║ ╟────────────────────────────────┼───────┼───────────────┼────────────────┼─────────────────────╢ -║ simple - diff from previous │ 11 │ │ 41976 │ 12729 ║ +║ simple - diff from previous │ 11 │ │ 42039 │ 12780 ║ ╟────────────────────────────────┼───────┼───────────────┼────────────────┼─────────────────────╢ -║ simple paymaster │ 1 │ 83634 │ │ ║ +║ simple paymaster │ 1 │ 83649 │ │ ║ ╟────────────────────────────────┼───────┼───────────────┼────────────────┼─────────────────────╢ -║ simple paymaster with diff │ 2 │ │ 40483 │ 11236 ║ +║ simple paymaster with diff │ 2 │ │ 40498 │ 11239 ║ ╟────────────────────────────────┼───────┼───────────────┼────────────────┼─────────────────────╢ -║ simple paymaster │ 10 │ 448196 │ │ ║ +║ simple paymaster │ 10 │ 448346 │ │ ║ ╟────────────────────────────────┼───────┼───────────────┼────────────────┼─────────────────────╢ -║ simple paymaster with diff │ 11 │ │ 40528 │ 11281 ║ +║ simple paymaster with diff │ 11 │ │ 40555 │ 11296 ║ ╟────────────────────────────────┼───────┼───────────────┼────────────────┼─────────────────────╢ -║ big tx 5k │ 1 │ 167526 │ │ ║ +║ big tx 5k │ 1 │ 167577 │ │ ║ ╟────────────────────────────────┼───────┼───────────────┼────────────────┼─────────────────────╢ -║ big tx - diff from previous │ 2 │ │ 131212 │ 16510 ║ +║ big tx - diff from previous │ 2 │ │ 131191 │ 16489 ║ ╟────────────────────────────────┼───────┼───────────────┼────────────────┼─────────────────────╢ -║ big tx 5k │ 10 │ 1348136 │ │ ║ +║ big tx 5k │ 10 │ 1348334 │ │ ║ ╟────────────────────────────────┼───────┼───────────────┼────────────────┼─────────────────────╢ -║ big tx - diff from previous │ 11 │ │ 131225 │ 16523 ║ +║ big tx - diff from previous │ 11 │ │ 131252 │ 16550 ║ ╟────────────────────────────────┼───────┼───────────────┼────────────────┼─────────────────────╢ -║ paymaster+postOp │ 1 │ 84811 │ │ ║ +║ paymaster+postOp │ 1 │ 84826 │ │ ║ ╟────────────────────────────────┼───────┼───────────────┼────────────────┼─────────────────────╢ -║ paymaster+postOp with diff │ 2 │ │ 41671 │ 12424 ║ +║ paymaster+postOp with diff │ 2 │ │ 41674 │ 12415 ║ ╟────────────────────────────────┼───────┼───────────────┼────────────────┼─────────────────────╢ -║ paymaster+postOp │ 10 │ 459971 │ │ ║ +║ paymaster+postOp │ 10 │ 460073 │ │ ║ ╟────────────────────────────────┼───────┼───────────────┼────────────────┼─────────────────────╢ -║ paymaster+postOp with diff │ 11 │ │ 41734 │ 12487 ║ +║ paymaster+postOp with diff │ 11 │ │ 41749 │ 12490 ║ ╟────────────────────────────────┼───────┼───────────────┼────────────────┼─────────────────────╢ -║ token paymaster │ 1 │ 121925 │ │ ║ +║ token paymaster │ 1 │ 121940 │ │ ║ ╟────────────────────────────────┼───────┼───────────────┼────────────────┼─────────────────────╢ -║ token paymaster with diff │ 2 │ │ 61483 │ 32236 ║ +║ token paymaster with diff │ 2 │ │ 61486 │ 32227 ║ ╟────────────────────────────────┼───────┼───────────────┼────────────────┼─────────────────────╢ -║ token paymaster │ 10 │ 675467 │ │ ║ +║ token paymaster │ 10 │ 675629 │ │ ║ ╟────────────────────────────────┼───────┼───────────────┼────────────────┼─────────────────────╢ -║ token paymaster with diff │ 11 │ │ 61565 │ 32318 ║ +║ token paymaster with diff │ 11 │ │ 61544 │ 32285 ║ ╚════════════════════════════════╧═══════╧═══════════════╧════════════════╧═════════════════════╝ diff --git a/scripts/geth.sh b/scripts/geth.sh new file mode 100755 index 00000000..28f76ebb --- /dev/null +++ b/scripts/geth.sh @@ -0,0 +1,2 @@ +#!/bin/sh +docker run --rm -ti -p 54321:54321 dtr22/geth-7702-23