review and dev notes + fixing some tests + implementations later #109
Annotations
4 errors
tests/account.write.test.ts > account.write > install a mock Hook module:
src/bundler/Bundler.ts#L129
Error: Error from Bundler: User operation reverted during simulation with reason: 0x
❯ Bundler.estimateUserOpGas src/bundler/Bundler.ts:129:13
❯ NexusSmartAccount.estimateUserOpGas src/account/NexusSmartAccount.ts:1147:7
❯ NexusSmartAccount.buildUserOp src/account/NexusSmartAccount.ts:1444:14
❯ NexusSmartAccount.sendTransaction src/account/NexusSmartAccount.ts:1330:20
❯ tests/account.write.test.ts:142:24
|
tests/account.write.test.ts > account.write > get active hook:
tests/account.write.test.ts#L159
AssertionError: expected '0x00000000000000000000000000000000000…' to be '0xAB9733982E5b98bdDc4f00314E8EA4911A9…' // Object.is equality
- Expected
+ Received
- 0xAB9733982E5b98bdDc4f00314E8EA4911A9D1BA5
+ 0x0000000000000000000000000000000000000000
❯ tests/account.write.test.ts:159:26
|
tests/account.write.test.ts > account.write > uninstall hook module:
src/account/NexusSmartAccount.ts#L2064
Error: Module is not installed
❯ NexusSmartAccount._uninstallModule src/account/NexusSmartAccount.ts:2064:11
❯ NexusSmartAccount.uninstallModule src/account/NexusSmartAccount.ts:1941:21
❯ tests/account.write.test.ts:171:25
|
unit-tests
Process completed with exit code 1.
|