EIP-712 domain separator missing chainId
Liquity V1 + V2 (LUSD / BOLD)'s assessment for RD-F-020 — scored green on the v1.7.0 rubric. The evidence below is the curator's reasoning for this score.
Evidence summary #
v1 LUSDToken EIP-712 domain separator includes chainId via _CACHED_CHAIN_ID + _buildDomainSeparator(). v2 BOLD uses OZ ERC20Permit which includes chainId in domain separator by design. Both versions are cross-chain replay protected.
Sources #
- GitHubLiquity v2 BoldToken.sol sourcev2 BoldToken uses OZ ERC20Permit (chainId in domain separator)retrieved 2026-05-16
- Liquity v1 LUSDToken.sol sourcev1 LUSDToken.sol _buildDomainSeparator includes _chainID()retrieved 2026-05-16
Methodology #
Determine whether the EIP-712 domain separator struct omits the `chainId` field, allowing cross-chain replay.
See the full factor methodology and distribution across all protocols →
rubric_version v1.7.0 protocol liquity factor RD-F-020 score green collected_at 2026-05-16 10:35:50