Skip to content

Commit

Permalink
fix comment
Browse files Browse the repository at this point in the history
  • Loading branch information
drortirosh committed Feb 16, 2025
1 parent de69b3b commit d4a2802
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 17 deletions.
4 changes: 2 additions & 2 deletions contracts/core/Eip7702Support.sol
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ import "../core/UserOperationLib.sol";

library Eip7702Support {

// EIP-7702 code prefix. Also, we use this prefix as a marker in the initCode. To specify this account is EIP-7702.
// EIP-7702 code prefix before delegate address.
bytes3 internal constant EIP7702_PREFIX = 0xef0100;

// EIP-7702 initCode marker. To specify this account is EIP-7702.
// EIP-7702 initCode marker, to specify this account is EIP-7702.
bytes2 internal constant INITCODE_EIP7702_MARKER = 0x7702;

using UserOperationLib for PackedUserOperation;
Expand Down
30 changes: 15 additions & 15 deletions reports/gas-checker.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
╔══════════════════════════╤════════╗
║ gas estimate "simple" │ 29259 ║
╟──────────────────────────┼────────╢
║ gas estimate "big tx 5k" │ 114690
║ gas estimate "big tx 5k" │ 114702
╚══════════════════════════╧════════╝

╔════════════════════════════════╤═══════╤═══════════════╤════════════════╤═════════════════════╗
Expand All @@ -14,34 +14,34 @@
╟────────────────────────────────┼───────┼───────────────┼────────────────┼─────────────────────╢
║ simple │ 1 │ 77802 │ │ ║
╟────────────────────────────────┼───────┼───────────────┼────────────────┼─────────────────────╢
║ simple - diff from previous │ 2 │ │ 4195012691
║ simple - diff from previous │ 2 │ │ 4190212643
╟────────────────────────────────┼───────┼───────────────┼────────────────┼─────────────────────╢
║ simple │ 10 │ 455500 │ │ ║
║ simple │ 10 │ 455476 │ │ ║
╟────────────────────────────────┼───────┼───────────────┼────────────────┼─────────────────────╢
║ simple - diff from previous │ 11 │ │ 4202312764
║ simple - diff from previous │ 11 │ │ 4199912740
╟────────────────────────────────┼───────┼───────────────┼────────────────┼─────────────────────╢
║ simple paymaster │ 1 │ 83617 │ │ ║
║ simple paymaster │ 1 │ 83629 │ │ ║
╟────────────────────────────────┼───────┼───────────────┼────────────────┼─────────────────────╢
║ simple paymaster with diff │ 2 │ │ 4046611207
║ simple paymaster with diff │ 2 │ │ 4051411255
╟────────────────────────────────┼───────┼───────────────┼────────────────┼─────────────────────╢
║ simple paymaster │ 10 │ 448206 │ │ ║
║ simple paymaster │ 10 │ 448242 │ │ ║
╟────────────────────────────────┼───────┼───────────────┼────────────────┼─────────────────────╢
║ simple paymaster with diff │ 11 │ │ 4054711288
║ simple paymaster with diff │ 11 │ │ 4053511276
╟────────────────────────────────┼───────┼───────────────┼────────────────┼─────────────────────╢
║ big tx 5k │ 1 │ 167537 │ │ ║
║ big tx 5k │ 1 │ 167561 │ │ ║
╟────────────────────────────────┼───────┼───────────────┼────────────────┼─────────────────────╢
║ big tx - diff from previous │ 2 │ │ 131175 │ 16485
║ big tx - diff from previous │ 2 │ │ 131175 │ 16473
╟────────────────────────────────┼───────┼───────────────┼────────────────┼─────────────────────╢
║ big tx 5k │ 10 │ 1348138 │ │ ║
║ big tx 5k │ 10 │ 1348174 │ │ ║
╟────────────────────────────────┼───────┼───────────────┼────────────────┼─────────────────────╢
║ big tx - diff from previous │ 11 │ │ 131176 │ 16486 ║
║ big tx - diff from previous │ 11 │ │ 131188 │ 16486 ║
╟────────────────────────────────┼───────┼───────────────┼────────────────┼─────────────────────╢
║ paymaster+postOp │ 1 │ 84984 │ │ ║
║ paymaster+postOp │ 1 │ 84936 │ │ ║
╟────────────────────────────────┼───────┼───────────────┼────────────────┼─────────────────────╢
║ paymaster+postOp with diff │ 2 │ │ 41844 │ 12585 ║
╟────────────────────────────────┼───────┼───────────────┼────────────────┼─────────────────────╢
║ paymaster+postOp │ 10 │ 461653 │ │ ║
║ paymaster+postOp │ 10 │ 461641 │ │ ║
╟────────────────────────────────┼───────┼───────────────┼────────────────┼─────────────────────╢
║ paymaster+postOp with diff │ 11 │ │ 4190712648
║ paymaster+postOp with diff │ 11 │ │ 4188312624
╚════════════════════════════════╧═══════╧═══════════════╧════════════════╧═════════════════════╝

0 comments on commit d4a2802

Please sign in to comment.