New chain contract for ERC-6492 validatior #2804
Unanswered
coffeexcoin
asked this question in
Idea / Feature Request
Replies: 1 comment 1 reply
-
|
Open to a PR! |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I would like to propose the addition of a new property:
chain.contracts.universalSignatureValidatorfor a canonical deployed signature validation contract.The current
validateHashpublic action uses a createless deploy of a signature validator which returns a value indicating if the signature is valid - this is useful for ERC-6492 validation of counterfactual smart wallets. One issue with the current implementation is that some chains (notably zk stack) do not support returning a value from a deployment the way the deployless validator works (zk stack has a canonical contract factory which only ever returns the contract address)My proposal is to add the
universalSignatureValidatorfor chains that do not support createless deploy and allow the chain to designate a deployed version of the UniversalSigValidator as the instance to be used. If theuniversalSignatureValidatorexists, the action will simply call that address as opposed to doing a createless deploy.Beta Was this translation helpful? Give feedback.
All reactions