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

feat: add default hook, now only support msg.sender == entrypoint as default #110

Merged
merged 2 commits into from
May 2, 2024
Merged
Changes from 1 commit
Commits
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
fmt
leekt committed May 2, 2024
commit 1bfa2c1ea387d53966bc39bf57ffc49571c1d341
5 changes: 3 additions & 2 deletions src/sdk/KernelTestBase.sol
Original file line number Diff line number Diff line change
@@ -189,8 +189,9 @@ abstract contract KernelTestBase is Test {
)
);

bytes32 digest =
keccak256(abi.encodePacked("\x19\x01", _buildDomainSeparator("Kernel", "0.3.1-beta", address(kernel)), hash));
bytes32 digest = keccak256(
abi.encodePacked("\x19\x01", _buildDomainSeparator("Kernel", "0.3.1-beta", address(kernel)), hash)
);

return digest;
}