#8653·hardhat

Upgrade micro-eth-signer to v0.20

Author: schaableCreated Sep 29, 2026Updated Sep 29, 2026
Labelsstatus:needs-priority

micro-eth-signer v0.20 was removed from the Renovate PR #8645 because it breaks eth_signTypedData_v4 for local accounts (HTTP networks with accounts: [...]). It now gets its own Renovate PR. We need to work out what's required before we can take it.

Known issues so far:

  • The EIP-712 encoder has new hard-coded limits (4,096 values per message, 1,024 schema fields, 256 types, depth 64) and requires field names to be identifiers. Typed data that EDR and v0.19 sign now throws, e.g. a Seaport bulk listing of 91+ NFTs, or a field named issued-at.
  • addr.addChecksum no longer accepts allowEmpty, which breaks contract creation. We can drop the addChecksum calls, since lowercase addresses give the same signed bytes.
  • Minor and patch releases can include breaking changes (v0.20.1 renamed setWholeAmount).

This will be handled internally by the Hardhat team and is not a good candidate for an external PR.