Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
51 commits
Select commit Hold shift + click to select a range
e2a6d60
commented out session key owned validator for temporary usage
leekt Oct 3, 2023
399c2d8
Feat/add benchmark (#36)
leekt Sep 18, 2023
5922b9f
test refactor
leekt Aug 20, 2023
d6a42d6
Kernel lite draft
leekt Aug 22, 2023
fc648c8
test for kernel lite ecdsa
leekt Aug 22, 2023
8d576d8
gas report
leekt Aug 22, 2023
c87cdb7
removed bytes
leekt Aug 22, 2023
51b0cb3
fixed test
leekt Sep 18, 2023
344b236
small gas optimize trick
leekt Sep 18, 2023
d75e31a
execute batch
leekt Sep 18, 2023
a89007a
kernel lite has execute batch too
leekt Sep 18, 2023
2aeef6f
removed delegate call
leekt Sep 18, 2023
ecc1e51
bumped version of kernel to 0.2.2 in test
leekt Sep 18, 2023
3f9d21d
revert on setDefaultValidator in kernel lite
leekt Sep 18, 2023
5b17caa
updated libraries
leekt Sep 27, 2023
da0121d
updated tag for entrypoint
leekt Sep 27, 2023
615419d
sessionkey for batching
leekt Sep 27, 2023
b2d3c9c
sessionkey batch call tested
leekt Sep 28, 2023
a942082
readme updated for addresses
leekt Sep 28, 2023
7dbe409
fix: userOpHash verification for unlimited permission
leekt Oct 3, 2023
7a06229
temp : passes with no-validation, parsing was successful for multiple
leekt Oct 4, 2023
37de570
test passing
leekt Oct 4, 2023
0c6263b
added interval validation
leekt Oct 4, 2023
28123e1
forge fmt
leekt Oct 5, 2023
8b532c0
chore: remove mock files from coverage
leekt Oct 5, 2023
6fde729
moved to mock folder for test artifacts
leekt Oct 5, 2023
5fbda1a
added session key invalidator
leekt Oct 5, 2023
110f2d1
refactoring IKernel
leekt Oct 5, 2023
ab8d1b6
increasing test case coverage
leekt Oct 5, 2023
a9e200f
removed aa-benchmark for now
leekt Oct 5, 2023
20f51b4
removed fallback to default option for 0x00000001
leekt Oct 6, 2023
0c3c699
Removed dependencies
leekt Oct 6, 2023
65cc91f
removed remappings
leekt Oct 6, 2023
b4a908e
test for invalid signatures
leekt Oct 6, 2023
2d3f7fa
removed multiowned validator
leekt Oct 6, 2023
d0d6400
added forge test for validator
leekt Oct 8, 2023
bf15c9b
renamed the test function
leekt Oct 8, 2023
8c30182
forge fmt
leekt Oct 10, 2023
fa100e9
using custom error for validator
leekt Oct 10, 2023
1e4eed2
updated session key to invalidate nonce and nonce is incremental
leekt Oct 10, 2023
c153457
kernel lite to operate as a validator to mitigate wallet bricked situ…
leekt Oct 11, 2023
5a82454
todo: sessionkey test cases
leekt Oct 11, 2023
1820619
sessionkey test passing
leekt Oct 11, 2023
21ee0c2
Merkle renamed
leekt Oct 11, 2023
df0f7c0
changed kernel to support selfcall for executor
leekt Oct 12, 2023
03536e9
test for delegatecall
leekt Oct 16, 2023
d5c5af3
sessionkey test added for validAfter, interval invariants
leekt Oct 16, 2023
acf5ff7
removed broadcast
leekt Oct 21, 2023
3358214
ignoring broadcast
leekt Oct 21, 2023
bba4b35
updated readme for deployed addresses
leekt Oct 26, 2023
e1104e2
updated address for via-ir enabled versions
leekt Oct 26, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
4 changes: 2 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ types/

# Ignores development broadcast logs
!/broadcast
/broadcast/*/31337/
/broadcast/**/dry-run/
/broadcast/*
/broadcast/*

# Docs
docs/
Expand Down
12 changes: 3 additions & 9 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -1,15 +1,9 @@
[submodule "lib/account-abstraction"]
path = lib/account-abstraction
url = https://github.com/eth-infinitism/account-abstraction
branch = 556f03fadcaba0d7d04cd901e6eb9601db50a998
[submodule "lib/forge-std"]
path = lib/forge-std
url = https://github.com/foundry-rs/forge-std
branch = v1.5.2
[submodule "lib/openzeppelin-contracts"]
path = lib/openzeppelin-contracts
url = https://github.com/OpenZeppelin/openzeppelin-contracts
branch = v4.8.2
[submodule "lib/solady"]
path = lib/solady
url = https://github.com/vectorized/solady
[submodule "lib/I4337"]
path = lib/I4337
url = https://github.com/leekt/I4337
33 changes: 33 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,36 @@ forge test
## License

MIT

## Addresses

<details>
<summary>v2.2</summary>

| Name | Address |
| -------------------- | ------------------------------------------ |
| Kernel | 0x0DA6a956B9488eD4dd761E59f52FDc6c8068E6B5 |
| KernelLite | 0xbEdb61Be086F3f15eE911Cc9AB3EEa945DEbFa96 |
</details>

<details>
<summary>v2.1</summary>

| Name | Address |
| -------------------- | ------------------------------------------ |
| Kernel | 0xf048AD83CB2dfd6037A43902a2A5Be04e53cd2Eb |
| KernelFactory | 0x5de4839a76cf55d0c90e2061ef4386d962E15ae3 |
| ECDSA Validator | 0xd9AB5096a832b9ce79914329DAEE236f8Eea0390 |
</details>

<details>
<summary>v2.0</summary>

| Name | Address |
| --------------- | ------------------------------------------ |
| Kernel | 0xeB8206E02f6AB1884cfEa58CC7BabdA7d55aC957 |
| TempKernel | 0x727A10897e70cd3Ab1a6e43d59A12ab0895A4995 |
| KernelFactory | 0x12358cA00141D09cB90253F05a1DD16bE93A8EE6 |
| ECDSA Validator | 0x180D6465F921C7E0DEA0040107D342c87455fFF5 |
| ECDSA Factory | 0xAf299A1f51560F51A1F3ADC0a5991Ac74b61b0BE |
</details>
34 changes: 0 additions & 34 deletions broadcast/DeployECDSAValidator.s.sol/1/run-1692154943.json

This file was deleted.

49 changes: 0 additions & 49 deletions broadcast/DeployECDSAValidator.s.sol/1/run-1692154962.json

This file was deleted.

49 changes: 0 additions & 49 deletions broadcast/DeployECDSAValidator.s.sol/1/run-latest.json

This file was deleted.

34 changes: 0 additions & 34 deletions broadcast/DeployECDSAValidator.s.sol/10/run-1692128913.json

This file was deleted.

Loading