-
Notifications
You must be signed in to change notification settings - Fork 19
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
encodeHash() not changing the hash to EIP 191 formart #6
Comments
Where/why are we advised to do such? |
In Testnet Zksync demo lesson of account abstraction. Here is the full code snippet of the validateTransaction function
You've even commented out bytes32 convertedHash on the repository. Your reasoning was that MessageTransactionHelper.sol handles the conversion to EIP 191 format as below.
But this doesn't work so I had to use
|
Are you using foundry or foundry-zksync? Can you share with me the command you're using to run this test? |
foundry-zkysync I guess
I've also noted something odd noticed something odd. The test now reverts and only works when I've commented out the increment nonce part of ZkMinimalAccount.sol. I'm sure it wasn't like this before. Please help
|
In Testnet Zksync demo of account abstraction, we are advised to forgo the line below on the validateTransaction function.
When I do this the magic returns false as shown below
The text was updated successfully, but these errors were encountered: