Skip to content

Commit

Permalink
Fix yarn zktest
Browse files Browse the repository at this point in the history
  • Loading branch information
wshino committed Sep 10, 2024
1 parent 32c15f7 commit 8a4d55a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
3 changes: 1 addition & 2 deletions packages/contracts/src/EmailAccountRecoveryZKSync.sol
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,7 @@ abstract contract EmailAccountRecoveryZKSync is EmailAccountRecovery {
// The bytecodeHash is hardcoded here because type(ERC1967Proxy).creationCode doesn't work on eraVM currently
// If you failed some test cases, check the bytecodeHash by yourself
// see, test/ComputeCreate2Address.t.sol
bytes32 public constant proxyBytecodeHash = 0x0100008338d33e12c716a5b695c6f7f4e526cf162a9378c0713eea5386c09951;

bytes32 public constant proxyBytecodeHash = 0x010000835b32e9a15f4b6353ad649fa33f4fbe4f5139126c07205e738b9f758e;
/// @notice Returns the address of the zkSyncfactory contract.
/// @dev This function is virtual and can be overridden by inheriting contracts.
/// @return address The address of the zkSync factory contract.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ contract EmailAccountRecoveryZKSyncTest_handleAcceptance is StructHelper {
);

vm.startPrank(someRelayer);
vm.expectRevert(bytes("invalid subject params"));
vm.expectRevert(bytes("invalid command params"));
recoveryControllerZKSync.handleAcceptance(emailAuthMsg, templateIdx);
vm.stopPrank();
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -350,7 +350,7 @@ contract EmailAccountRecoveryZKSyncTest_handleRecovery is StructHelper {
);

vm.startPrank(someRelayer);
vm.expectRevert(bytes("invalid subject params"));
vm.expectRevert(bytes("invalid command params"));
recoveryControllerZKSync.handleRecovery(emailAuthMsg, templateIdx);
vm.stopPrank();
}
Expand Down

0 comments on commit 8a4d55a

Please sign in to comment.