From 67ab5d44a6e72e44790a7b3902aa72c0f7421c01 Mon Sep 17 00:00:00 2001 From: ross <92001561+z0r0z@users.noreply.github.com> Date: Wed, 27 Mar 2024 08:38:31 +0000 Subject: [PATCH] =?UTF-8?q?=E2=9E=95=20Update=20libs?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/accounts | 2 +- lib/forge-std | 2 +- lib/solady | 2 +- test/Dagon.t.sol | 38 +++++++++++++++++++------------------- 4 files changed, 22 insertions(+), 22 deletions(-) diff --git a/lib/accounts b/lib/accounts index fe683ca..485961b 160000 --- a/lib/accounts +++ b/lib/accounts @@ -1 +1 @@ -Subproject commit fe683ca076a7adc26436fe042219375b87b8ae9f +Subproject commit 485961b82d85978443ccbce7f93af4f2cad12381 diff --git a/lib/forge-std b/lib/forge-std index b6a506d..e4aef94 160000 --- a/lib/forge-std +++ b/lib/forge-std @@ -1 +1 @@ -Subproject commit b6a506db2262cad5ff982a87789ee6d1558ec861 +Subproject commit e4aef94c1768803a16fe19f7ce8b65defd027cfd diff --git a/lib/solady b/lib/solady index 84fa981..e4a14a5 160000 --- a/lib/solady +++ b/lib/solady @@ -1 +1 @@ -Subproject commit 84fa981dee84d8f02d8c91b694702f11f69edd06 +Subproject commit e4a14a5b365b353352f7c38e699a2bc9363d6576 diff --git a/test/Dagon.t.sol b/test/Dagon.t.sol index bf8dc12..0275f0d 100644 --- a/test/Dagon.t.sol +++ b/test/Dagon.t.sol @@ -388,7 +388,7 @@ contract DagonTest is Test { function testIsValidSignature() public { testInstall(); bytes32 userOpHash = keccak256("OWN"); - NaniAccount.UserOperation memory userOp; + NaniAccount.PackedUserOperation memory userOp; userOp.signature = abi.encodePacked(alice, _sign(alicePk, _toEthSignedMessageHash(userOpHash))); require(userOp.signature.length == 85, "INVALID_LEN"); @@ -402,7 +402,7 @@ contract DagonTest is Test { function testIsValidSignatureOnchain() public { testInstall(); bytes32 userOpHash = keccak256("OWN"); - NaniAccount.UserOperation memory userOp; + NaniAccount.PackedUserOperation memory userOp; userOp.signature = ""; require(userOp.signature.length == 0, "INVALID_LEN"); userOp.sender = address(account); @@ -420,7 +420,7 @@ contract DagonTest is Test { function testUserVoted() public { testInstall(); bytes32 userOpHash = keccak256("OWN"); - NaniAccount.UserOperation memory userOp; + NaniAccount.PackedUserOperation memory userOp; userOp.signature = ""; require(userOp.signature.length == 0, "INVALID_LEN"); userOp.sender = address(account); @@ -475,7 +475,7 @@ contract DagonTest is Test { abi.encodeWithSelector(account.completeOwnershipHandover.selector, address(dagon)) ); - NaniAccount.UserOperation memory userOp; + NaniAccount.PackedUserOperation memory userOp; bytes32 userOpHash = keccak256("OWN"); bytes32 signHash = _toEthSignedMessageHash(userOpHash); addrs = _sortAddresses(addrs); @@ -533,7 +533,7 @@ contract DagonTest is Test { abi.encodeWithSelector(account.completeOwnershipHandover.selector, address(dagon)) ); - NaniAccount.UserOperation memory userOp; + NaniAccount.PackedUserOperation memory userOp; bytes32 userOpHash = keccak256("OWN"); bytes32 signHash = _toEthSignedMessageHash(userOpHash); addrs = _sortAddresses(addrs); @@ -606,7 +606,7 @@ contract DagonTest is Test { abi.encodeWithSelector(account.completeOwnershipHandover.selector, address(dagon)) ); - NaniAccount.UserOperation memory userOp; + NaniAccount.PackedUserOperation memory userOp; bytes32 userOpHash = keccak256("OWN"); bytes32 signHash = _toEthSignedMessageHash(userOpHash); addrs = _sortAddresses(addrs); @@ -750,7 +750,7 @@ contract DagonTest is Test { ); // Prepare for the signature validation - NaniAccount.UserOperation memory userOp; + NaniAccount.PackedUserOperation memory userOp; bytes32 userOpHash = keccak256("OWN"); bytes32 signHash = _toEthSignedMessageHash(userOpHash); @@ -809,7 +809,7 @@ contract DagonTest is Test { abi.encodeWithSelector(account.completeOwnershipHandover.selector, address(dagon)) ); - NaniAccount.UserOperation memory userOp; + NaniAccount.PackedUserOperation memory userOp; bytes32 userOpHash = keccak256("OWN"); bytes32 signHash = _toEthSignedMessageHash(userOpHash); addrs = _sortAddresses(addrs); @@ -863,7 +863,7 @@ contract DagonTest is Test { abi.encodeWithSelector(account.completeOwnershipHandover.selector, address(dagon)) ); - NaniAccount.UserOperation memory userOp; + NaniAccount.PackedUserOperation memory userOp; bytes32 userOpHash = keccak256("OWN"); bytes32 signHash = _toEthSignedMessageHash(userOpHash); addrs = _sortAddresses(addrs); @@ -924,7 +924,7 @@ contract DagonTest is Test { abi.encodeWithSelector(account.completeOwnershipHandover.selector, address(dagon)) ); - NaniAccount.UserOperation memory userOp; + NaniAccount.PackedUserOperation memory userOp; bytes32 userOpHash = keccak256("OWN"); bytes32 signHash = _toEthSignedMessageHash(userOpHash); addrs = _sortAddresses(addrs); @@ -978,7 +978,7 @@ contract DagonTest is Test { abi.encodeWithSelector(account.completeOwnershipHandover.selector, address(dagon)) ); - NaniAccount.UserOperation memory userOp; + NaniAccount.PackedUserOperation memory userOp; bytes32 userOpHash = keccak256("OWN"); bytes32 signHash = _toEthSignedMessageHash(userOpHash); addrs = _sortAddresses(addrs); @@ -1039,7 +1039,7 @@ contract DagonTest is Test { abi.encodeWithSelector(account.completeOwnershipHandover.selector, address(dagon)) ); - NaniAccount.UserOperation memory userOp; + NaniAccount.PackedUserOperation memory userOp; bytes32 userOpHash = keccak256("OWN"); bytes32 signHash = _toEthSignedMessageHash(userOpHash); addrs = _sortAddresses(addrs); @@ -1090,7 +1090,7 @@ contract DagonTest is Test { abi.encodeWithSelector(account.completeOwnershipHandover.selector, address(dagon)) ); - NaniAccount.UserOperation memory userOp; + NaniAccount.PackedUserOperation memory userOp; bytes32 userOpHash = keccak256("OWN"); bytes32 signHash = _toEthSignedMessageHash(userOpHash); addrs = _sortAddresses(addrs); @@ -1146,7 +1146,7 @@ contract DagonTest is Test { abi.encodeWithSelector(account.completeOwnershipHandover.selector, address(dagon)) ); - NaniAccount.UserOperation memory userOp; + NaniAccount.PackedUserOperation memory userOp; bytes32 userOpHash = keccak256("OWN"); bytes32 signHash = _toEthSignedMessageHash(userOpHash); addrs = _sortAddresses(addrs); @@ -1200,7 +1200,7 @@ contract DagonTest is Test { abi.encodeWithSelector(account.completeOwnershipHandover.selector, address(dagon)) ); - NaniAccount.UserOperation memory userOp; + NaniAccount.PackedUserOperation memory userOp; bytes32 userOpHash = keccak256("OWN"); bytes32 signHash = _toEthSignedMessageHash(userOpHash); addrs = _sortAddresses(addrs); @@ -1259,7 +1259,7 @@ contract DagonTest is Test { abi.encodeWithSelector(account.completeOwnershipHandover.selector, address(dagon)) ); - NaniAccount.UserOperation memory userOp; + NaniAccount.PackedUserOperation memory userOp; bytes32 userOpHash = keccak256("OWN"); bytes32 signHash = _toEthSignedMessageHash(userOpHash); addrs = _sortAddresses(addrs); @@ -1313,7 +1313,7 @@ contract DagonTest is Test { abi.encodeWithSelector(account.completeOwnershipHandover.selector, address(dagon)) ); - NaniAccount.UserOperation memory userOp; + NaniAccount.PackedUserOperation memory userOp; bytes32 userOpHash = keccak256("OWN"); bytes32 signHash = _toEthSignedMessageHash(userOpHash); addrs = _sortAddresses(addrs); @@ -1374,7 +1374,7 @@ contract DagonTest is Test { abi.encodeWithSelector(account.completeOwnershipHandover.selector, address(dagon)) ); - NaniAccount.UserOperation memory userOp; + NaniAccount.PackedUserOperation memory userOp; bytes32 userOpHash = keccak256("OWN"); addrs = _sortAddresses(addrs); userOp.signature = abi.encodePacked(""); @@ -1426,7 +1426,7 @@ contract DagonTest is Test { abi.encodeWithSelector(account.completeOwnershipHandover.selector, address(dagon)) ); - NaniAccount.UserOperation memory userOp; + NaniAccount.PackedUserOperation memory userOp; bytes32 userOpHash = keccak256("OWN"); bytes32 signHash = _toEthSignedMessageHash(userOpHash); userOp.signature = abi.encodePacked(