As a workaround to depending on the authorising EOAs nonce, what if during AUTH
we instead allow users to specific another “management” key owned by the same user and depend on the nonce of this management key for AUTH validation?
Let’s say we modify the AUTH
message to the following:
keccak256(MAGIC || chainId || managementEoa || managementEoaNonce || invokerAddress || commit)
And the assumption is that the management EOA is owned by the same user, and is not used for doing general transactions and only to invalidate AUTH
if the user wishes to.
This allows the main authorising EOA to continue doing transactions without invalidating AUTH
, and still allow users to invalidate it by doing a transaction with the management EOA.