aligned_layer
aligned_layer copied to clipboard
fix: Batcher sends proof even if eip712 signature contents are incompatible DoS
EIP712 signature has content such as chainId and contract address. If this information is not appropriate (i.e. chainId is mainnet, but sent on Holesky), even if the signature is appropriate, BatcherPaymentsService will reject it, as it should.
The problem is, Batcher will accept this information, and send it to BatcherPaymentsService, resulting in a reverted tx. The Batcher should not accept this proof to avoid the whole batch being dropped.