Skip to content

Commit

Permalink
Update Solady and remove return results from execute
Browse files Browse the repository at this point in the history
  • Loading branch information
Vectorized committed Dec 9, 2024
1 parent 58de4af commit 08246b8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 8 deletions.
2 changes: 1 addition & 1 deletion lib/solady
9 changes: 2 additions & 7 deletions src/MessageHubV1.sol
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,7 @@ contract MessageHubPodV1 is ERC7821 {
/*-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»*/

/// @dev For ERC7821.
function _execute(bytes32, bytes calldata, Call[] calldata calls, bytes calldata)
internal
virtual
override
returns (bytes[] memory)
{
function _execute(bytes32, bytes calldata, Call[] calldata calls, bytes calldata) internal virtual override {
bytes memory args = LibClone.argsOnClone(address(this), 0x00, 0x34);
assembly ("memory-safe") {
let requiredCaller := shr(96, mload(add(args, 0x40))) // `mothership`.
Expand All @@ -45,7 +40,7 @@ contract MessageHubPodV1 is ERC7821 {
}
mstore(0x40, m) // Restore the free memory pointer.
}
return _execute(calls, bytes32(0));
_execute(calls, bytes32(0));
}
}

Expand Down

0 comments on commit 08246b8

Please sign in to comment.