EIP-712 domain separator missing chainId
Dolomite's assessment for RD-F-020 — scored yellow on the v1.7.0 rubric. The evidence below is the curator's reasoning for this score.
Evidence summary #
DolomiteMargin core does not use EIP-712 for primary operations. Some EIP-712/signature patterns exist in module and governance contracts. The per-chain deployment pattern inherently limits cross-chain replay at the core layer. Cannot confirm chainId inclusion in all periphery signature contexts without full source inspection of all module contracts. Yellow: likely non-issue for core but cannot fully confirm periphery.
Sources #
- GitHubDolomite Margin Modulesdolomite-margin-modules: 18 packages with various periphery contracts; chainId EIP-712 status not confirmedretrieved 2026-05-16
- DolomiteMargin.solDolomiteMargin.sol: no EIP-712 domain separator in core accounting layer (constructor-based, no signatures for primary operations)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 →