Carson Roscoe
|
c4750db6d3
|
feat: added contracts/evm for exact evm permit2 update (#1009)
* feat: evm contracts for exact evm permit2 support
* feat: refactor permit2 proxy passing from constructor to initializer
* feat: validate EIP-2612 permit value matches Permit2 permitted amount
* feat: gate initialize() to original deployer to prevent frontrunning
* feat: add permit2 to submodule
* fix: reject zero-amount settlements to prevent no-op nonce consumption
* fix: remove extra field from Witness struct to eliminate unbounded calldata gas griefing
* refactor: rename _settle() amount parameter to settlementAmount for clarity
* fix: emit EIP2612PermitFailed event on permit failure for observability
* refactor: rename PERMIT2 state variable to permit2 per Solidity naming conventions
* fix: add facilitator to Witness struct to prevent settlement frontrunning and amount griefing
* fix: remove tx.origin from constructor to support multisig deployment
* fix: formatting
* fix: use granular try/catch for EIP-2612 permit failure observability
* fix: replace unguarded initialize() with constructor to prevent cross-chain deployment griefing
* fix: rename permit2 to PERMIT2
* feat: remined salt & redeploy to base-sepolia
* feat: updated exact evm spec
* fix: reverted gitignore change (to avoid rebase, ensure commit hashes match audit report)
* feat: added contract audit report
* chore: renamed audit report file
|
2026-02-20 10:42:15 -05:00 |
|