Skip to content

Commit f374692

Browse files
authored
feat: ERC-7821 executeBatches (wevm#3293)
feat: erc7821 `executeBatch`
1 parent 4bf7810 commit f374692

File tree

17 files changed

+1210
-52
lines changed

17 files changed

+1210
-52
lines changed

.changeset/soft-ears-smash.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"viem": patch
3+
---
4+
5+
Added ERC-7821 `executeBatches` for "batch of batches" execution mode.

.gitmodules

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,6 @@
1313
[submodule "contracts/lib/openzeppelin"]
1414
path = contracts/lib/openzeppelin
1515
url = [email protected]:OpenZeppelin/openzeppelin-contracts.git
16+
[submodule "contracts/lib/solady-6c2d0da"]
17+
path = contracts/lib/solady-6c2d0da
18+
url = https://github.com/Vectorized/solady

contracts/foundry.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ remappings = [
55
"account-abstraction/=lib/account-abstraction/contracts/",
66
"solady/=lib/solady/src/",
77
"solady-dc09481/=lib/solady-dc09481/src/",
8+
"solady-6c2d0da/=lib/solady-6c2d0da/src/",
89
]
910
src = "src"
1011
out = "out"

contracts/lib/solady

Submodule solady updated 96 files

contracts/lib/solady-6c2d0da

Submodule solady-6c2d0da added at 6c2d0da

contracts/src/accounts/SoladyAccountFactory_07.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// SPDX-License-Identifier: Unlicense
22
pragma solidity ^0.8.13;
33

4-
import {ERC4337Factory} from "solady/accounts/ERC4337Factory.sol";
4+
import {ERC4337Factory} from "solady-6c2d0da/accounts/ERC4337Factory.sol";
55

66
contract SoladyAccountFactory07 is ERC4337Factory {
77
constructor(address erc4337) ERC4337Factory(erc4337) {}

contracts/src/accounts/SoladyAccount_07.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// SPDX-License-Identifier: Unlicense
22
pragma solidity ^0.8.13;
33

4-
import {ERC4337} from "solady/accounts/ERC4337.sol";
4+
import {ERC4337} from "solady-6c2d0da/accounts/ERC4337.sol";
55

66
contract SoladyAccount07 is ERC4337 {
77
function _domainNameAndVersion()

0 commit comments

Comments
 (0)