aligned_layer icon indicating copy to clipboard operation
aligned_layer copied to clipboard

fix: Batcher sends proof even if eip712 signature contents are incompatible DoS

Open uri-99 opened this issue 1 year ago • 0 comments

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.

uri-99 avatar Sep 18 '24 14:09 uri-99