go-ethereum/signer
Conor Patrick 4da1e29320
signer/core/apitypes: fix encoding of opening parenthesis (#33702)
This fixes a truncation bug that results in an invalid serialization of
empty EIP712.

For example:

```json
{
    "method": "eth_signTypedData_v4",
    "request": {
        "types": {
            "EIP712Domain": [
                {
                    "name": "version",
                    "type": "string"
                }
            ],
            "Empty": []
        },
        "primaryType": "Empty",
        "domain": {
            "version": "0"
        },
        "message": {}
    }
}
``` 

When calculating the type-hash for the stuct-hash, it will incorrectly
use `Empty)` instead of `Empty()`
2026-04-13 15:30:36 +02:00
..
core signer/core/apitypes: fix encoding of opening parenthesis (#33702) 2026-04-13 15:30:36 +02:00
fourbyte all: use big.Sign to compare with zero (#29490) 2024-04-09 12:14:30 +02:00
rules signer: run tests in parallel (#28536) 2023-11-20 08:20:59 +01:00
storage log: use native log/slog instead of golang/exp (#29302) 2024-03-22 13:17:59 +01:00