Conversation
There was a problem hiding this comment.
Bug: Order TYPEHASH Mismatch After Struct Update
The Order_TYPEHASH constant was not updated to reflect the addition of AutoHarvestConfig to the OrderConfig struct. Despite OrderConfig_TYPEHASH being correctly updated, Order_TYPEHASH remains unchanged. As Order includes OrderConfig, this structural change invalidates the Order_TYPEHASH, causing EIP-712 signature verification failures due to a hash mismatch.
src/StructHash.sol#L409-L412
Lines 409 to 412 in a09136a
Comment bugbot run to trigger another review on this PR
Was this report helpful? Give feedback by reacting with 👍 or 👎
|
bugbot run |
🚨 Bugbot couldn't runBugbot is not enabled for your GitHub user on this team. Ask your team administrator to increase your team's hard limit for Bugbot seats or add you to the allowlist in the Cursor dashboard. |
No description provided.