Skip to content

Commit

Permalink
Remove Memory utils
Browse files Browse the repository at this point in the history
  • Loading branch information
ernestognw committed Sep 19, 2024
1 parent d816744 commit aa4a7f7
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 25 deletions.
3 changes: 0 additions & 3 deletions contracts/account/utils/ERC4337Utils.sol
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ pragma solidity ^0.8.20;

import {IEntryPoint, PackedUserOperation} from "../../interfaces/IERC4337.sol";
import {Math} from "../../utils/math/Math.sol";
// import {Memory} from "../../utils/Memory.sol";
import {Packing} from "../../utils/Packing.sol";

library ERC4337Utils {
Expand Down Expand Up @@ -77,7 +76,6 @@ library ERC4337Utils {
address entrypoint,
uint256 chainid
) internal pure returns (bytes32) {
// Memory.FreePtr ptr = Memory.save();
bytes32 result = keccak256(
abi.encode(
keccak256(
Expand All @@ -96,7 +94,6 @@ library ERC4337Utils {
chainid
)
);
// Memory.load(ptr);
return result;
}

Expand Down
22 changes: 0 additions & 22 deletions contracts/utils/Memory.sol

This file was deleted.

0 comments on commit aa4a7f7

Please sign in to comment.