Formats an ERC1271 signature to send to an account. Note: this is not needed if using isValidSignature
from the ModuleKit.
AccountInstance
The instance of the account used for testing.
address
The address of the validator contract.
bytes
The signature to format for ERC1271 signature validation.
bytes
The formatted signature to use for ERC1271.