Skip to content

Kernel v2.1

Compare
Choose a tag to compare
@derekchiang derekchiang released this 09 Aug 15:21
· 22 commits to main since this release
5f8e8f4
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)