Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dev #54

Closed
wants to merge 330 commits into from
Closed

Dev #54

Changes from 1 commit
Commits
Show all changes
330 commits
Select commit Hold shift + click to select a range
08c565c
Add constants for module types and invalid module type
Aboudjem Mar 13, 2024
de1c567
Add events for module installation and uninstallation
Aboudjem Mar 13, 2024
a063139
Add MockExecutor to TestModuleManager_InstallModule
Aboudjem Mar 13, 2024
3f49a9f
Refactor test_InstallModule_Success() method in TestModuleManager_Ins…
Aboudjem Mar 13, 2024
ed3f1db
Add test cases for installing validator and executor modules
Aboudjem Mar 13, 2024
b270e32
Refactor module installation test case
Aboudjem Mar 13, 2024
bcbb79c
Add test case for invalid module address in InstallModule function
Aboudjem Mar 13, 2024
adecb27
Add private function _installModule() to TestModuleManager_InstallMod…
Aboudjem Mar 13, 2024
96f7a44
Refactor module installation tests
Aboudjem Mar 13, 2024
4f6c4f8
Fix validation and uninstall module bugs
Aboudjem Mar 13, 2024
53e168b
Add MockExecutor contract
Aboudjem Mar 13, 2024
c2e014d
Add revertOperation function to Counter.sol
Aboudjem Mar 14, 2024
7922df0
Add TestAccountExecution_ExecuteFromExecutor unit test
Aboudjem Mar 14, 2024
09abfbb
Add test for single execution via MockExecutor
Aboudjem Mar 14, 2024
07c801a
Add test for batch execution via MockExecutor
Aboudjem Mar 14, 2024
987d8ab
Add test for unauthorized executor in TestAccountExecution_ExecuteFro…
Aboudjem Mar 14, 2024
e23091b
Add test for value transfer via executor
Aboudjem Mar 14, 2024
b265097
Add test cases for executing an empty batch and batch execution with …
Aboudjem Mar 14, 2024
fbc8bb4
lint fix
Aboudjem Mar 14, 2024
81ea8ec
Add test_() function to ignore file in coverage report
Aboudjem Mar 14, 2024
8ee9486
refactor module manager tests
livingrockrises Mar 14, 2024
7df48ae
fix/uninstall module test
livingrockrises Mar 14, 2024
e742221
refactor
livingrockrises Mar 14, 2024
99d3492
Co-authored-by: Adam Boudj <[email protected]>
livingrockrises Mar 14, 2024
75e4215
Merge branch 'feat/module-testing' into feat/executefromexecutor-testing
livingrockrises Mar 14, 2024
936c079
Merge pull request #29 from bcnmy/feat/executefromexecutor-testing
livingrockrises Mar 14, 2024
0a924b2
zero address checks + module types checks + added tests
livingrockrises Mar 14, 2024
41f936e
typo fix, arrange imports
Mar 15, 2024
58c1723
arrange imports
Mar 15, 2024
656e48d
Merge pull request #28 from bcnmy/feat/module-testing
livingrockrises Mar 15, 2024
12efd4f
init cleanup in account.sol and natspec + dev notes
livingrockrises Mar 15, 2024
0cbe146
🖼️ refactor setup wallet
Aboudjem Mar 18, 2024
ceb4c24
🎨 refactor + delete old tests
Aboudjem Mar 18, 2024
70a1740
🎨 prettier
Aboudjem Mar 18, 2024
2a4e7f7
refactor helpers
Aboudjem Mar 18, 2024
de78e97
🎨 refactor testing with new functions
Aboudjem Mar 18, 2024
39d3539
🎨 rename and moved files
Aboudjem Mar 18, 2024
92c7492
🎨 improve structure
Aboudjem Mar 18, 2024
fe8cdc0
Merge pull request #30 from bcnmy/refactor/cleanup
livingrockrises Mar 18, 2024
55d152f
Merge branch 'feat/phase-1-implementations' into feat/refactoring-test
Aboudjem Mar 18, 2024
24a9ed7
implementation of deposit methods, upgrade, erc1271, hook manager, fa…
livingrockrises Mar 18, 2024
ff80377
resolve conflicts and lint
livingrockrises Mar 18, 2024
71e1141
solhint fix
livingrockrises Mar 18, 2024
687be27
Merge branch 'feat/phase-1-implementations' into feat/refactoring-test
livingrockrises Mar 18, 2024
fccc38f
refactor
livingrockrises Mar 18, 2024
469d4d4
lint fixes
livingrockrises Mar 18, 2024
d3abe6a
Merge pull request #31 from bcnmy/feat/refactoring-test
livingrockrises Mar 18, 2024
cb52d7a
Merge branch 'feat/phase-1-implementations' into feat/phase-2-impleme…
livingrockrises Mar 18, 2024
6ceeeb0
lint fixes
livingrockrises Mar 18, 2024
4766f8d
refactor
livingrockrises Mar 19, 2024
99288c1
chore: organise tests
livingrockrises Mar 19, 2024
1dc78f7
🖼️ add private functions for clarity
Aboudjem Mar 19, 2024
d42bddc
Refactor execute function to handle single and batch transactions
Aboudjem Mar 19, 2024
c5a6f19
Add encodeTrySingle and encodeTryBatch on ModeLib
Aboudjem Mar 19, 2024
a51aa52
Refactor prepareExecutionUserOp and prepareBatchExecutionUserOp to ha…
Aboudjem Mar 19, 2024
5156b95
Update execution type in test files
Aboudjem Mar 19, 2024
41f77e1
further organise and leave dev notes
livingrockrises Mar 20, 2024
69f41b7
lint
livingrockrises Mar 20, 2024
ea070c7
basic deploy script + update hardhat config
livingrockrises Mar 20, 2024
c8249cf
Add receive function to SmartAccountTestLab.t.sol
Aboudjem Mar 20, 2024
90f97d5
Update dummy test comment to avoid coverage on file
Aboudjem Mar 20, 2024
3871027
Remove TestAccountExecution_Execute.t.sol
Aboudjem Mar 20, 2024
c4ccf5f
Add unit tests for batch execution
Aboudjem Mar 20, 2024
65a0003
Remove receive() function from TestAccountExecution_ExecuteFromExecut…
Aboudjem Mar 20, 2024
6fce76e
Add unit tests for single execution in TestAccountExecution_ExecuteSi…
Aboudjem Mar 20, 2024
40ae4ae
Add TestAccountExecution_TryExecuteBatch.t.sol
Aboudjem Mar 20, 2024
e2227d8
Add unit tests for TryExecuteSingle functionality
Aboudjem Mar 20, 2024
9d76f7f
Remove unused receive function
Aboudjem Mar 20, 2024
c57943f
Add TestAccountExecution_Base contract
Aboudjem Mar 20, 2024
c431b1b
Refactor handleOps method in TestModuleManager_UninstallModule.t.sol
Aboudjem Mar 20, 2024
0636f59
Merge branch 'feat/phase-3-implementation' of https://github.com/bcnm…
Aboudjem Mar 20, 2024
4043f9d
Add EventsAndErrors import to SmartAccountTestLab.t.sol
Aboudjem Mar 20, 2024
6c62b2b
Add MockExecutor module to Helpers.sol
Aboudjem Mar 20, 2024
6f755b5
Add EventsAndErrors contract with events and errors
Aboudjem Mar 20, 2024
2b0b4f2
Add TestModuleManagement_Base.t.sol for module management testing
Aboudjem Mar 20, 2024
eaa11fb
Refactor setUp function in TestAccountExecution_Base.t.sol
Aboudjem Mar 20, 2024
df435a6
Refactor module installation tests
Aboudjem Mar 20, 2024
51d30d4
Refactor TestModuleManager_UninstallModule
Aboudjem Mar 20, 2024
b21d85c
Refactor test setup method
Aboudjem Mar 20, 2024
6652b83
Add bytesEqual function to Helpers.sol
Aboudjem Mar 20, 2024
0dfc95e
Merge branch 'feat/phase-2-implementations' into feat/phase-3-impleme…
Aboudjem Mar 20, 2024
2c7a813
Fix EXECTYPE_DEFAULT in TestModuleManager_InstallModule.t.sol
Aboudjem Mar 20, 2024
0fd09e3
respond to PR comments
livingrockrises Mar 20, 2024
1e47d37
respond to PR comments
livingrockrises Mar 20, 2024
1850e4a
imports
livingrockrises Mar 20, 2024
ff756d8
Merge pull request #34 from bcnmy/feat/refactor-hardhat-tests
livingrockrises Mar 20, 2024
1ba1b08
Merge branch 'feat/phase-2-implementations' into feat/phase-3-impleme…
livingrockrises Mar 20, 2024
8ad81a2
Merge pull request #35 from bcnmy/feat/phase-3-implementation
livingrockrises Mar 20, 2024
5d8977d
Merge pull request #32 from bcnmy/feat/phase-2-implementations
livingrockrises Mar 20, 2024
a8feff0
fix rename R1 to K1
livingrockrises Mar 20, 2024
0b9ef62
Merge pull request #36 from bcnmy/fix/rename-validator
livingrockrises Mar 20, 2024
ead0a72
Feat/fix hh test (#37)
Aboudjem Mar 21, 2024
f9d6cc5
refactor
livingrockrises Mar 22, 2024
551d50b
feat: added hardhat test for executor module
GabiDev45 Mar 26, 2024
8fd48cd
feat: added more execution tests
GabiDev45 Mar 27, 2024
0cd1c04
feat: execution tests + module install & uninstall tests + helpers
GabiDev45 Mar 27, 2024
35f8d70
Feat/sma 731 foundry test (#38)
Aboudjem Mar 28, 2024
254875e
Add test case for executing with zero address
Aboudjem Apr 1, 2024
ce62cf0
Fix TryExecuteBatch handling of multiple failures
Aboudjem Apr 1, 2024
6eebaff
Add test cases for installing and reinstalling hook module
Aboudjem Apr 1, 2024
5bbc568
Add TryExecuteUnsuccessful event
Aboudjem Apr 1, 2024
2691f94
Change visibility of external function to public
Aboudjem Apr 1, 2024
8db69d9
fix build
livingrockrises Apr 1, 2024
d8f212d
Merge branch 'feat/phase-1-implementations' into feat/SMA-731-foundry…
Aboudjem Apr 1, 2024
cf350ab
Merge branch 'feat/phase-1-implementations' into feat/phase-1-hardhat…
livingrockrises Apr 1, 2024
b72b59f
refactor: removed comments and useless counter check
GabiDev45 Apr 1, 2024
efeb0a7
Merge pull request #39 from bcnmy/feat/phase-1-hardhat-tests
livingrockrises Apr 3, 2024
d4988e8
Refactor fallback function in ModuleManager.sol
Aboudjem Apr 3, 2024
b8fc610
Update getActiveFallbackHandler to getFallbackHandlerBySelector
Aboudjem Apr 3, 2024
24a20bc
Refactor fallback handler functions in ModuleManager.sol
Aboudjem Apr 3, 2024
c33e769
Add ModeLib and update fallback handler installation and uninstallation
Aboudjem Apr 3, 2024
2769f3e
Fix fallback handler installation bug
Aboudjem Apr 3, 2024
e905d5c
Add error message for missing fallback handler
Aboudjem Apr 3, 2024
2195293
Add fallback handler mapping to IStorage interface
Aboudjem Apr 3, 2024
4cbfe41
Add CALLTYPE_STATIC constant
Aboudjem Apr 3, 2024
68b4fc9
Add TestFallbackHandler_ERC721 contract for handling ERC721 transfers
Aboudjem Apr 3, 2024
51583ae
Refactor MockHandler.sol: Remove unused imports and implement event
Aboudjem Apr 3, 2024
8c5be17
Add event logging in MockHook
Aboudjem Apr 3, 2024
7fc34e7
Fix customData encoding in TestModuleManager_InstallModule
Aboudjem Apr 3, 2024
724a142
Add MockHook and MockHandler modules
Aboudjem Apr 3, 2024
a20bea2
Add new mock contracts for testing
Aboudjem Apr 3, 2024
3a17485
Add new events to EventsAndErrors.sol
Aboudjem Apr 3, 2024
eab7cc9
Add mint and safeMint functions for testing purposes
Aboudjem Apr 3, 2024
0a0414f
Add customData parameter to isModuleInstalled and uninstallModule
Aboudjem Apr 3, 2024
d7dfded
Update lint:sol-fix script in package.json
Aboudjem Apr 3, 2024
6324d2d
Add TestHookModule for installing and uninstalling the hook module
Aboudjem Apr 3, 2024
8732058
Refactor _uninstallFallbackHandler function to use more descriptive v…
Aboudjem Apr 3, 2024
9641f0f
update intermediate npmignore
livingrockrises Apr 3, 2024
a09d3a9
Merge branch 'feat/phase-1-implementations' into feat/SMA-731-foundry…
livingrockrises Apr 3, 2024
865d90b
Update contracts/base/ModuleManager.sol
Aboudjem Apr 4, 2024
9463082
Merge branch 'feat/phase-1-implementations' into feat/SMA-731-foundry…
Aboudjem Apr 4, 2024
9d3a125
Add withHook modifier to module installation
Aboudjem Apr 4, 2024
5238e95
Add check for compatible hook module
Aboudjem Apr 4, 2024
b28fd39
Remove redundant code in ModuleManager.sol
Aboudjem Apr 4, 2024
49e09b0
Remove unnecessary code for fallback handler check
Aboudjem Apr 4, 2024
899fe30
Fix FallbackHandler uninstall failure
Aboudjem Apr 4, 2024
5e1b42f
Remove unnecessary code in ModuleManager.sol
Aboudjem Apr 4, 2024
d320343
Add MODULE_TYPE_HOOK constant to IERC7579Modules.sol
Aboudjem Apr 4, 2024
8f277e0
Add new error for incompatible hook module and fallback handler unins…
Aboudjem Apr 4, 2024
5a7e4f2
remove todo
Aboudjem Apr 4, 2024
d4d21d4
Add test functions to ignore files in coverage report
Aboudjem Apr 4, 2024
ebe7674
Add MaliciousMockHandler and MaliciousMockHook
Aboudjem Apr 4, 2024
e5c9e92
Add NFT test function and TriggerFallback contract
Aboudjem Apr 4, 2024
1feae0f
Add malicious mock handler and hook
Aboudjem Apr 4, 2024
936a3e7
Remove unused functions and add test function
Aboudjem Apr 4, 2024
6146748
Update EventsAndErrors.sol: Added new event GenericFallbackCalled
Aboudjem Apr 4, 2024
a19fcf8
Update constants and add new ones
Aboudjem Apr 4, 2024
0cdd5b7
Fix bug in login functionality
Aboudjem Apr 4, 2024
bc18074
Refactor MockHandler contract
Aboudjem Apr 4, 2024
f13db5d
Add event calls in onInstall and onUninstall functions
Aboudjem Apr 4, 2024
bfee6dd
Refactor TestHookModule: Remove unnecessary inheritance and add new t…
Aboudjem Apr 4, 2024
a4a9670
Update customData in test_InstallFallbackHandler_WithCustomData and t…
Aboudjem Apr 4, 2024
6cd3d72
Fix module installation and uninstallation tests
Aboudjem Apr 4, 2024
5a8672d
Refactor code to improve readability
Aboudjem Apr 5, 2024
7f18577
Refactor getFallbackHandlerBySelector to return CallType and address
Aboudjem Apr 5, 2024
8f95dc0
Remove commented out code in MockHook.sol
Aboudjem Apr 5, 2024
71614c3
Refactor TestHookModule to TestModuleManager_HookModule
Aboudjem Apr 5, 2024
e430bdc
Remove commented code and update test_UninstallModule_Try_Success
Aboudjem Apr 5, 2024
c7b7c2c
Refactored TestModuleManager_UninstallModule.t.sol to include a new t…
Aboudjem Apr 5, 2024
eacf14f
fix test
livingrockrises Apr 5, 2024
f2af3c4
Update getActiveHook address in test_GetFallbackHandlerBySelector fun…
Aboudjem Apr 5, 2024
5cbe71b
replace Alice by Bob on tests
Aboudjem Apr 5, 2024
60faff4
Fix formatting
Aboudjem Apr 5, 2024
8a1cd6b
solhint lint
livingrockrises Apr 5, 2024
68433d1
Merge branch 'feat/phase-1-implementations' into feat/SMA-731-foundry…
livingrockrises Apr 5, 2024
00c445f
feat: added more execution tests for batch and single
GabiDev45 Apr 6, 2024
b24092e
Fix FallbackHandlerAlreadyInstalled exception message
Aboudjem Apr 6, 2024
d526982
Refactor fallback handler methods to use more descriptive parameter n…
Aboudjem Apr 6, 2024
445ef22
Update error message for FallbackHandlerAlreadyInstalled
Aboudjem Apr 6, 2024
f04f24e
Add todo to remove coverage ignore comments
Aboudjem Apr 6, 2024
b7a1c57
Delete MaliciousMockHandler.sol
Aboudjem Apr 6, 2024
0debcf9
Delete MaliciousMockHook.sol
Aboudjem Apr 6, 2024
2ddf828
Add BadMockHandler.sol
Aboudjem Apr 6, 2024
e7bdf39
Add BadMockHook.sol for testing module hooks
Aboudjem Apr 6, 2024
9b8a21d
Remove unused code and add comments to test function
Aboudjem Apr 6, 2024
a395876
add todo to remove test for ignoring coverage
Aboudjem Apr 6, 2024
119e192
Fix FallbackHandlerAlreadyInstalled signature in TestModuleManager_Fa…
Aboudjem Apr 6, 2024
53e5b21
Refactor test_GetFallbackHandlerBySelector function in TestModuleMana…
Aboudjem Apr 6, 2024
a3175c3
Update fallback handler instantiation in test cases
Aboudjem Apr 6, 2024
3defa96
Update hook module instantiation in test_InstallHookModule_ExpectHook…
Aboudjem Apr 6, 2024
49988f9
Update FallbackHandlerAlreadyInstalled error message
Aboudjem Apr 6, 2024
253eab3
Updated imports for BadMockHandler and BadMockHook
Aboudjem Apr 6, 2024
f8e1e94
Merge pull request #41 from bcnmy/feat/SMA-731-foundry-test-continue
livingrockrises Apr 6, 2024
9bf3bf3
build fixes
livingrockrises Apr 7, 2024
9e94e53
chore: adjust paths
livingrockrises Apr 7, 2024
fa75c25
feat: hook-changes
livingrockrises Apr 8, 2024
89105bc
refactor prefunding account
Apr 8, 2024
db87e17
chore: preserve authorship info
livingrockrises Apr 8, 2024
4f80268
feat: added k1Validator, module manager, factory, batch execution tes…
GabiDev45 Apr 8, 2024
564b6e5
refactor: rename ModeCode
livingrockrises Apr 8, 2024
3875733
refactor: shuffle and check calltype single first
livingrockrises Apr 8, 2024
b0e9d60
feat: add hooking in execute method
livingrockrises Apr 8, 2024
1dac288
constructor + update modifier
livingrockrises Apr 9, 2024
36fea65
addDeposit tests refactor
Apr 9, 2024
b9b2ec3
rename var
Apr 9, 2024
2f0e005
refactor getDeposit Tests
Apr 9, 2024
3152422
fix nonce tests
Apr 9, 2024
ba6fead
remove duplicate tests
Apr 9, 2024
5823706
remove comments
Apr 9, 2024
e9a89de
Update contracts/base/AccountConfig.sol
livingrockrises Apr 9, 2024
93932bb
address PR comments
livingrockrises Apr 9, 2024
37f937c
Merge branch 'feat/remediations-minor-updates' of https://github.com/…
livingrockrises Apr 9, 2024
ad2f538
fix incorrect init data
Apr 9, 2024
1c1f52d
Merge pull request #46 from bcnmy/feat/remediations-minor-updates
filmakarov Apr 9, 2024
6d4a821
fallback install manager: revoke delegate call
livingrockrises Apr 9, 2024
b1973f4
Merge branch 'feat/phase-1-implementations' of https://github.com/bcn…
livingrockrises Apr 9, 2024
1b92dcb
factory tests
Apr 9, 2024
230edec
rename var
Apr 9, 2024
28c4ee7
refactor execution tests
Apr 9, 2024
37df215
Update test/foundry/utils/Helpers.sol
livingrockrises Apr 9, 2024
1d8643a
Merge branch 'feat/phase-1-implementations' into feat/phase-2-hardhat…
livingrockrises Apr 9, 2024
56ad552
added more tests
GabiDev45 Apr 10, 2024
d912a9e
Merge branch 'feat/phase-2-hardhat-tests' of https://github.com/bcnmy…
GabiDev45 Apr 10, 2024
5faae8e
hardhat tests fixes (in progress)
GabiDev45 Apr 10, 2024
90df96a
added Executions type and test fix
GabiDev45 Apr 10, 2024
f502ef6
fix: use onlyEntryPoint for executeUserOp
livingrockrises Apr 10, 2024
f426e9c
initial proposal - wip
livingrockrises Apr 11, 2024
e8b18eb
fixed more tests
GabiDev45 Apr 11, 2024
1082e83
refactor, utility methods and tests
GabiDev45 Apr 12, 2024
cc415e7
dev notes
livingrockrises Apr 15, 2024
b2e9e9a
added more tests and utility function (in progress)
GabiDev45 Apr 15, 2024
6d79934
added some comments and fixed & added tests
GabiDev45 Apr 16, 2024
80661e8
Merge branch 'feat/phase-1-implementations' into feat/SMA-773-Review-…
livingrockrises Apr 19, 2024
1830bd8
lint
livingrockrises Apr 19, 2024
f4c6ca8
Merge pull request #47 from bcnmy/feat/SMA-773-Review-tests
livingrockrises Apr 19, 2024
b8dd7ca
Merge branch 'feat/phase-1-implementations' into refactor/code-structure
livingrockrises Apr 19, 2024
74f1e3c
Merge branch 'refactor/code-structure' of https://github.com/bcnmy/er…
GabiDev45 Apr 19, 2024
6f1ab74
add dep
livingrockrises Apr 19, 2024
e4cc317
fix initcode and userop sender in a test
livingrockrises Apr 22, 2024
7c22ad6
exclude/comment isValidSignature tests
livingrockrises Apr 22, 2024
71e19da
refactor for based on PR review
GabiDev45 Apr 22, 2024
8a7e904
Merge branch 'feat/phase-2-hardhat-tests' of https://github.com/bcnmy…
GabiDev45 Apr 22, 2024
58a5703
respond to PR comments
livingrockrises Apr 22, 2024
ec55a8f
Merge branch 'feat/phase-2-hardhat-tests' of https://github.com/bcnmy…
livingrockrises Apr 22, 2024
69e5320
Merge pull request #43 from bcnmy/feat/phase-2-hardhat-tests
livingrockrises Apr 22, 2024
c029bf3
minor reshuffle
livingrockrises Apr 22, 2024
d830e94
rename:no correlation with interface
livingrockrises Apr 22, 2024
7581419
remove what is not useful and not in ERC
livingrockrises Apr 22, 2024
d748915
update IModule interface
livingrockrises Apr 22, 2024
35413be
update as per interface changes
livingrockrises Apr 22, 2024
fc6102d
make function pure
livingrockrises Apr 22, 2024
f00b0b7
rename execBatch to more readable
livingrockrises Apr 22, 2024
ee50261
refactor
livingrockrises Apr 22, 2024
f6bd4b1
Merge pull request #50 from bcnmy/refactor/code-structure
livingrockrises Apr 22, 2024
52d4e14
Merge pull request #20 from bcnmy/feat/phase-1-implementations
livingrockrises Apr 22, 2024
4fedd7d
refactor: keep only IERC7579Modules
livingrockrises Apr 22, 2024
46b9713
remove abstract from BaseAccount contract
Aboudjem Apr 23, 2024
ed1d642
rename data to signature
livingrockrises Apr 23, 2024
d775a4d
Merge branch 'dev' of https://github.com/bcnmy/erc7579-modular-smart-…
Aboudjem Apr 26, 2024
66c4408
✨ Add Foundry Gas Differences workflow (#53)
Aboudjem Apr 26, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
lint fix
Aboudjem committed Mar 14, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
commit fbc8bb44c73b1ecdb2e2b4765a7ea8aea8fc77de
Original file line number Diff line number Diff line change
@@ -68,6 +68,7 @@ contract TestAccountExecution_ExecuteFromExecutor is Test, BicoTestBase {
bytes[] memory results = mockExecutor.execBatch(BOB_ACCOUNT, executions);
assertEq(counter.getNumber(), 3, "Counter should have incremented three times");
}

// Test execution from an unauthorized executor
function test_ExecSingleFromExecutor_Unauthorized() public {
MockExecutor unauthorizedExecutor = new MockExecutor();