Skip to content

Commit 5f8e8f4

Browse files
authored
V2.1 (#25)
* v4.0.0-beta.10 * updator draft * removed temp kernel * create account 142873 * added validCaller * forge fmt * small touch on comments * validCaller changed * test for external call * renamed modifier * removed callcode test * forge fmt * added snapshot * custom errors * using gas() for prepay * removed unused copy * payable for gas optimization * using solady for optimization * forge fmt * cache storage for optimization * admin less erc 1967 optimization * unchecked blocks * validator to payable * using constant for gas optimization * removed return * via-ir for optimization * change in order of ecdsa validator to lower the gas cost * squeezing gas * more squeezing * removed exec * kernel helper in yul * more optimization * updated aa dependency * V2.1 optimize (#20) * factory merged with erc1967 minimal factory * Kernel Storage to abstract the initData setting * only one factory to decrease deployment gas * test cleanup to properly structure the test * removing killswitch test too * KernelLite PoC * files for setting a proper gas report * using memory directly to reduce gas * changed order for validator to reduce gas cost * optimize only * remove kernel lite gas report * internal functions for erc1967factory * change kernel sig order for validUntil and validAfter (#21) * forge fmt * fix: parsing typo and mode(1) * V2.1 session key (#22) * session Key debug done * foundry viaIr setting enabled * forge fmt * V2.1 stake factory (#23) * gas optimization by using memory for validateUserOp * optimization with calldata parsing * stake for factory * stake factory * report * fmt * removed unused file * session key now filters the operation * fix: using proper bytes for parsing operation * script for deploying kernel/kernel factory for v2.1 * script for deploying session key * deployed to all testnet * kilswitch (#24)
1 parent bc921a7 commit 5f8e8f4

File tree

113 files changed

+7865
-1650
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

113 files changed

+7865
-1650
lines changed

.gas-snapshot

Lines changed: 19 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,19 @@
1-
AccountFactoryTest:testAccountFactory(uint256) (runs: 256, μ: 130276, ~: 130276)
2-
KernelTest:testKernel() (gas: 190)
1+
KernelExecutionTest:test_mode_2() (gas: 593614)
2+
KernelExecutionTest:test_mode_2() (gas: 611256)
3+
KernelExecutionTest:test_mode_2_1() (gas: 589400)
4+
KernelExecutionTest:test_mode_2_erc165() (gas: 2485466)
5+
KernelExecutionTest:test_revert_when_mode_disabled() (gas: 192767)
6+
KernelExecutionTest:test_sudo() (gas: 216219)
7+
KernelHelperTest:testIntersect(uint48,uint48,uint48,uint48) (runs: 256, μ: 2379, ~: 2383)
8+
KernelTest:test_disable_mode() (gas: 170757)
9+
KernelTest:test_disable_mode() (gas: 172824)
10+
KernelTest:test_external_call_default() (gas: 28844)
11+
KernelTest:test_external_call_execution() (gas: 520197)
12+
KernelTest:test_initialize_twice() (gas: 20515)
13+
KernelTest:test_initialize_twice() (gas: 20537)
14+
KernelTest:test_set_default_validator() (gas: 427634)
15+
KernelTest:test_set_default_validator() (gas: 429679)
16+
KernelTest:test_set_execution() (gas: 477930)
17+
KernelTest:test_set_execution() (gas: 479975)
18+
KernelTest:test_validate_signature() (gas: 171911)
19+
KernelTest:test_validate_signature() (gas: 175529)

broadcast/DeployKernel.s.sol/10200/run-1691520802.json

Lines changed: 102 additions & 0 deletions
Large diffs are not rendered by default.

broadcast/DeployKernel.s.sol/10200/run-1691520809.json

Lines changed: 193 additions & 0 deletions
Large diffs are not rendered by default.

broadcast/DeployKernel.s.sol/10200/run-latest.json

Lines changed: 193 additions & 0 deletions
Large diffs are not rendered by default.

broadcast/DeployKernel.s.sol/420/run-1691518086.json

Lines changed: 102 additions & 0 deletions
Large diffs are not rendered by default.

broadcast/DeployKernel.s.sol/420/run-1691518093.json

Lines changed: 193 additions & 0 deletions
Large diffs are not rendered by default.

broadcast/DeployKernel.s.sol/420/run-latest.json

Lines changed: 193 additions & 0 deletions
Large diffs are not rendered by default.

broadcast/DeployKernel.s.sol/421613/run-1691518329.json

Lines changed: 97 additions & 0 deletions
Large diffs are not rendered by default.

broadcast/DeployKernel.s.sol/421613/run-1691518368.json

Lines changed: 97 additions & 0 deletions
Large diffs are not rendered by default.

broadcast/DeployKernel.s.sol/421613/run-1691518391.json

Lines changed: 93 additions & 0 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)