You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
chore: pin OZ confidential to v0.4.0 and simplify test helpers (#3)
Address review feedback:
- Pin @openzeppelin-confidential-contracts to tagged release v0.4.0
instead of commit hash 6edd293. Add explicit @openzeppelin/contracts(-upgradeable)/
remappings, since v0.4.0 ships a lib/ folder with alias stubs that
otherwise hijack forge's auto-remap fallback used by forge-fhevm.
- Replace hardcoded ALICE_PK constant with forge-std's makeAccount("alice")
helper, which returns an Account { addr, key } and labels the address.
- Add a userDecryptAs(pk, handle, contract) helper that combines
signUserDecrypt and userDecrypt into a single call site.
0 commit comments